[GeoNode-users] Styling a raster layer
Ramesh De Silva
desilvarami at gmail.com
Mon Mar 2 10:57:46 PST 2015
Thanks for the directions. I created the SLD file using QGIS SLD4raster
plugin and uploaded to GeoServer. Then I assigned the style to my raster
layer. Now I can see the legends. Even the thumbnail got updated. But map
is still the same. Please have a look at following layer.
Same thing happens in vector layers as well. Please have a look at
http://184.108.40.206/layers/geonode:tha_adm1 . Here also I added the SLD
file in GeoServer level and assigned it to the data layer . I can see the
legends as well as thumbnail got updated after adding the SLD. But map
I did clear the browser cache assuming this is a caching issue. But it is
still the same. Also I tried from a different PC.
By the way, if I preview these layers in GeoServer Layer Preview, I can see
the thematic map. Please let me know, if I need to do anything more in
order to make it effective in GeoNode level.
On Mon, Mar 2, 2015 at 9:15 PM, Paolo Corti <pcorti at gmail.com> wrote:
> You will need to edit the GeoServer style directly from the GeoServer
> A nice tool to use to generate the sld for rasters is the SLD4raster
> QGIS plugin.
> It can even upload the style to GeoServer from QGIS.
> On Mon, Mar 2, 2015 at 1:56 PM, Ramesh De Silva <desilvarami at gmail.com>
> > Hi,
> > I need to label different colors appearing in a raster layer. It seems I
> > not do this using the style editor as there is no attribute table
> > with the raster layer.
> > Is there a way to label these classes represented by different colors?
> > Kind Regards
> > Ramesh
> > _______________________________________________
> > geonode-users mailing list
> > geonode-users at lists.osgeo.org
> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-users