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

0
votes
2answers
376 views

Using OS Mastermap SLDs in QGIS

In an answer to a question asked by @Canningmister, @tjmgis posted an excellent answer Styling OS Vectormap Local in QGIS? about making OS SLD files work in QGIS. As an amateur user who uses QGIS to ...
1
vote
1answer
166 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
0answers
78 views

problem of creating complex symbology line in geoserver

I have been trying to creat complex symbology lines (a line alternating dash and a exteranl SVG graphic) in geoserver using SLD, based on documentations from ...
0
votes
1answer
123 views

Any ideas to display SLD TextSymbolizer property in Open Layers

I'm trying to display the SLD TextSymbolizer property for a vector layer in Open Layers but i found that ít's not supported. Has anyone ever dealt with this issue? I found these links but I have ...
1
vote
1answer
161 views

Issue showing multiple labels on a polygon of a OpenLayers

I am facing an issue, that I want to show multiple labels on each polygon of openlayers. I am defining styles in style editor of a layer.like <sld:Label> ...
2
votes
1answer
103 views

OpenLayers.Format.SLD - Ignores 'matchCase'?

I've trying to use OpenLayers to construct an SLD element to include in a WMS layer's parameters. This SLD document can contain a number of filters. This works fine and resultant SLD does work to ...
1
vote
1answer
74 views

GeoServer Limit SLD editing functionality to certain users in GeoExplorer

How would I go about preventing user X from editing layer styles? I have created a user in GeoServer that if they login they only see the layer preview screen. However as I am using the Boundless ...
1
vote
0answers
124 views

Error using SLD with MapServer based WMS (GeoBC)

I'm trying to customize rendering of map tiles from a government WMS server. When I use the GetStyles WMS query to retrieve the SLD for a layer, then feed that SLD directly back in a GetMap query, ...
1
vote
1answer
42 views

Is it possible to specify interpolation method for zoom functions in Styled Layer Descriptor (SLD)?

To visualize images on Geoserver, I use xml file wrote in Styled Layer Descriptor (http://www.opengeospatial.org/standards/sld). I would like to specify what interpolation method would be used for ...
3
votes
0answers
90 views

Styling SLD Files for Geoserver XML Editors and Notepad++

I am currently using Notebook++ to edit my GeoServer Styles (Yep, I like to do them the hard way). This is a Windows Environment. I also use XML Copy and XML Notepad 2007 Editor but so far I have ...
2
votes
2answers
175 views

How do I generate SLD programmatically?

Is there any api,pulgin for generating SLD? Note: I want to generate SLD programatically. I have property stored in database from which i would like to generate sld. I also want to generate various ...
1
vote
2answers
54 views

SLD layer style colour ranging from x -> y

I am new to web mapping. I would like to create a SLD style that colours the points if they fall between certain numbers for example 0-500. I know I could manually create each colour for each value ...
3
votes
1answer
218 views

SLD: OGC Filter set, but symbolizer expected

I have a problem with one of my SLD files and do not know what is causing the problem. The error message is pretty clear: line 18: cvc-complex-type.2.4.a: Invalid content was found starting with ...
0
votes
1answer
462 views

GeoServer SLD - size by scale and color by attribute

I would like to write an SLD that defines point size by zoom level using zoom denominators and color by a comparison operator. I am having trouble combining the two into rules because I cannot find ...
1
vote
2answers
644 views

Style file to QML or SLD

I have downloaded a dataset from a government organisation. it comes with a .style file. I use QGIS 1.8 on windows 7. Is there a way to use the .style file as a qml or sld? I have tried simply ...
3
votes
2answers
1k views

Where download sld styles for OpenStreetMap for GeoServer?

I display OpenStreetMap with some sld styles. This map is not the same OSM. I want that this map is equal OSM map. I use geoserver 2.3.5 Does anyone display OSM through MapServer, ArcGisServer ...
2
votes
0answers
44 views

Is there any sld styles for OpenStreetMap in ArcGis 10.1?

I want to display OpenStreetMap any possible way. 1) This map must be similar to the official OpenStreetMap. 2) Also I must cache data. So I need the WMTS protocol. This is vital. I can not use ...
3
votes
2answers
229 views

How display many layers from Geoserver in one map?

1) I publish 4 layers in Geoserver (planet_osm_line, planet_osm_point, planet_osm_polygon, planet_osm_roads). 2) Then I add styles (from sld styles) to the Geoserver. 3) Then I set this styles in my ...
0
votes
1answer
418 views

provide an alternative “label” when styling vector layer with openlayers

I'm using openlayers 2.12 and I am styling a vector layer using your typical new OpenLayers.Style({ Now, this layer does two things. First , renders polygons from Geoserver, so in the style I have ...
4
votes
1answer
505 views

Creating an ArcGIS Add-In to Export SLD

If I wanted to create an add-in for ArcGIS that exported the styling of a layer to SLD how much work would it be and what languages could I use? More info: I'm an experienced programmer, and have ...
2
votes
2answers
366 views

Styling OS Vectormap Local in QGIS?

I am attempting to style Ordnance Survey Vectormap Local on QGIS 1.8.0 by using the styling sheets suplied by Ordnance Survey. The styling sheets are available from the OS website ...
1
vote
1answer
164 views

Is it possible to convert QGIS QLM to SLD (w/ New Symbology)?

I have a QGIS project where I have created some nice styles using New Symbology. I would like to convert this to either SLD for use in GeoServer or CartoCSS for use in TileMill. I have tried saving ...
1
vote
1answer
234 views

Is there any instructions to download OSM in postgres database?

Is there any instructions to download OSM in postgres database? I use geosuite (geoserver, postgres, postgis). I'd like to download USA and Russia (1-12 levels). I also want to download sld styles. ...
1
vote
0answers
229 views

How to create SLD with inline features and style and add to WMS using GeoTools?

I am trying to create labels with arbitrary values on a WMS map using GeoTools (9.4). I have created a feature type, a feature (in a data store), and a user layer. With that I generated an SLD ...
0
votes
0answers
97 views

style file in geoserver using php

i have uploaded the shape file using curl.The plodded file get the default SLD from geoserver. I have to assign the sld belonging to that layer and the style file is already present in geoserver. I ...
1
vote
0answers
50 views

georectification via SLD is not appearing at the correct place

I am trying to georectify layers on the fly (feeded by Geoserver) in OpenLayers. To do so, we have created a style (SLD) in Geoserver that does the georectification provided that we feed it a ...
0
votes
1answer
98 views

sld parser for version 1.1.0 with Openlayers

I am using Openlayers 2.11 and need to style a layer with a sld file version 1.1.0. the error it says is Uncaught Can't find a SLD parser for version 1.1.0. i have also tried it with Openlayers 2.12.
1
vote
1answer
238 views

Geoserver optional symbology with variable substitution in SLD

I am trying to write an SLD that optionally takes a symbology for a PolygonSymbolizer and I can't work out how to do default to no symbology if the symbology env parameter is not set. I have used the ...
14
votes
5answers
2k 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
746 views

How to dynamically change SLD style of WMS layer being served by GeoServer from PostGIS?

How can I dynamically change a SLD style of a WMS layer being served by GeoServer from PostGIS?
0
votes
0answers
393 views

Show vector external graphic .svg or .png in map units with vector style?

Is possible define vector style to show vector external graphic file on map in map units? My vector is shown in fixed size. External graphic are from .svg and .png file. I tried both of file. I ...
2
votes
1answer
142 views

Geoserver: Georectification via SLD fails

Situation I have a raster image and the coordinates of its four corner pixels. My goal is to warp the image with respect to this coordinates ("georectify") on the fly when requested via GeoServer to ...
0
votes
0answers
389 views

Apply Labelling to stacked symbols for SLD's to use in Geoserver

I have the following basic point stacker based SLD to symbolize bridges and need to get the labels to display. When I add the text labeller the symbolization does not work at all. Stacked Labels (no ...
0
votes
2answers
127 views

Linking sld to vector layer

I have created a vector layer by reading a geojson file and I have a SLD file created for this layer. I am wondering how do I link the SLD file to the layer. I had a read of this example on Openlayers ...
0
votes
0answers
100 views

SLD based selection on WMS layers - How to set the new style of clicked point?

I'm trying to follow this example: http://openlayers.org/dev/examples/SLDSelect.html When I click on the point, its color should be changed, here is a piece of my code: control = new ...
0
votes
1answer
214 views

OpenLayers SLD duplication problem

Hey guys i am creating a web map and I am running into a little problem. I am serving two WMS layers from GeoServer to my OpenLayers script. For styling I am using SLD in GeoServer. The SLD script ...
2
votes
0answers
37 views

Is it possible to style a part of a label?

My label consists of two different things: <ogc:PropertyName>user</ogc:PropertyName> <ogc:PropertyName>room</ogc:PropertyName> I would like to style the two parts ...
0
votes
1answer
466 views

Issues with datasets when custom SLD loaded into geoserver

I have created my SLD's in QGIS and want to use them in Geoserver. I have imported and validated them without any problems but when I try to view the data using Layer Preview --> OpenLayers-->Go it ...
0
votes
0answers
145 views

Issues with exporting QGIS symbology to SLD when symbology uses zoom levels

I've been working on some QGIS based symbology for export to SLD (Can I view the Geoserver zoom level in QGIS) but in the layers with zoom levels I can not export them to SLD...it crashes qgis. See ...
0
votes
0answers
318 views

Group/Cluster point symbols together in QGIS and export to SLD

I want to group symbols together in QGIS when they are displayed to close together and thus clutter a map. As the user zooms in these should then be separated. The result should be exportable to SLD ...
2
votes
1answer
319 views

Can I view the Geoserver zoom level in QGIS

I am creating some sld's using QGIS for use in Geoserver and wanted to view the current zoom level so that I can then define it in the zoom level. Is this possible? For example <!-- Local ...
0
votes
2answers
85 views

Draw line as a text in wfs

I have a WFS for addresses where geometry is a line with 2 points. Is it possible to have an SLD that draws a text (i.e. house number) along the line using the line as vector defining the text ...
2
votes
1answer
97 views

Label size in map units, geoserver .sld file

Is it possible to define labels in map units in a sld file? Thanks.
3
votes
0answers
228 views

How do I convert from SLD to Carto CSS?

I have a bunch of layers and corresponding SLD's running a WMS service. I was exploring the possibility of shifting to a TileMill's tile based TMS service. For this, I would like if it were possible ...
10
votes
3answers
13k 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 ...
1
vote
1answer
88 views

Geoserver SLD style order not applied

I use a .sld to style a road layer according to 4 classes. Normally, the Painter algorithm should be applied: which come first is drawn first. But this does not really apply. The .sld are saved from ...
0
votes
0answers
46 views

Can I manually set the size of GeoServer's tiles?

I'm using GeoServer to generate a street name overlay that we can use with our various basemaps. It works great, but the names repeat too often to be truly beautiful. I've tried bumping up the ...
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
0answers
164 views

How to make interpolation with SLD?

I want to make color interpolation with SLD on Geoserver. Interpolation works fine. But i need to know min, middle and max property values to make it correct. So i want to know this values, i says: ...
1
vote
0answers
109 views

Geoserver not buffering external graphic in PointSymbolizer

We've got some Point data we're displaying in a WMS layer using geoserver 2.2 (same problem on 2.3.1). We style it with the following SLD <Rule> <PointSymbolizer> <Graphic> ...