Raster to Points
One point at the centre of every raster cell that has a value, carrying that value.
Pitfall. A large raster becomes millions of points; clip it first.
Pitfall. Engines differ on whether nodata cells are skipped.
| Also called | Raster To Point, pixels to points, cell centroids, raster to vector points |
|---|---|
| Group | raster/conversion |
| Checks | raster.nodata |
| Pitfalls | 2 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
Not stated
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | raster | raster | Not stated | Not stated |
| Output | output | vector | point | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
grass | r.to.vect |
| None noted
Preset: {"type":"point"} |
postgis-raster | st_pixelascentroids |
|
|
qgis | native:pixelstopoints |
|
|
terra | terra::as.points |
|
|
whiteboxtools | RasterToVectorPoints |
| None noted |