Convert QgsRasterLayer to QgsVectorLayer
Clip raster to specified extent, width and height.
Note there is similar utility in safe_qgis.utilities.clipper, but it uses gdal whereas this one uses native QGIS.
Parameters: |
|
---|---|
Returns: | Clipped region of the raster |
Return type: | QgsRasterLayer |
Convert raster to points.
Areas (pixels) with threshold_min < pixel_values < threshold_max will be converted to point layer.
Parameters: |
|
---|---|
Returns: | Point layer of pixels |
Return type: | QgsVectorLayer |
Raster polygonizer.
Function to polygonize raster. Areas (pixels) with threshold_min < pixel_values < threshold_max will be converted to polygons.
Parameters: |
|
---|---|
Returns: | Polygonal geometry |
Return type: | QgsGeometry |
Function to polygonize raster. Areas (pixels) with threshold_min < pixel_values < threshold_max will be converted to polygons.
Parameters: |
|
---|---|
Returns: | Polygonal geometry |
Return type: | QgsGeometry |