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

4
votes
1answer
743 views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
2
votes
1answer
243 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> ...
4
votes
3answers
275 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 ...
2
votes
1answer
230 views

How to stack multiple graphics/marks/backgrounds on a single TextSymbolizer in Geoserver?

I tried simply adding two marks to a graphic, but only 1 got rendered. I tried adding two graphics to a TextSymbolizer, but only 1 got rendered. I tried adding two TextSymbolizers to the same rule, ...
0
votes
2answers
210 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
69 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
32 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 ...
1
vote
1answer
21 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
65 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, ...
0
votes
0answers
29 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 ...
1
vote
1answer
306 views

Can I use relative path for image in SLD 1.1.0

Can I use relative path in the SLD 1.1.0? When validating it in geoserver, it said Parsing failed for ExternalGraphic: java.lang.IllegalArgumentException: URI is not absolute SLD: ...
2
votes
1answer
9 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
1answer
387 views

select (click) labels in openlayers

I have the following style for an OpenLayers vector layer. Color and Name come from Geoserver/PostGIS. I red that setting labelSelect to true, user can also click the label, not only the point and ...
1
vote
0answers
11 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
12 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
35 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 ...
2
votes
0answers
48 views

Using SLD in GeoServer with OpenLayers 3?

I am facing display problem in SLD. Working on Geoserver 2.8 & Open layer 3 I have one polygon layer in which I am applying SLD, when I view it in my web application polygon number is repeating ...
1
vote
1answer
18 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
25 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
84 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
62 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
325 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 ...
10
votes
0answers
663 views

Converting 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
80 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
33 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
25 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
14 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
146 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> ...
0
votes
1answer
75 views

How to crop coverage which is the result of gs:BarnesSurface with WPS chain in sld? It's throw a Error

I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface The SLD file is below: <?xml version="1.0" encoding="ISO-8859-1"?> ...
1
vote
1answer
43 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
20 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 ...
0
votes
0answers
94 views

How to Crop Raster Layer and Polygon Layer in sld?

I have 2 layer. temperature(Point Layer), coastLine(polygon). I can display the raster layer using gs:BarnesSurface with temperature layer. I would like to express to fit the polygon Layer. (I would ...
1
vote
0answers
401 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 ...
5
votes
7answers
5k views

SLD Editor with GUI?

I am setting up a GeoServer instance to serve up a few different PostGIS databases. I have GeoServer up and running however, it takes me forever to enter the SLD into GeoServer by hand. Is there a ...
4
votes
0answers
23 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
22 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
9 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
347 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
468 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. ...
0
votes
1answer
71 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
45 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
40 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 ...
0
votes
2answers
136 views

Dynamic Styling with Geoserver

In Geoserver, a have a SLD style with a rule that looks like this <Rule> <ogc:Filter> <ogc:PropertyIsGreaterThan> <ogc:Function ...
1
vote
0answers
26 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> ...
0
votes
0answers
22 views

Geoserver : declaring a sld with gsconfig

I tried to import a sld in geoserver using GsConfig. That's the code I used : from geoserver.catalog import Catalog cat = Catalog('geoserver.adress', 'login','wordpass') with ...
0
votes
0answers
43 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 ...
1
vote
0answers
25 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
41 views

SLD : how to filter the polygon below the central point of the map?

Here's a snippet of my code : <Rule> <ogc:Filter> <ogc:Contains> <ogc:PropertyName>ME_SURFACE</ogc:PropertyName> <!-- Doesn't ...
1
vote
1answer
172 views

OpenLayers 3, adding existing SLD for WFS layer

I don't know, how I can add my SLD style for WFS layer. When I add WFS layer, ol using default style for layer. When I add WMS, ol using my SLD style for layer.I using GeoServer + OpenLayers3. My code ...