[postgis-users] Import Raster with 3 bands to PostgreSQL

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Mon Dec 10 08:37:16 PST 2012

Which software? The software has to interpret himself the three bands as RGB. I don't think QGIS does that...

There is nothing in PostGIS stating that a three bands raster is a TIFF or JPEG file. PostGIS store rasters, not images.


> -----Original Message-----
> From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-
> bounces at lists.osgeo.org] On Behalf Of José Pedro Santos
> Sent: Monday, December 10, 2012 11:26 AM
> To: postgis-users at lists.osgeo.org
> Subject: [postgis-users] Import Raster with 3 bands to PostgreSQL
> Dear all,
> I import with sucess a 3 band image to PostgreSQL 9.1 with the raster2pgsql in
> Ubuntu 12.04LTS. But when I try to visualize in another software I can't see the
> image and it looks like the values from the other bands glue only in the first
> band. Do you know if there's any problem with the import option of rasters with
> 3 bands to PostgreSQL?
> My Postgis version is 2.0.1.
> Best Regards and thanks,
> Jose Santos

More information about the postgis-users mailing list