The Raster to polygons operation can be directly executed by typing the following expression on the command line of the Main window:
OUTMAP |
= |
PolygonMapFromRas(InputRasterMapName) |
OUTMAP |
= |
PolygonMapFromRas(InputRasterMapName, 8|4) |
OUTMAP |
= |
PolygonMapFromRas(InputRasterMapName, 8|4, smooth|nosmooth) |
where:
OUTMAP |
is the name of your output polygon map. |
PolygonMapFromRas |
is the command to start the Raster to Polygons operation. |
InputRasterMapName |
is the name of your input raster map. |
8|4 |
is an optional parameter to indicate whether to construct 8-connected 4-connected areas (either 8 or 4) from which polygons should be extracted; when this parameter is not specified, 8-connected areas will be used. |
smooth|nosmooth |
is an optional parameter to indicate whether the boundaries of the output polygons should be smoothed or not (type either smooth or nosmooth); when this parameter is not specified, boundaries will be smoothed. |
When the definition symbol = is used, a dependent output map is created; when the assignment symbol := is used, the dependency link is immediately broken after the output map has been calculated.
See also: