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
0answers
61 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 ...
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 prefixes/namespaces....
3
votes
0answers
158 views

How can I add multiple rules in a GetLegendGraphic request in Geoserver?

I am using following GetLegendGraphcs request https://develop.blaa.nl/data/test/wms?LAYER=nccw:variabele_woz&request=GetLegendGraphic&format=image/png&styles=nccw_variabele_woz&rule=...
3
votes
0answers
353 views

Does QGIS support .sld style files for raster layers?

I'm currently looking at the documentation for geoserver, and I'm trying to load a raster and .sld file in QGIS to see if I can edit .sld files for raster layers. The .sld and raster are located here: ...
3
votes
0answers
143 views

SLD - disable follow line

I have a simple SLD style using in GeoServer v2.3.0 and testing in uDig. I have a interstate symbol that I do not want the label symbol to follow the line. I thought if I set: <sld:VendorOption ...
3
votes
0answers
709 views

Add SLDs to GeoServer using REST API Fails

I have been writing some python code to automatically add data layers from PostGIS to GeoServer and attach a suitable SLD as default. I got this working using the following code: store=("<...
3
votes
0answers
141 views

Display house numbers on the street corners

I have a street map (MuliLineString geom and house numbers min and max, left and right). I would like to show this numbers on the street corners. I use GeoServer. If I use the TextSymbolizer with ...
3
votes
0answers
533 views

SLD filter with embedded strTrim function in Geoserver

Using Geoserver 2.2.2 (GeoTools Version 8.4) on Windows 7, I'm trying to create a SLD that trims the leading and trailing spaces of a string property (using the strTrim function) and compares it to a ...
3
votes
0answers
960 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 ...
2
votes
0answers
55 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: https://github.com/NathanW2/MapInfo-...
2
votes
0answers
39 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 ...
2
votes
0answers
409 views

GeoServer: Get styles from PostgreSQL/PostGIS table

We're running GeoServer with all layers coming from a PostGIS data source. Most people work directly on the PostGIS database, but we have one person sitting 10.000km away, and for him, connecting to ...
2
votes
0answers
171 views

Linesymbolizer SLD For geoerver using SVG imags

I want to create a linesymbolizer which is consisted of a SVG (or png) image that is repeated along line. I have used this code but it does not show the image - can some one please gives me some hints?...
2
votes
0answers
60 views

Issue while marking to Point when multiple points exists at same location

I am facing Issue while drawing mark on points. When I am giving a image to points, image is coming only to those points where points are not overlapping. for example, if three POI exists at exact ...
2
votes
0answers
368 views

Geoserver SLD scale based view for multiple geometry styles

I have a FeatureStyle that draws line and adda an arraow to end point of the line. And I want to see this line and arrow by scale. So I specified a MaxScaleDenominator property. Now line is not ...
2
votes
0answers
214 views

SLD question regarding filter

I had a problem with my SLD today, I actually solved my issue but i'm very curious if there's another way around it, Mainly because my method is a hassle and may not work in other situations. I've ...
2
votes
0answers
648 views

How to put a piechart <Graphic> in <TextSymbolizer> of a Geoserver style?

I reckon that GeoServer layer label style has excellent feature of TextSymbolizer where text label can be positioned relatively on centroid of VISIBLE PART of polygon, as oppose to a geographically ...
2
votes
0answers
675 views

Rotation by attribute in Geoserver SLD style

I have a table with field calculated by function: NEW."rotationAngle" := degrees( ST_Azimuth( ST_StartPoint(NEW.the_geom) ...
2
votes
0answers
40 views

How not to repeat text in linesimbolizer?

I need make a sld style with line and label above. But it's not that simple because I have some additional requirements: Label without repeat Label fitted in line in ideal or put in line center. ...
2
votes
0answers
106 views

SLD styling based on Cql filter result

I am using Geoserver 2.4.4 with a postGIS database. I have 2 layers configured, one of them represents some polygons. I am trying to put a label inside the polygon with the number of the features of ...
2
votes
0answers
531 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
2
votes
0answers
636 views

WMS Query does not return all records (Geoserver)

This is a tricky one - so bear with me... i'm a Geoserver newbie... Basically, i have two very similar queries that return species records for a given species in a given geograpic area. One query ...
2
votes
0answers
79 views

Is there any sld styles for OpenStreetMap in ArcGis 10.1?

I want to display OpenStreetMap any possible way. 1) This map must be similar to the official OpenStreetMap. 2) Also I must cache data. So I need the WMTS protocol. This is vital. I can not use ...
2
votes
0answers
688 views

How to create SLD with inline features and style and add to WMS using GeoTools?

I am trying to create labels with arbitrary values on a WMS map using GeoTools (9.4). I have created a feature type, a feature (in a data store), and a user layer. With that I generated an SLD ...
2
votes
0answers
46 views

Is it possible to style a part of a label?

My label consists of two different things: <ogc:PropertyName>user</ogc:PropertyName> <ogc:PropertyName>room</ogc:PropertyName> I would like to style the two parts ...
2
votes
0answers
151 views

Optimizing SLD map styling implementation

Styling a map on demand can be a great bottleneck if you don't have a good strategy to deal with it. I'm sure there is a lot of techniques to implement the styling of maps, but I would like to ask you ...
1
vote
0answers
12 views

Duplicate an existing geoserver style using gsconfig

I am playing around with gsconfig and trying to assign a new style on a layer I have created. What I want to do is to actually create a new style, which is the same with an existing one. I searched ...
1
vote
0answers
31 views

How to specify distance between arrows in line sld in geoserver

i have designed sld for line format shape file in geoserver. in which i am using arrow symbol as shown in figure. the code is given <?xml version="1.0" encoding="UTF-8"?><sld:...
1
vote
0answers
26 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 ...
1
vote
0answers
132 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 ol.layer....
1
vote
0answers
20 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 ...
1
vote
0answers
23 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
0answers
39 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> <...
1
vote
0answers
38 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 ...
1
vote
0answers
66 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
159 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, ...
1
vote
0answers
94 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 ...
1
vote
0answers
58 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
0answers
94 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"> ...
1
vote
0answers
98 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
95 views

SLD filter questions using the other two conditions

I would like to specify the color and size in accordance with the speed and scale. This is a step of respectively 10. <Rule> <Name>rotate_ps1-1</Name> <Title>...
1
vote
0answers
113 views

How do I generate a WorldWind importable image file with a transparent background using an SLD file with PointSymbolizers on Geoserver?

I've been tasked with visualizing a few types of metoc data onto Worldwind based on .grib files. I'm VERY new to the GIS world and I'm just beginning to figure out how a lot of these pieces go ...
1
vote
0answers
214 views

GeoServer - Single Image Request - Graphic Label Issues

I posted this on the OSGEO GeoServer Mailing List but received no love, so I'll try here. I have GS 2.6.0. connected to a PostgreSQL 9.2 DB (PostGIS 2.1). I have an SLD where I am trying use graphic ...
1
vote
0answers
52 views

Query about How to display arrow on road in two ways if road is twoway

I am a beginner with GeoServer, i built a code for road mapping and it work but now i want to display arrow on road according to road direction in both way if road is bidirectional,then arrow should ...
1
vote
0answers
224 views

passing sld as a variable in parameter in ol3

I have a wms layer and I want to pass the sld variable in a parameter. I refer to Styling WMS layers in OL3 as well but cannot solve. The fiddle is http://jsfiddle.net/shumanbaral/x6qwyuvk/1/. ...
1
vote
0answers
212 views

GeoServer Style referencing SQL Server data store

I have a SQL server (2012) based data store in GeoServer (version 2.6) . For better readability I created a spatial layer with a whitespace in a column (attribute) name. Trying to use a style with ...
1
vote
0answers
246 views

styling wms layer using sld in openlayers3

i want to style wms layer using sld in openlayers 3.written part of code shown below.but not any console error messages are shown and not applied styles to layer..... var sld = '<...
1
vote
0answers
77 views

How to use Infinity in GeoServer SLD colormapentry

I am trying to write an SLD with the last interval ending at infinity, (i.e. have the last interval include arbitrarily large numbers. Currently, I am using a large value like this: <...
1
vote
0answers
76 views

geoserver wms layer doesn't see

I've created a new layer, and styled with an .sld file (categorized by value). It works, if I check with Geoserver OpenLayer Preview, but when I citate for this in a .html It doesn't appear. Is the ...
1
vote
0answers
90 views

GeoServer SLD PropertyIsEqualTo problem

I'm having a, frankly, super annoying problem with SLD and the ogc:PropertyIsEqualTo/ogc:PropertyIsEqualTo filters. I have 3 different GeoServer instances on 3 different machines. All instances are ...