[postgis-users] Applying symbology to a raster

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Fri Apr 5 09:05:08 PDT 2013


Normally you should be able to apply a color ramp to a PostGIS raster the same way you can apply a color ramp to any other raster. This is not a PostGIS problem. It is a QGIS problem.

Pierre

> -----Original Message-----
> From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-
> bounces at lists.osgeo.org] On Behalf Of Pietro Wadeci
> Sent: Friday, April 05, 2013 5:28 AM
> To: postgis-users at lists.osgeo.org
> Subject: [postgis-users] Applying symbology to a raster
> 
> Hi,
> 
> I have loaded a digital elevation model into PostGIS with the command line:
> raster2pgsql -s 4326 -I -C -M -N -32768 C:/temp/myDEM.tif dem | psql -h
> localhost -d myDB -U postgres
> 
> I have also tested the QGIS 1.8 raster loader.
> 
> In both cases the raster has been loaded correctly. I can see it in QGIS, I can clip
> it, generate contours, and apply other functions.
> There is one band (16BSI).
> 
> 
> However, I do not manage to apply a symbology in QGIS, e.g. a color ramp. How
> should I do? Did I miss a step?
> 
> Thanks for your reply.


More information about the postgis-users mailing list