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
1answer
15 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 ...
1
vote
1answer
22 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 ...
4
votes
2answers
70 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
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 ...
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
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
14 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. ...
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="_" ...
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 ...
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 ...
1
vote
1answer
26 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
85 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 ...
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
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
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, ...
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
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 ...
0
votes
1answer
73 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 ...
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 ...
3
votes
1answer
46 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 ...
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
42 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
175 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 ...
1
vote
1answer
65 views

Geoserver 2.5 style SLD import from QGIS issue

I have created an SLD file from a layer in QGIS that I am trying to import into Geoserver 2.5 but am having some problems with an issue. The error I am getting back is: Parsing failed for Filter: ...
0
votes
1answer
194 views

Geoserver SLD for min-max scale range display

I am new to Geoserver, so this is potentially very simple. I am trying to add a scale range to a layer that I am serving as a WMS. I want the layer to only be displayed between 1:30,000 and ...
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
5 views

How to show Two Labels of One feature In Geoserver…? (Part 2) [duplicate]

This is how my SLD 1.0.0 rule looks like <sld:Rule> <sld:Title>Reser Type</sld:Title> <sld:PolygonSymbolizer/> <sld:TextSymbolizer> ...
0
votes
2answers
137 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 ...
0
votes
1answer
46 views

How to get FID recognised by GeoServer?

I'm trying to load a shapefile into a GeoServer that has a style defined which makes use of the FID attribute: <PolygonSymbolizer> <Fill> <CssParameter ...
2
votes
0answers
36 views

What are the rendering options for timeline animations in QGIS?

I want to animate a shapefile that has a timeline (DATE) attribute using QGIS. The [TimeManager] plugin (http://anitagraser.com/projects/time-manager/) has been installed and provides sufficient ...
1
vote
1answer
170 views

Geoserver SLD: Dynamic Variable Substitution

I'm facing a problem with Geoserver and its styling mechanism that I'm not sure whether it's possible to be solved or not. But first, a quick context... Context We want to use Geoserver and ...
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 ...
0
votes
0answers
23 views

How to compact sld files?

I have 3 SLD file (let's cal them 2013, 2014, 2015) which are related to three shp file. The shapefiles are identical except from the fact that one has data quantity from 2013 and so on. Therefore ...
1
vote
2answers
111 views

Can TextSymbolizer font size be set as a function of the scale?

The standard behaviour when rendering WMS layers is to keep the text size across all scales and then filter out colliding labels so that the text remains readable, although delivering incomplete ...
0
votes
1answer
239 views

geoserver SLD in ol3

i have some vector layers in geoserver with style (SLD) When i add these layers though OL3 i want to use same SLD. right now i am giving style to layer as below style: new ol.style.Style({ ...
0
votes
0answers
75 views

GeoServer: Filter Function problem for function if_then_else argument #2 - expected type Object

I'm facing a problem with the GeoServer SLD XML. My XML code is as follows: <Fill> <CssParameter name="fill"> <ogc:Function name="if_then_else"> ...
2
votes
1answer
25 views

GeoServer: is grades to degrees transformation possible through SLD file?

I work on GeoServer 2.6.2 and PosgreSQL 9.2 / PostGIS 2.0. I have declared a layer in GeoServer which is linked to a PostgreSQL database table. In this table, I have a column (obj_orientation) storing ...
0
votes
0answers
47 views

QGIS version migration of Styled Layer Files

I have a stand alone application which reads SLD files, to draw something on a map canvas (development started under QGIS version 2.0.1). Unfortunally I have to deal with these old SLD files version ...
1
vote
3answers
118 views

Open library for generating Styled Layer Descriptor (SLD) files?

I'm developing an app that can create/edit shapefiles and visual representation of vector layers and to export them to some of most common geoportals(f.ex. GeoServer). I have dealt with .shp, so now ...
2
votes
1answer
191 views

SLD fill-opacity not having any effect

I am attempting to draw a WMS layer consisting of multiple polygons of different colours and an opacity of 0.4. The relevant part of my SLD is <PolygonSymbolizer> <Fill> ...
1
vote
0answers
49 views

Geoserver create generic dynamic style

I'm quite new to geoserver, and I wonder if its possible to create a dynamic style. I got a big shapefile with more than 600 variables, and I want to create a generic style where you can input the ...
1
vote
0answers
100 views

GeoSever PointStacker Renders incorrect position

I've been trying the GeoServer Rendering Transformations - Point Stacker. According to this docs there's an optional cellSize parameter for setting the "Size of the cells in which to aggregate points, ...
4
votes
3answers
276 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 ...