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

2
votes
3answers
465 views

geoserver heatmap tiles doesn't display well (with leaflet)

I am trying to display a heatmap generated with geoserver on my map using the L.tileLayer.WMS class from Leaflet, but the tiles do not fit well together. Do you have any idea how to fix it?
1
vote
1answer
219 views

Geoserver transparency of overlapping features

I'm serving a layer via WMS that has multiple Polygons with transparency set to 30%. The polygons can overlap each other resulting in darker areas where the transparencies combine. Is it possible to ...
1
vote
1answer
109 views

Geoserver getlegend graphic returning diagonal lines for polygon

I have been developing a dot density map using certain attributes and have been successful in doing so. But there has been a problem while getting the legend from geoserver wms using a ...
4
votes
6answers
1k 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 ...
0
votes
1answer
971 views

Geoserver SLD Line styling with external graphic instead of WellKnownName

I have problem with styling in geoserver. Using tutorial from http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#id7 everything is ok but when I want to use ExternalGraphic ...
0
votes
0answers
91 views

GeoServer users can edit SLD styles in GeoExplorer

I have just gone through the Boundless tutorial on creating users in GeoServer (much easier to understand than the official GeoServer Doc). This works I have granted write access to a certain layer ...
13
votes
2answers
2k views

SLD to Esri lyr file?

Does anybody know if there's a sw/extension to convert an SLD to Esri. lyr format, or to import the SLD directly?
0
votes
0answers
164 views

Publishing Shapefiles via ArcGIS Server

I have some OSM's shape-files and running ArcGis Server 10. Would I be able publish it as Map Service without the using ArcMap or another ESRI clients? Also I want to use my shapes with prepared SLD ...
2
votes
2answers
854 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" ...
0
votes
0answers
132 views

Do SLD styles work with KML in Geoserver?

I am trying to use and in the SLD description for a layer on GeoServer. When I download the KML version of the layer everything works just fine in google earth, however when I go to my webpage which ...
3
votes
1answer
142 views

Problem with SLD on GeoServer

I can't find what is wrong. I try write an style on GeoServer. This is not ok.: <FeatureTypeStyle> <FeatureTypeName>Odcinki</FeatureTypeName> ...
1
vote
0answers
310 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
2
votes
2answers
121 views

How to remove tiny polygon outlines in geoserver sld?

The data I am using a polygon feature layer, consisting multiple polygons and I want to show the same without polygon outlines. In ArcGIS I simply use outline colour as no colour. This produce the ...
4
votes
1answer
154 views

Does WMS GetFeatureInfo takes into account the applied Style (SLD)?

As the title says, does WMS GetFeatureInfo takes into account the applied style to a layer? For example I have layer of all US States and I applied the following SLD: <PropertyIsEqualTo> ...
3
votes
1answer
1k views

Is there up to date OSM SLD file for GeoServer?

I've tried looking for some but only found old from 2009 which are apparently out of date. Any help will be welcome. This is the sld I was looking at: https://github.com/mitchelljj/openstreetmap-sld ...
0
votes
2answers
693 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
183 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
200 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
229 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> ...
1
vote
1answer
133 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
1answer
63 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 ...
2
votes
2answers
298 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
95 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
708 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
1k 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
1k 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
2k 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
59 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
620 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
747 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
638 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
592 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
240 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
330 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. ...
2
votes
0answers
329 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 ...
1
vote
0answers
57 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 ...
1
vote
1answer
345 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 ...
15
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
2k 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?
2
votes
1answer
195 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
2answers
253 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
1answer
271 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
41 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 ...
2
votes
1answer
458 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
96 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
115 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
364 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 ...
1
vote
1answer
127 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
55 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. ...