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

7
votes
1answer
268 views

How to migrate SVG-based styles for QGIS to other computers?

I'm working on a project that has involved creating many recolourable SVG icons and bringing them into QGIS. These are then used in layer symbologies, with these subsequent layer styles exported as ...
4
votes
1answer
832 views

Mixed geometry types styling with Geoserver 2.2

I have a PostGIS table with geometry colunm. In this column i have geometries of several types (polugons, points, lines). I publish this this table on Geoserver. Now i want to create OpenLayers layer ...
2
votes
0answers
40 views

Avoid multiple labels geoserver styling [duplicate]

Possible Duplicate: Labeling Geoserver SLD I have a geoserver 2.1.x installation with SLD stylization. I have used a property to label the polygons which forms a map. But the issues is the ...
0
votes
1answer
2k views

GeoServer VendorOption for SLD to place labels overlapping and out of bounds

I use GeoServer 2.1.1. and have an SLD to serve a layer with labels in OpenLayers. I noticed that some labels are not displayed because other labels are to near. GeoServer wants to make your labels ...
6
votes
2answers
1k views

Can i do Custom Styling on Geoserver

i want to use Geoserver WMS server for custom styling. lets say i have an area as polygon in a shape file. But i dont have this area's temperature as an attribute. From a web service i gather ...
3
votes
1answer
197 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
2k 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
881 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
412 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
462 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
6k 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
228 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
531 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
633 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
579 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
524 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
399 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 ...
6
votes
0answers
433 views

Geoserver with SQL server consuming all my CPU

This question is long please bear me and my problem. SQL Server Query profiler The Sample Query from profiler that geoserver is running that corresponds to SLD I am using and not the SQL SERVER view I ...
1
vote
1answer
580 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
241 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
911 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
207 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
386 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
221 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
911 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
146 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
799 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
385 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
830 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
683 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 ...