[postgis-devel] [PostGIS] #1911: [raster] ST_Surface returning a multipolygon of a band

PostGIS trac at osgeo.org
Thu Jul 12 09:45:26 PDT 2012


#1911: [raster] ST_Surface returning a multipolygon of a band
-------------------------+--------------------------------------------------
 Reporter:  dustymugs    |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 Since an underlying C function is being written for use by various
 raster/raster spatial relationship functions, the C function might as well
 be exposed.

 This could be done calling

 ST_Union((ST_DumpAsPolygons()).geom)

 or

 ST_Union((ST_PixelAsPolygons()).geom)

 but it may be that the underlying C function might be faster.  No way to
 tell until the function is written.

 {{{
 ST_Surface(raster rast, integer nband DEFAULT 1) -> geometry
 }}}

 Suggestions on the function name?  ST_Surface?  ST_BandSurface? ST_???

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1911>
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