[postgis-devel] [PostGIS] #1245: [raster] ST_AddMultiBand that can add multiple bands to an existing raster (was: ST_AddMultiBand that can add multiple bands to an existing raster)
PostGIS
trac at osgeo.org
Mon Oct 17 08:49:44 PDT 2011
#1245: [raster] ST_AddMultiBand that can add multiple bands to an existing raster
----------------------------+-----------------------------------------------
Reporter: robe | Owner: pracine
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS Raster Future
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Changes (by dustymugs):
* owner: pramsey => pracine
* component: postgis => postgis raster
Comment:
Having ST_AddMultiBand would be nice. Being able to specify the
properties of each new band effectively without going off the deep end in
the function parameters may be difficult. Maybe a variadic parameter of a
new "band properties" type...
My only question is the following...
{{{
ST_AddMultiBand(newrast, ST_Band(oldrast,ARRAY[1,4]) )
}}}
ST_Band returns a new raster of bands 1 and 4 of oldrast so calling
ST_AddMultiBand confuses me. Granted, I've been thinking that we need a
function to copy a band from one existing raster to another existing
raster... but that is getting off topic.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1245#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