[postgis-devel] [PostGIS] #1889: [raster] ST_PixelOfValue: given a band and value, get the band pixels with that value

PostGIS trac at osgeo.org
Mon Jun 25 13:51:08 PDT 2012


#1889: [raster] ST_PixelOfValue: given a band and value, get the band pixels with
that value
-------------------------+--------------------------------------------------
 Reporter:  dustymugs    |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1889>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list