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

1
vote
1answer
21 views

GeoServer - Multiple symbology on single layer

I'm trying to show multiple symbologies on a single GeoServer layer. I'm also using the CSS extension, but an SLD example would be fine. My GeoServer version is 2.8.2 For example: A yellow rectangle ...
1
vote
1answer
49 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?
-4
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 ...
0
votes
0answers
14 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 ...
1
vote
1answer
31 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 ...
-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
13 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 ...
4
votes
1answer
1k views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
1
vote
1answer
1k views

Unexpected font family displayed using custom SLD from a published WMS using geoserver

When publishing a WMS in geoserver using a custom SLD file, I'm seeing the WMS preview correctly on my local geoserver. However, doing everything the same on a remote hosted geoserver, my seeing an ...
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: ...
2
votes
1answer
350 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: ...
1
vote
1answer
445 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 ...
0
votes
0answers
37 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? ...
2
votes
1answer
254 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> ...
0
votes
1answer
32 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 ...
0
votes
2answers
229 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 ...
2
votes
1answer
262 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, ...
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
419 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
1answer
20 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 ...
7
votes
7answers
6k 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 ...
0
votes
0answers
325 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 ...
0
votes
1answer
18 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
20 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 ...
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 ...
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
0answers
62 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
1answer
548 views

Label background in SLD

Is there any possibility to construct SLD style which displays label with rectangular background? Background has to have sizes which automatically fit to sizes of text content. I would prefer not to ...
3
votes
1answer
735 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" ...
1
vote
1answer
36 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
79 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
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 ...
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
50 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
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
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 ...
1
vote
0answers
33 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
77 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
33 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
43 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
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
56 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 ...
3
votes
0answers
925 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
321 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
244 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
112 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
40 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
45 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 ...