Tag Info

New answers tagged


This may not be what you want to hear but I think the best chance you have of having ArcGIS for Desktop read SLD files will be to vote for this ArcGIS Idea. Its proposer says: It would be a great interoperability improvement to be able to import SLD styles into *.style files and vice versa.


I know you specified you would rather not use vendorparameters, but this is the only way I know how to do it. I'm not sure if you have tried this already. Add a square graphic to the textsymbolizer and use the vendoroptions graphic-resize and graphic-margin. <TextSymbolizer> <Label> ...


There are several options I can think of, but there are probably more and better ways to do it. Depending on how many styles you need, you could create a new rule for each style you need. Set a filter on each type of style like this: <ogc:Filter> <ogc:PropertyIsEqualTo> <ogc:PropertyName>POI_TYPE</ogc:PropertyName> ...


Always make sure the GeoServer process has RW access to the GeoServer data dir. BTW, since you are, make sure you move the data directory OUTSIDE the tomcat webapps directory as a redeploy (e.g. GeoServer update/upgrade) would swipe out your data directory otherwise. Check this link: ...


Try changing chmod of the /var/lib/tomcat7/webapps/geoserver/data/styles/. Geoserver probably cannot access files inside this folder because of its access restrictions.


The offset function can be used to create drop shadow effects below polygons. Notice that the offset values reflect the fact that the data used in the example is in a geographic coordinate system. (from Geometry transformations in SLD) A CSS equivalent for your SLD code could be this: box-shadow: -13px 13px 0px #888888; You may test this code here


Do you mean the label properties? Have you checked the docs? http://docs.geoserver.org/latest/en/user/extensions/css/properties.html#text-symbology-labeling

Top 50 recent answers are included