Ticket #1911 (closed enhancement: fixed)

Opened 11 months ago

Last modified 10 months ago

[raster] ST_BandSurface returning a multipolygon of a band

Reported by: dustymugs Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.1.0
Component: raster Version: trunk
Keywords: history Cc:

Description

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_???

Change History

Changed 11 months ago by dustymugs

  • status changed from new to assigned

Changed 10 months ago by pracine

ST_AsPolygon()? or ST_DumpAsPolygon(without s)?

Changed 10 months ago by dustymugs

  • keywords history added
  • status changed from assigned to closed
  • resolution set to fixed
  • summary changed from [raster] ST_Surface returning a multipolygon of a band to [raster] ST_BandSurface returning a multipolygon of a band

Final function is named ST_BandSurface(). Added to trunk in r10055

Note: See TracTickets for help on using tickets.