A Styled Layer Descriptor (SLD) is an XML schema specified by the Open Geospatial Consortium (OGC) for describing the appearance of map layers.

learn more… | top users | synonyms

3
votes
1answer
201 views

What are the differences between formats for storing styles?

I'm looking for a format for store information about data styles for my web application. There are different formats for describing vector data styles. For example, SLD, Mapnik XML, and there may be ...
3
votes
2answers
3k views

How to style a WMS layer?

I also posted this question on stackoverflow. I successfully overlayed a WMS layer in google maps v3, however, as the information on tiles is black on transparent, it is not well seen on dark ...
4
votes
4answers
1k views

How to update a SLD file in GeoServer?

I'm working on my own geoportal. I have prepared a php page which users can describe their own SLD configuration. The SLD file will be stored in GeoServer style folder. But when I tried to view maps I ...
1
vote
1answer
466 views

Is it possible to convert a Geoserver SLD to Quantum QML format?

I have a web application which runs on Geoserver. I am migrating my application to desktop and am struck at applying the same color schemes and symbology. I am not able to find a way to convert SLDs ...
0
votes
1answer
613 views

Unexpected font family displayed using custom SLD from a published WMS using geoserver

When publishing a WMS in geoserver using a custom SLD file, I'm seeing the WMS preview correctly on my local geoserver. However, doing everything the same on a remote hosted geoserver, my seeing an ...
12
votes
4answers
7k views

OpenLayers: how to style WFS layer with SLD file?

I'm experimenting with a simple web mapping service build on PostGIS/GeoServer/OpenLayers stack on Win 2008 Server. I overlay vector layer from PostGIS using: var Index1v = new ...
5
votes
1answer
281 views

Is there a parellel line function for slds?

I am attempting to make an sld style which symbolizes a line with an offset. I have tried with filters, functions online graphics but can achieve only ugly results. The line consists out of 2 line ...
1
vote
1answer
597 views

How to use rotated text labels in GeoServer based on attribute value?

I have several text layers in GeoServer, which are now shown as point layers with tiny graphic size and with labels (As mentioned in my previous question). All thses labels are, as expected, drawn ...
1
vote
2answers
2k views

Geoserver SLD for OSM valdation errors

I'm trying to build a Geoserver (V2.0.2) style file for OSM data using https://github.com/FlorentDotMe/OSM-Styles-for-GeoServer as a starting point but they produce a number of validation errors Can ...
1
vote
2answers
766 views

Labels not visible at same zoom range

I am using geoserver and sld : I want to make all labels visible at all zoom levels. How can I do that with SLD? <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor ...
4
votes
2answers
705 views

How do you make map styles NOT appear in a legend?

I am using GeoServer to serve up OSM data. I am making use of the GetLegendGraphic command, but I do not want some of my styles to appear in the legend (for example, the styles that are ONLY for text ...
4
votes
1answer
2k views

Generating SLD dynamically using php in Geosever

I am fairly new to Geoserver and I have a question before I launch into something bigger than me: if i replace the XML code in the SLD style sheet inside geoserver with some PHP which generates the ...
2
votes
2answers
2k views

Text layer styling in GeoServer?

I am wondering what is the best approach to use for text layers in GeoServer. AFAIK, there is no text layer in GeoServer. But in many occassions we need to use text layers and not simply label for ...
1
vote
1answer
637 views

Is is possible to have a sld with a rotated point symbolizer along a line in geoserver?

Geoserver 2.1.3 I would like to symbolize a line with a Square but use the <Rotation>45</Rotation> tags to make the symbol look like a diamond. My sld is below and unfortunately the ...
1
vote
0answers
80 views

SLD for OSM data in GeoServer [duplicate]

Possible Duplicate: Standard SLDs for OpenStreetMaps? I can't find a good SLD for OSM. I downloaded the OSM data and imported it to PostGIS. With GeoServer I use it as a data source to ...
1
vote
2answers
468 views

How to use the SLD Filter “Difference”

I have a postgis table with polygon geometries. I would like to create an sld which first does an inside buffer, and then a difference between the buffer and the original geometry. This is basically ...
1
vote
1answer
664 views

Point size based on the scale and point color based on the attribute in SLD

I want to edit points size based on the scale and also I want to set up colors based on one attribute column (Quantities in ArcMap, 10 classes). I already wrote SLD rules for colors, but I don't ...
1
vote
1answer
243 views

How to edit symbol diameter related to the catchment area?

I have a table with column Catchment area (in km2), and I need to set symbol diameter based on that column. I need to get .sld file so I'm working with uDig but if you know better software for this, I ...
5
votes
2answers
1k views

SLD encoding in GeoSever on Ubuntu

I am facing a challenge with the encoding in my SLD file in GeoServer on a Ubuntu server. When I create a SLD file containing the danish letters æ, ø, å in the GeoServer web interface like this ...
1
vote
0answers
231 views

How to handle multipoint symbology catalogue (as in mil2525c, tactical graphics appendix b)

Is there a general format (standards based) to store a vector based drawing description for multipoint symbology (means having several anchor points reflecting symbol point <-> geographic point ...
3
votes
1answer
1k views

Can a layer's style be modified dynamically using an SLD in OpenLayers?

I am a complete novice with GeoServer and OpenLayers. I'm trying to ascertain at what point a style is applied to a GeoServer layer which is drawn in OpenLayers, when using an SLD. The Introduction ...
2
votes
1answer
431 views

Using SLD to style according table column value

How to style various points with different image according to value(text) in the column of table(layer)?
0
votes
1answer
225 views

How to get multiple SLD files of the same shapefile?

I need to get multiple SLD files for the same shapefile. Geometry is polygons, and they need to be colored by one attribute column. What is the best solution? I'm working with ArcMap2SLD or ArcMap to ...
4
votes
2answers
1k views

How to create varying opacity within a layer in Mapserver?

Suppose you have a mapfile containing a background layer and a layer with a lot of overlapping linestrings. Now, for the overlapping linestrings, it might be good to visualize their density, thus at ...
2
votes
0answers
147 views

Optimizing SLD map styling implementation

Styling a map on demand can be a great bottleneck if you don't have a good strategy to deal with it. I'm sure there is a lot of techniques to implement the styling of maps, but I would like to ask you ...
2
votes
1answer
870 views

Free Geoserver SLD for 2009 Tiger Line Data (preferably google maps color scheme)

I need to render a base map using the Open layers. I have downloaded 2009 Tiger line Data. I need to get up and running quickly. I think I can save some time if i use ready made SLDs, instead of ...
2
votes
2answers
404 views

The submit button for styles in Geoserver

Say I have a layer L in Geoserver to which i attach a style S (in the GS backend i published L using S). Of course, If I use the style editor in the GS backend and change the SLD for S and then ...
0
votes
1answer
893 views

What's the best way to author SLD files from ArcGIS? [duplicate]

Possible Duplicate: How to edit or convert ArcGIS 10 layer style to a SLD's file. I'd like to be able to create styled layer description (SLD) files for use with GeoServer. I'd like to ...
1
vote
1answer
703 views

SLD encoding with GeoServer REST Configuration

I am using the GeoServer REST Configuration to add the following SLD file to GeoServer: <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" ...
6
votes
1answer
2k views

Styling a polygon layer using external graphics

I have a layer which is comprised of a number of different polygons symbolised according to their type. I have set up a style which successfully filters by type then applies a corresponding fill (in ...