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

Bborie Park dustymugs at gmail.com
Fri May 24 08:00:43 PDT 2013


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
>


More information about the postgis-users mailing list