Converts a raster data set to a vector of the POINT VectorGeometryType. The user must specify the name of a raster file (input
) and the name of the output vector (output
). Points will correspond with grid cell centre points. All grid cells containing non-zero, non-NoData values will be considered a point. The vector's attribute table will contain a field called 'VALUE' that will contain the cell value for each point feature.
raster_to_vector_polygons, raster_to_vector_lines
def raster_to_vector_points(self, raster: Raster) -> Vector: ...