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
1answer
141 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
57 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
79 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
32 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
36 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
84 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
36 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
64 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
329 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
111 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: ...
1
vote
1answer
533 views

Geoserver SLD for min-max scale range display

I am new to GeoServer. 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 1:1,000,000. I am using the max/min scale ...
2
votes
1answer
41 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
8 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
254 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
65 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
38 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
230 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
119 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
28 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
199 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
459 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
115 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
29 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
60 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
210 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 ...
3
votes
1answer
435 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
64 views

Geoserver create generic dynamic style

I'm quite new to GeoServer, and I wonder if it is 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
145 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
344 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
0answers
67 views

How to create an percentage based SLD heatmap?

I am trying to create a generic heatmap sld based on percentages of the maximum value. Right now the legend is something like 0-456, 456-892,892-1109, etc. But I want this SLD to be generic so it is ...
3
votes
1answer
281 views

How do I use env parameter variables in an SLD colormap?

We have data being represented by the colormap copied below. I need to use env variables to change the hard coded color steps into whatever's input to the url parameters. I know you can ...
1
vote
1answer
179 views

Geoserver SLD line ends labeling

I am having a hard time putting labels on both ends of a line Here is SLD that I have so far. It puts a label on one side only but I need it on both ends of a line. <?xml version="1.0" ...
1
vote
1answer
71 views

SLD one layer with several feature types

I wrote an SLD for a layer that contains two feature types: us-net-sw:SewerPipeand us-net-common:Appurtenance. My WMS - implemented with deegree - only renders us-net-sw:SewerPipe. I don't know if my ...
1
vote
0answers
87 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 ...
2
votes
1answer
160 views

Draw line with lon, lat, distance and azimuth

I have table in PostGIS with lon, lat, distance and azimuth columns. I want to make Geoserver draw a line through first point with given length and direction. I can turn lon and lat to geometry in ...
0
votes
1answer
104 views

Geoserver - SLD style with aliases

I'm new at Geoserver. I've data in postgis tables and using QGIS OpenGeo plugin to publish data to Geoserver. Postgis tables --> QGIS (Opengeo) --> Geoserver I would like to give a different name ...
1
vote
1answer
53 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 ...
1
vote
1answer
297 views

Problem with NotEqualTo filters in SLD and CSS

I am having a bit of a problem with using a '<>' attribute filter in CSS for GeoServer. I have parred my CSS down to the absolute minimum for a buildings layer as follows: [aeroway <> ...
1
vote
0answers
57 views

Displaying multiple features from a geoserver layer with time and style in a KML

I have 4 datasets organized in a PostGIS database each of the same geometry and location except they are at different times. They each have a corresponding datetime field. I can load these into a ...
1
vote
1answer
129 views

Encoding SLD files

I am creating a SLD file and uploading it though the REST API using C#. This SLD file contains some danish characters, but the end result turns out bad. For a test I save the xml file to disk before ...
1
vote
1answer
187 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> ...
3
votes
0answers
1k views

Exporting QGIS styles to SLD for GeoServer?

I´m starting to dive into sld creation for Geoserver 2.7.1 Therefore I´ve also looked at Qgis 2.8.2 as it can export styles to SLD. Where I´m clueless is the big amount of used ...
1
vote
1answer
178 views

SLD styling rule for first and last geometry feature in PostGIS table

Writing a SLD file to style a Points layer which I publish as WMS with GeoServer, is it possible to specify a rule that is only applied to the first and last features in the underlying PostGIS table? ...
0
votes
0answers
426 views

Labels not displaying correctly in the centroid of the polygon in GeoServer SLD

When creating labels using centroids of a polygon layer, I'm facing the problem that some of them are missing. Eg: Ok, I can make it reappear by using "maxDisplacement" vendor option, but, using ...
0
votes
1answer
41 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
0answers
90 views

How does getLegendGraphic, from GeoServer, handle attribute-based styles?

Suppose I have a layer with a color attribute. Now, I write an SLD with a fill color like this: <sld:PolygonSymbolizer> <sld:Fill> <sld:CssParameter name="fill"> ...
0
votes
0answers
19 views

is it possible to make a continuous line using SVG in SLD? [duplicate]

I am trying to make a line with thinner one side outline using SLD in GeoServer (like this: ). Since GeoServer is not support perpendicularOffset element yet, i cannot move the thin line to the edge ...
1
vote
0answers
90 views

How to make symbolizers use attribute values in OpenLayers.Layer.WMS?

I know it works like a charm for vector layers. But considering that we can make the symbolizers use attribute values in the SLD, I think OpenLayers should support it. But apparently it doesn't. In ...
1
vote
0answers
112 views

assign sld to Openlayers 3 TileWMS [closed]

Based on this: Apply an SLD saved on Geoserver to OpenLayers 3 I try to set a SLD in the params of a TileWMS. The SLD is saved on Geoserver, but everything i tried failed. The strange thing about it ...
0
votes
0answers
344 views

java.lang.IllegalStateException: Form too large 326482>200000

I have a problem with Geoserver style creator! When I want upload a SLD file that I create it by QGIS I will see this error! Geoserver 2.6-SNAPSHOT, QGIS 2.8 HTTP ERROR 500 Problem accessing ...