Raster to Vector
Feature Description
Performs vectorization processing on raster data, converting raster datasets into point, line, or region datasets.
Open the "Terrain" datasource in the "ExerciseData/RasterAnalysis" folder, which contains DEM data with 100-meter resolution. We will use this data as an example.
Feature Entry
- Spatial Analysis Tab->Raster Analysis group->Vector-Raster Conversion->Raster to Vector.
- Toolbox->Raster Analysis->Vector-Raster Conversion->Raster to Vector.
Parameter Description
![]() |
Figure: Raster to Vector Result |
- Select the dataset to process in the "Source Dataset" section:
- Datasources: From the dropdown list on the right, select the datasource containing the raster dataset to be vectorized.
- Dataset: From the dropdown list on the right, select the raster dataset or image dataset to be vectorized.
- Configure result dataset settings in the "Result Data" area:
- Datasources: Select the target datasource for storing the vectorized result dataset.
- Dataset Type: Choose the output dataset type (point dataset, line dataset, or region dataset).
- Dataset Name: Specify a name for the result dataset.
- Parameters in the "Vector Line Settings" section only take effect when "Dataset Type" is set to "line dataset":
- Smooth Method: Applies to line dataset conversion. SuperMap provides two methods: "B-spline" and "Angle Grinding". For details, refer to the Smooth Method Documentation.
- Smoothness: Effective when smoothing is enabled. Higher values produce smoother lines. B-spline requires values ≥2, while angle grinding requires values ≥1.
- Thin Raster before Conversion: Enables raster thinning to reduce cell width of linear features before vectorization, improving accuracy. For details, see Raster Thinning.
- Parameters in the "Raster Settings" section only apply to raster datasets:
- No Value: Cells with specified value are excluded from vectorization.
- No Value Tolerance: Cells within this tolerance range of the "No Value" will also be excluded.
- Raster Value Field: Field name (default: "value") for storing cell values in the result dataset.
- Convert Specified Value Only: Vectorizes only cells matching specified criteria:
- Raster Value: Cells matching this exact value.
- Raster Value Tolerance: Cells within this tolerance range of the specified value.
- Parameters in the "Image Settings" section only apply to image datasets:
- Background: Excludes specified color cells from vectorization.
- Background Color Tolerance: Excludes cells with RGB values within this tolerance range (0-255) of the background color.
- Environment Settings: Configure analysis environment parameters including geographic range, clip bounds, and default cell size. For details, see Analysis Environment Settings.

Environment parameters can be set as global settings for raster analysis. If unset here, parameters will be read from the raster analysis environment.