<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Tukang,<div><br></div><div>you can try to access GeoServer and generate the sld directly from the editor of styles where you can validate that too. Otherwise another way is through GeoExplorer under the maps menu then cut and paste the resulted XML to a SLD file always from the styles editor by browsing such new style inside GeoServer. As alternative you can get it too from the REST interface of styles.</div><div><br></div><div>Hope this helps</div><div><br></div><div>Francesco</div><div> <br><div><div>Il giorno 18/ago/2015, alle ore 16:14, Tukang Sampah <<a href="mailto:tkgsmph@gmail.com">tkgsmph@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div><div>Dear all,<br><br></div>I'm trying to upload an .sld file enclosed within a zipped shapefile. The style displays correctly on the layer detail page for this sample (<a href="https://drive.google.com/open?id=0B6wX8X80IDvoVUctWUdSODg3NGs">https://drive.google.com/open?id=0B6wX8X80IDvoVUctWUdSODg3NGs</a>). It's just a basic .sld that I copied from /geoserver/rest/styles.<br><br></div>However if I use another .sld file (<a href="https://drive.google.com/file/d/0B6wX8X80IDvoS3otaVVLX1I5Z1E/view?usp=sharing">https://drive.google.com/file/d/0B6wX8X80IDvoS3otaVVLX1I5Z1E/view?usp=sharing</a>) which has <sld:TextSymbolizer> defined, the shapefile upload completes but does not display correctly on the layer detail page (pink tiles, no thumbnail on the layer list page). Furthermore after that if I try to upload any other shapefile (with or without the .sld) it seems the previous error constantly happens. The only way to fix the upload process is to restart the tomcat7 service, so maybe geoserver crashed? I'm using the latest GeoNode from master branch on github with Oracle JRE installed.<br><br></div>What is the proper way to generate .sld files that are compatible GeoNode? Does anyone have a sample zipped shapefile with a complex .sld that I can try?<br><br></div>Thanks,<br><br></div>Tukang<br></div>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users<br></blockquote></div><br></div></body></html>