[postgis-tickets] [PostGIS] #2474: [raster]: ST_Union that takes 2 rasters

PostGIS trac at osgeo.org
Mon Sep 9 04:59:02 PDT 2013


#2474: [raster]: ST_Union that takes 2 rasters
-------------------------+--------------------------------------------------
 Reporter:  robe         |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.2.0
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by robe):

 thinking about this more ST_Union geometry has a ST_Union(geometry[])
 array version.
 http://postgis.net/docs/manual-dev/ST_Union.html

 That might be more valuable than ST_Union(rast,rast) if we had a
 ST_Union(rast[],..)

 Because  I could do crazy stuff like
 {{{
 ST_Union(ST_Union(ARRAY[rast1,rast2,rast3], 'SUM'), 'MEAN')
 }}}


 Such a case would be useful if I want to convert multiple bands (different
 themes of same space) to a single band and then group by some division.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2474#comment:2>
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-tickets mailing list