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

5
votes
3answers
624 views

Is it possilbe to change SLD from client side?

How to change predefile SLD in client side? The reason I want this is I want to turn label on and off on client side.
1
vote
1answer
528 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 ...
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
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 ...
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
578 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
522 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 ...
4
votes
3answers
503 views

Geoserver SLD for OS Mastermap

We are just looking into moving from Mapserver to Geoserver for some of out WMS needs, one of which is to serve OS Mastermap to our users. Before i have a go at creating the SLD styles for Mastermap ...
5
votes
2answers
908 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
205 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 ...
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 ...
3
votes
1answer
3k views

Geoserver SLD using PropertyIsEqualTo And PropertyIsLike

I have two SLD rules one using PropertyIsEqualTo and another using PropertyIsLike Using PropertyIsEqualTo <Rule> <Name>Vendor FirstVendor</Name> ...
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 ...
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 ...
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)?
13
votes
4answers
590 views

Is there any software (with a graphical user interface) for creating Style Layer Descriptors?

Is there any software that can easily create a Styled Layer Descriptor (SLD) without using a script?
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 ...
14
votes
5answers
3k views

Standard SLDs for OpenStreetMaps?

We have downloaded OSM data for our region and loaded them into PostGIS using osm2pgsql. So far so good. On top we have GeoServer and we would like to expose the OSM data using WMS. We would as well ...
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
909 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 ...
1
vote
3answers
1k views

How to write SLD rules with data-defined symbol size and color?

I have shapefile with points. They are classified - Graduated colors. I made SLD file with ArcMap2SLDConverter. I have a task to manual edit SLD file to show symbol diameters relating to field Area. ...
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 ...
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
798 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 ...
1
vote
1answer
174 views

Duplicate display of annotation in SLD script

I am using one sld file in geoserver of village parcel display. It works fine, but the issue is that the annotation(parcelno) display duplicates/replicates when I zoom in. What can I do? Thanks
0
votes
1answer
827 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 ...
2
votes
2answers
384 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 ...
1
vote
2answers
1k views

Looking for a MAP to SLD converter

Does anyone know where I can find the converter from .map to .sld? I have a big mapfile of styles for OSM and I have the styles mapnik.xml for OSM but I use Geoserver for my work. Or does anyone have ...
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
791 views

Mapserver can't write in /var/www/mapserver/log/

I'm executing Mapserver 5.6.4 under Apache2 in a Ubuntu 10.04 machine. I'm having problems writing log file. In the mapfile, I have: CONFIG "MS_ERRORFILE" "/var/www/mapserver/log/mylogfile.log" ...
7
votes
1answer
3k views

Is there a free and open-source MXD to SLD converter? [duplicate]

Possible Duplicate: How to edit or convert ArcGIS 10 layer style to a SLD’s file I'm trying to set up a web map server for one of the government agencies in my country. Server setup's done ...
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 ...
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 ...
10
votes
3answers
15k views

How to edit or convert ArcGIS 10 layer style to a SLD's file

Greetings everyone, I am putting together a GIS server using GeoServer and need some help with importing my layer styles from ArcGIS 10 to SLD format. I have one layer in ArcMap properly symbolized ...
4
votes
6answers
961 views

flex/AIR based SLD generator?

Styling layers in GeoServer can be tedious to say the least. While Styler can relieve some of that tedium, it doesn't yet work in chrome. It can wreck existing styles if not carefully used and still ...