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
826 views

Geoserver GetLegendGraphic not working for single rule

<?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www....
1
vote
1answer
41 views

Is it possible to edit layer transparency in .sld or .qml file for use in QGIS?

Say I have a shapefile with 20 graduated classes that I'm using in QGIS. I want to save the layer style so that I can use it on other shapefiles, but I can't edit the layer transparency without ...
3
votes
1answer
2k 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 ...
1
vote
0answers
130 views

Assigning multiple styles for same layer from GeoServer in OpenLayers 3?

This is my code, the function set style is not working osm background layer. I have many sld files for one layer and I want apply them on the same layer: <script> var untiled = new ol.layer....
1
vote
0answers
25 views

Leader lines in SLD

I have point type shapefile and I want to create leader lines connecting labels with features in Styled Layer Descriptor. I spent significant amount of time searching for examples, tips etc., but I ...
5
votes
1answer
3k views

How can I save the label style as SLD in QGIS?

In QGIS there are 2 options to style labels. Using the style properties. Using the label in the toolbox When I dbl click layer -> styles -> save as SLD , the style of the label isn't saved in ...
1
vote
1answer
56 views

Where can I find all Styled Layer Descriptor vendor options for geoserver?

I am working with GeoServer and use SLDs to style my data. I noticed some tags you can use in your SLD which seem to be GeoServer specific. Is there a site which lists the different vendor options ...
0
votes
0answers
73 views

GeoServer SLD Filter rule before PointStacker transformation

I'm trying to apply a filter rule in an SLD, before applying the GeoServer PointStacker transformation (which groups points that are too close to distinguish their icons). This transformation is ...
2
votes
1answer
25 views

Need Help on Multiple External SLDs for Geoserver LayerGroup

I have a layer group called "basemap" in my Geoserver made up of 3 layers but their SLDs needs to be styled dynamically so I have decided to create a xml web service for the external SLDs but I am ...
1
vote
0answers
38 views

SLD for dot density

I am trying to find, or get help creating, an SLD to render dot density symbolization for a polygon shapefile for an online GIS display - in this case WorldMap. The dataset is county level US Census ...
0
votes
0answers
87 views

WMSGetFeatureInfo from layer with stackedpoint style

I have problem with WMSGetFeatureInfo. When i try it with layer styling stackedpoint i get exception: java.lang.IllegalArgumentException: Can't find neither a FeatureType nor a CoverageInfo or ...
0
votes
0answers
46 views

Pass sld env parameter with openlayers 3

Is there a way to pass sld env parameter with openlayers 3? It works to pass the env parameter with a normal getmap-request. Doesn´t openlayers support the env parameter? I used this example http://...
1
vote
0answers
50 views

External SLD file for OpenLayers [closed]

I'm creating a application with Geoserver, OpenLayers and Postgis. At some point, the user can select his own style for a layer. I've succeded to make a php script to write to a file the SLD code. ...
1
vote
0answers
19 views

geoserver sld color gone in zoom out

I badly need help... I have a layer served from geoserver, this layer is in polygon.. and in every polygon the color varies according to a number. so it is like a choropleth map. now my problem is ...
3
votes
1answer
95 views

Styling a shape file obtained from S-57 data

I have downloaded S-57 data for a particular region and intend to publish this as a layer in geoserver. To do this I used the ogr2ogr converter utility to convert S-57 data to a series of shape files(...
3
votes
0answers
959 views

Styling ENC data for Web?

Currently working on a project that among other things requires displaying NOAA ENC for a web based intranet portal. We downloaded S-57 ENC data from NOAA site and successfully imported them into ...
4
votes
3answers
362 views

Heatmaps: right terms (isopleth vs choropleth, etc) and how to implement a value-based one that looks good?

NOTE: My original question was about interpolation methods, but I've found that I was actually asking the wrong question. Interpolation methods with Heatmaps and IDW are the least of my problems right ...
0
votes
2answers
280 views

Geoserver SLD default style for feature?

I'm new with GeoServer. I'm trying to style a geoserver layer. The features come from a postgis table. The feature are all lines. I'd like to style them based on attributes (of the table). I can do ...
4
votes
2answers
156 views

SLD styling in QGIS, elsefilter not working

I need to figure out how to make elsefilter work when imported into QGIS (2.8.3) via sld. <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" ...
0
votes
1answer
44 views

Can I change the width of a line in a GeoServer WMS layer through OpenLayers?

I have a layer in geoserver with an SLD style, which I display in a map web app using OpenLayers2. I want to know if there is a way to change part of the style (the width of the line geometry) through ...
2
votes
1answer
57 views

Geoserver and SLD - continuous zooming of points?

I'm working with sld files and geoserver and I faced a problem about zooming in points at certain scale. Is it possible to zoom in a point layer so that points get bigger continuously like polygons ...
2
votes
1answer
103 views

Styling WMS layers in GeoServer with fields using “%” character

I have an Oracle Spatial 11g geodatabase connected to GeoServer 2.8 through Oracle plugin. Some feature classes have field names with % (percent) characters, e.g. NAME%EN or AREA%KM2. The layer shows ...
4
votes
1answer
1k views

How do I draw the arrow on the line using SLD of Geoserver?

I have a line layer in geoserver as in the 1st image. How can I draw an arrow on the line like in the 2nd image? The line.rar includes a shapefile and a sld file. Please help to edit an sample for me, ...
3
votes
1answer
56 views

Line offset issue with Geoserver

I'm using Geoserver 2.6.2 and QGIS 2.10 to check my WMTS display. According to the documentation, I have tried 2 different ways to draw a line offset for a line-type layer, but none is working ...
1
vote
0answers
23 views

How to position regularly-spaced arrows along line with Geoserver?

I'm using Geoserver 2.6.2. I would like the arrows I've positionned on linear features to be regularly spaced. The fact is that what appears as a line is in fact composed of several lines of different ...
1
vote
1answer
56 views

How to position direction arrows on lines' sides with Geoserver?

I'm using Geoserver 2.6.2. I need to represent direction arrows for line features. I have managed to position such marks on lines centroid but I need to position these arrows on the side of the lines. ...
0
votes
1answer
127 views

How to Convert SLD to CSS style in geoserver 2.8.1?

I am trying to convert SLD to CSS styles in latest geoserver version 2.8.1. i have added css plugins(from geoserver-2.8.1-css-plugin.zip) but not working properly. Is there any other plugin for ...
1
vote
1answer
32 views

Geoserver CSS style for PropertyIsLike

I am trying to convert sld to css style. The below code is have written sld style for filter a word using PropertyIsLike <ogc:Filter> <ogc:PropertyIsLike wildCard="%" singleChar="_" ...
1
vote
1answer
103 views

Customize Legend Geoserver

I am showing a legend coming from a geoserver. The SLD defining the layer is scale depending. Calling the GetLegendGraph like this results in a legend that shows both scales. I read about the ...
0
votes
2answers
496 views

OpenLayers 3 WMS Styling Using SLD_BODY and POST request

I'm using OpenLayers 3 and GeoServer to create a spatial web application in which I want to enable users to choose a colour ramp (using Colorbrewer) and a number of breaks for styling an attribute in ...
1
vote
0answers
93 views

How do I fix my SLD tile heat map when it comes up as dots?

I am currently working on an SLD heat map on GeoServer that uses tiles.There is a point in each tile with the data. From far away, the heat map looks normal. But up close it just becomes little ...
0
votes
1answer
431 views

GeometryCollection styling in Geoserver

I am trying to style an GeometryCollection geometry data type from PotGIS table in Geoserver. I have not found any examples on the Internet how to do it nor is it supported in Geoserver or not. When I ...
15
votes
0answers
817 views

Converting from SLD to Carto CSS? [closed]

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
141 views

How to properly draw and label overlapping polygons?

I would like to show overlapping polygons on a single layer. The polygons are coloured based on a property and labelled according to another property. The problem is then twofold: The polygons are ...
2
votes
1answer
42 views

Offsetting raster layers in GeoServer SLD

Is it possible to scale or offset raster layers in GeoServer SLD, for example to convert Kelvin to Celsius on the fly? Given a basic raster style: <?xml version="1.0" encoding="ISO-8859-1"?> &...
0
votes
0answers
39 views

Creating style file from SLD file for ArcGIS?

I was using GeoServer and created style files. Now I have switched over to ArcGIS and have a SLD file with different zoom extents and symbology. I need the same commands and symbology in ArcGIS. How ...
0
votes
0answers
23 views

Disapppearing features on different styles during Layer Preview in GeoServer?

This is one interesting feature of which I can't really think what the problem is. I have a shapefile of county with all sorts of demographic and economic indices to which I've created different ...
1
vote
1answer
200 views

Translate sld:name and ogc:property name into geoserver css

Given is following SLD rule: <sld:Rule> <sld:Name>mytrack#</sld:Name> <ogc:Filter> <ogc:PropertyIsEqualTo> <ogc:PropertyName>jogging</ogc:...
2
votes
1answer
96 views

Is <PerpendicularOffset> only available in GeoServer from version 2.9?

I need to visualize PostGIS' polygons as GeoServer WMS with specific style such that the polygons' stroke have different color between inner and outerside of the polygon. According to this reference, ...
1
vote
1answer
33 views

Geoserver SLD bivariate styling

I would like to use Geoserver SLD to style points using one attribute for the size in mapunits and the second attribute for the colour. This works well as separate rules styling either the colour or ...
1
vote
0answers
497 views

How to crop coverage with WPS chain in sld?

I had 2 layers: custom:Temperature: Point layer. custom:Region: Polygon layer. I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface of vector layer '...
4
votes
0answers
60 views

Dynamically style geoserver layer with timestamp column --> age of entry

I have a a postgis table with point geometries and a timestamp column, which has the information when the point was created. This table is already loaded as a layer into geoserver. So now in ...
0
votes
0answers
32 views

Radius of a point on the map which is clickable

I still have the problem that i have a point on the map which is very hard to click because it is so small. Is there a way to make the clickable radius for a feature bigger without changing the ...
0
votes
0answers
11 views

The geoserver openlayer renders disjoint lines [duplicate]

I am using geoserver 2.8 , PostgreSql 9.4 and Java 1.7 . I have written an sld to visualize the lines of the osm data of hamburg which I have converted to postgis format using osm2pgsql and then ...
2
votes
1answer
384 views

Geoserver OSM data Imported via osm2pgsql - most efficient tables to use to style roads

The Osm2pgsql importer for OSM data to Postgres results in two tables for ways, one called planet_osm_roads and a second one called planet_osm_lines The Osm2pgsql documentation states that the ...
2
votes
1answer
636 views

Vendor parameter <VendorOption name=“labelObstacle”>true</VendorOption> not working?

I am trying to avoid drawing overlapping labels with vendor parameters. I tried below option in different versions of Geoservers (2.2.1 to 2.5.2), its not working. http://docs.geoserver.org/2.5.x/en/...
0
votes
1answer
153 views

Geoserver SLD attribute-based symbology

I have a dataset where multiple attributes need to be shown with the same symbol. I can achieve this using multiple 'PropertyIsEqualTo' operators nested within 'Or' logical operators, see below ...
3
votes
1answer
83 views

SLD for Line-Features with gap at start and end

I'm trying to define an SLD for Line-Features (Using for WMS in Geoserver). The signature of the line mustn't go from startpoint to endpoint, but has to start 5 pixels AFTER the startpoint and has to ...
2
votes
1answer
62 views

Geoserver: Problems with external graphic URLs

In Geoserver, I try to save a SLD file containing this Rule: <sld:Rule> <sld:PointSymbolizer> <sld:Graphic> <sld:ExternalGraphic> <sld:OnlineResource ...
1
vote
0answers
39 views

Cannot render images on GeoServer SLD?

I updated from Geoserver 2.1.3 to 2.8.0 and I copied my SLD styles. I had all the images in a folder name "symbols" and my SLD was like <PointSymbolizer> <Graphic> <...