<div dir="ltr">Hi Paolo,<div><br></div><div>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.</div><div><br></div><div><a href="http://203.159.29.10/layers/geonode:lc_10m_elvtif" target="_blank">http://203.159.29.10/layers/geonode:lc_10m_elvtif</a> <br></div><div><br></div><div>Same thing happens in vector layers as well. Please have a look at <a href="http://203.159.29.10/layers/geonode:tha_adm1" target="_blank">http://203.159.29.10/layers/geonode:tha_adm1</a> . 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 doesn't change.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Many thanks.</div><div><br></div><div>Kind Regards</div><div>Ramesh</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 2, 2015 at 9:15 PM, Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You will need to edit the GeoServer style directly from the GeoServer admin.<br>
A nice tool to use to generate the sld for rasters is the SLD4raster<br>
QGIS plugin.<br>
It can even upload the style to GeoServer from QGIS.<br>
regards<br>
p<br>
<div><div class="h5"><br>
On Mon, Mar 2, 2015 at 1:56 PM, Ramesh De Silva <<a href="mailto:desilvarami@gmail.com">desilvarami@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I need to label different colors appearing in a raster layer. It seems I can<br>
> not do this using the style editor as there is no attribute table associated<br>
> with the raster layer.<br>
><br>
> Is there a way to label these classes represented by different colors?<br>
><br>
> Kind Regards<br>
> Ramesh<br>
><br>
</div></div>> _______________________________________________<br>
> geonode-users mailing list<br>
> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
</font></span></blockquote></div><br></div>