[postgis-devel] [PostGIS] #2021: [raster] Multi-band support for ST_Union

PostGIS trac at osgeo.org
Sun Sep 30 13:19:40 PDT 2012


#2021: [raster] Multi-band support for ST_Union
-------------------------+--------------------------------------------------
 Reporter:  dustymugs    |       Owner:  pracine       
     Type:  enhancement  |      Status:  new           
 Priority:  medium       |   Milestone:  PostGIS Future
Component:  raster       |     Version:  trunk         
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by dustymugs):

 Signature of ST_Union would look like...

 {{{
 ST_Union(raster, ARRAY[]::record[])
 }}}

 Where ARRAY[]::record[] is...

 {{{
 ARRAY[ROW(nband, uniontype), ... ]
 }}}

 Example...

 {{{
 ST_Union(raster, ARRAY[ROW(1, 'LAST'), ROW(2, 'FIRST'), ROW(3, 'MEAN')])
 }}}

 We could use a composite type but types are pains to manage in the long
 term...

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2021#comment:1>
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