geo-registry

st_pixelascentroids

How PostGIS Raster runs Raster to Points: st_pixelascentroids.

About this implementation
Engine PostGIS Raster
Tool name st_pixelascentroids
Interface sql
Implements Raster to Points
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
rast raster no Not stated Not stated Not stated
band integer no 1 Not stated Not stated
exclude_nodata_value boolean no true Not stated Not stated

SQL overloads

  • st_pixelascentroids(rast raster, band integer DEFAULT 1, exclude_nodata_value boolean DEFAULT true) → TABLE(geom geometry, val double precision, x integer, y integer)

How it maps to the operation

Operation parameter Parameter here Note
raster rast Not stated

Differences from the operation

  • Returns rows of (geom, val, x, y); exclude_nodata_value (true) skips nodata cells.

Harvested by the postgis harvester from engine version 3.7.0. Names can change when an engine is harvested again.