[postgis-users] Applying symbology to a raster

David Fawcett david.fawcett at gmail.com
Fri Apr 5 10:35:29 PDT 2013


I have found the dialogs in QGIS to not be so intuitive for symbolizing
rasters.  To get it to work in the past, I have had to use the options to
classify the data first and the I have been able to apply a color ramp.

Definitely worth following up on the QGIS list if you can't figure it out.

David.

On Fri, Apr 5, 2013 at 11:05 AM, Pierre Racine
<Pierre.Racine at sbf.ulaval.ca>wrote:

> 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.
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130405/5f49edfc/attachment.html>


More information about the postgis-users mailing list