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
0answers
13 views

How set transparent background in WorldImage format? [duplicate]

It's not duplicate, in previous question I use only GeoTiff format, without .tfw file. I have WorldImage file (.tif and .tfw files). When I apply ColorMap in .sld file, nothing happens. I need set ...
1
vote
1answer
47 views

Changing background color to transparent in GeoServer?

How to set the background color to transparent. I want use style which describe in *.sld file for all my photo with tif format. How to do that?
0
votes
0answers
12 views

Transforming GML into image?

I am looking for a simple way to transform a GML file into an image. I have a number of SLD files to provide the formatting. In the past we used an XSLT style sheet to transform the GML into a SVG ...
-3
votes
0answers
16 views

How can I publish a layer with default visibility true/false in geoserver?

I have published layers on geoserver but a few layer- I want to publish as default visibility = True just like below (ArcGIS server has this property). right now most of my layers are coming with ...
1
vote
1answer
12 views

geotools : styling features based on a custom rule

I have a java swing app which loads lines shapefiles which represents a road system. I want to show the congested roads on this map with a separate style. My current approach I have two attributes ...
0
votes
0answers
29 views

Adding a border of different color to a halo in StyledlayerDescriptor

How to add a border of different color to a halo in StyledLayerDescriptor. I am trying to add halo to my labels, but I want the border of the halo f different color than the halo. How to achieve that? ...
0
votes
1answer
25 views

Geoserver Dynamic Colormap using CQL won't work

I'm trying to create a dynamic heatmap using GeoServer 2.8.3, but when it comes to validating the colormap-part of my SLD i keep getting the same error: line 66: cvc-datatype-valid.1.2.1: ...
0
votes
1answer
31 views

Creating custom SLDs for Heatmaps using GeoServer

im trying to figure out whether it is possible to create a custom SLD to style heatmaps provided by GeoServer depending on dynamic data input. Already checked out the Rest api and some related ...
2
votes
0answers
32 views

Converting from QML to SLD on the command line

We have the problem of automating the conversion of MapInfo TAB styles to SLD. I've managed to achieve the first part of the process (TAB -> QML) using this tool: ...
1
vote
1answer
19 views

SLD combine interpolate+categorize function and pass threshold

In my requirement I have a float atribute (value) containing values between 0 and 10. I want to use the interpolate function to color values between 0 and the threshold=5 in green colors and to ...
0
votes
1answer
17 views

Styling in OpenLayers2: unknown symbol name

I'm using Geoserver 2.8.1 and OpenLayers 2 to visualize cartographies, the geoserver documentation indicates I can use extra symbols in my SLD, the "shape://oarrow" for example : <Mark> ...
0
votes
0answers
15 views

How can you decrease or increase poi's count based on zoom level?

When i'm trying display pois, all poi's circles are overlapping on each other, How to display less poi's in high zoom and huge poi's in less zoom level. please check my sld` ...
0
votes
1answer
18 views

Change Title Of Geoserver Legend Decoration

My colorramp legend's title gets set to be the layer's name. I'm wondering if I can override this and set the title explicitly. For example let's say I want to change the colorramp's title from ...
0
votes
0answers
4 views

How to get SLD Attributes from geoserver for layer ? [duplicate]

Hi i have create a SLD style for layer in Geo-server . i have tried link to access the styles but getting some url http://mydomain.com/geoserver/rest/sldservice but getting by default page. see the ...
1
vote
1answer
39 views

How to get all the Rules and Filters form Geo Server for specific Worksapce

I am using Geo Server 2.4.2 for storing my vector data. And i created a style for a layer now i want to fetch all the Rules and Filters from style which i created on my work-space. i am currently ...
1
vote
1answer
33 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 ...
1
vote
1answer
30 views

problem displaying inline features with geoserver sld

I am trying to display a simple inline feature on top of other features with geoserver. I need the top feature to be defined through sld. The sld does'nt give me any error but also does not display ...
1
vote
0answers
21 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 ...
2
votes
1answer
18 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 ...
0
votes
0answers
32 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 ...
1
vote
0answers
42 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
76 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 ...
1
vote
0answers
18 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
55 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 ...
2
votes
1answer
43 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
108 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
57 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
23 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
17 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
38 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
29 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="_" ...
3
votes
0answers
77 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
85 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
67 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
295 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
34 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
21 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
27 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
102 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
71 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
38 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
28 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
88 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
117 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
53 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
73 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
29 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
29 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
73 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 ...