Ticket #1889 (closed enhancement: fixed)
[raster] ST_PixelOfValue: given a band and value, get the band pixels with that value
| Reported by: | dustymugs | Owned by: | dustymugs |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.1.0 |
| Component: | raster | Version: | trunk |
| Keywords: | Cc: |
Description
As per the discussion in...
http://postgis.refractions.net/pipermail/postgis-users/2012-June/034611.html
It would be nice to have a function able to return the pixel coordinates of a user-specified value.
ST_PixelofValue( rast raster, nband integer, pixval double precision[], exclude_nodata_value DEFAULT true, OUT val double precision, OUT x integer, OUT y integer ) -> setof record ST_PixelofValue( rast raster, nband integer, pixval double precision, exclude_nodata_value DEFAULT true, OUT x integer, OUT y integer ) -> setof record
Change History
Note: See
TracTickets for help on using
tickets.
