| 1 | <h2>DESCRIPTION</h2> |
| 2 | |
| 3 | <em>r.semantic.label</em> allows assigning a semantic label information to a |
| 4 | single raster map or to a list of specified raster maps. Semantic |
| 5 | label can be defined by <b>semantic_label</b> option. Already assigned semantic |
| 6 | label can be removed from a specified raster map |
| 7 | by <b>operation=remove</b>. The module also allows printing detailed |
| 8 | semantic label information already assigned to a raster map |
| 9 | by <b>operation=print</b>. |
| 10 | |
| 11 | <p> |
| 12 | Either a single raster map or a list of raster maps can be given |
| 13 | by <b>map</b> option. |
| 14 | |
| 15 | <h2>NOTES</h2> |
| 16 | |
| 17 | Note that <i>only raster maps from the current mapsets</i> can be modified. |
| 18 | |
| 19 | <p> |
| 20 | For more information about semantic label concept and supported sensors |
| 21 | (generic multispectral system, Landsat-5, Landsat-7, Landsat-8, Sentinel-2) |
| 22 | see the <em><a href="i.band.library.html">i.band.library</a></em> module. |
| 23 | |
| 24 | <p> |
| 25 | Semantic labels are supported by temporal GRASS modules. Name of |
| 26 | STRDS can be extended by band identifier in order to filter the result |
| 27 | by a semantic label. See |
| 28 | <em><a href="t.register.html#support-for-semantic-labels">t.register</a></em>, |
| 29 | <em><a href="t.rast.list.html#filtering-the-result-by-semantic-label">t.rast.list</a></em>, |
| 30 | <em><a href="t.info.html#space-time-dataset-with-semantic-labels-assigned">t.info</a></em> |
| 31 | and <em><a href="t.rast.mapcalc.html#semantic-label-filtering">t.rast.mapcalc</a></em> |
| 32 | modules for examples. |
| 33 | |
| 34 | <h2>EXAMPLES</h2> |
| 35 | |
| 36 | <h3>Assign semantic label to a single raster map</h3> |
| 37 | |
| 38 | <div class="code"><pre> |
| 39 | r.semantic.label map=T33UVR_20180506T100031_B01 semantic_label=S2_1 |
| 40 | </pre></div> |
| 41 | |
| 42 | <h3>Assign semantic label to a list of raster maps</h3> |
| 43 | |
| 44 | <div class="code"><pre> |
| 45 | r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180521T100029_B01 semantic_label=S2_1,S2_1 |
| 46 | </pre></div> |
| 47 | |
| 48 | <h3>Assign different semantic labels to a list of raster maps</h3> |
| 49 | |
| 50 | <div class="code"><pre> |
| 51 | r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 semantic_label=S2_1,S2_2 |
| 52 | </pre></div> |
| 53 | |
| 54 | <h3>Remove semantic label from a list of raster maps</h3> |
| 55 | |
| 56 | <div class="code"><pre> |
| 57 | r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 operation=remove |
| 58 | </pre></div> |
| 59 | |
| 60 | <h3>Print semantic label information about single raster map</h3> |
| 61 | |
| 62 | <div class="code"><pre> |
| 63 | r.semantic.label map=T33UVR_20180506T100031_B01 operation=print |
| 64 | </pre></div> |
| 65 | |
| 66 | <h3>Print extended semantic label information for a list of raster map</h3> |
| 67 | |
| 68 | <div class="code"><pre> |
| 69 | r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 operation=print |
| 70 | </pre></div> |
| 71 | |
| 72 | <h2>KNOWN ISSUES</h2> |
| 73 | |
| 74 | <em>r.semantic.label</em> allows managing semantic labels only related to 2D |
| 75 | raster maps. |
| 76 | |
| 77 | <h2>SEE ALSO</h2> |
| 78 | |
| 79 | <em> |
| 80 | <a href="i.band.library.html">i.band.library</a>, |
| 81 | <a href="r.info.html">r.info</a>, |
| 82 | <a href="r.support.html">r.support</a> |
| 83 | </em> |
| 84 | |
| 85 | <h2>AUTHORS</h2> |
| 86 | |
| 87 | Martin Landa<br> |
| 88 | Development sponsored by <a href="https://www.mundialis.de/en">mundialis |
| 89 | GmbH & Co. KG</a> (for the <a href="https://openeo.org">openEO</a> |
| 90 | EU H2020 grant 776242) |