[postgis-users] Raster - is it possible to use names for bands?

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Fri May 24 08:56:51 PDT 2013


That one of the things I would had in PostGIS 3.0.

Pierre

> -----Original Message-----
> From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-
> bounces at lists.osgeo.org] On Behalf Of Bborie Park
> Sent: Friday, May 24, 2013 11:01 AM
> To: PostGIS Users Discussion
> Subject: Re: [postgis-users] Raster - is it possible to use names for bands?
> 
> No.  Bands are referenced by index in PostGIS.  Your idea of using an
> extra column for the band names is probably your best solution.
> 
> -bborie
> 
> On Fri, May 24, 2013 at 7:56 AM, Ricardo Filipe Soares Garcia da
> <ricardo.garcia.silva at gmail.com> wrote:
> > Hello list
> >
> > I'm taking my first steps in PostGIS rasterland.
> >
> > I have a large set of multiband rasters to store. It would be very handy to
> > refer to bands using a descriptive name (for example band1: LST, band2:
> > Error, etc) but from what I've been reading, it doesn't seem to be possible
> > to give each band a specific name and I must refer to bands by their
> number.
> > Is it really like this?
> >
> > If this is not possible, what would you advise as an alternative?
> > - Storing only single band rasters in their own tables? This defeats the
> > purpose of having multibands.
> > - Using an extra column in the table, with the names of each band?
> > - Other?
> >
> > Thanks
> >
> > --
> > ___________________________ ___ __
> > Ricardo Garcia Silva
> >
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at lists.osgeo.org
> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
> >
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list