DK11 for Python | tatukgis.pdk.TGIS_ContourGenerator.Generate | Overloads | Constructors | Methods | Properties | Events
Creates vector contours from a raster grid layer.
# Python def Generate( self, _src: TGIS_LayerPixel, _dst: TGIS_LayerVector, _dstfld: str, _dstfld_interval: str ) -> bool:
Name | Type | Description |
---|---|---|
_src | TGIS_LayerPixel | source grid layer |
_dst | TGIS_LayerVector | destination vector layer, must have the same CS as the source layer |
_dstfld | str | if not empty the field of the specified name will be populated with the elevation values of the contours |
_dstfld_interval | str | if not empty the field of the specified name will be populated with the contours' intervals; only for polygonal contours |
Type | Description |
---|---|
bool | True if the process was completed successfully; False otherwise |
'_dstfld' and '_dstfld_interval' must already exist in '_dst' layer. '_dstfld' and '_dstfld_interval' must be different.