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
<[email protected]>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: [email protected] [mailto:postgis-users-
> > [email protected]] On Behalf Of Pietro Wadeci
> > Sent: Friday, April 05, 2013 5:28 AM
> > To: [email protected]
> > 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
> [email protected]
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to