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
219 views

Is it possible to convert QGIS QLM to SLD (w/ New Symbology)?

I have a QGIS project where I have created some nice styles using New Symbology. I would like to convert this to either SLD for use in GeoServer or CartoCSS for use in TileMill. I have tried saving ...
2
votes
2answers
558 views

Styling OS Vectormap Local in QGIS?

I am attempting to style Ordnance Survey Vectormap Local on QGIS 1.8.0 by using the styling sheets suplied by Ordnance Survey. The styling sheets are available from the OS website ...
1
vote
1answer
315 views

Is there any instructions to download OSM in postgres database?

Is there any instructions to download OSM in postgres database? I use geosuite (geoserver, postgres, postgis). I'd like to download USA and Russia (1-12 levels). I also want to download sld styles. ...
2
votes
0answers
313 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 ...
1
vote
0answers
57 views

georectification via SLD is not appearing at the correct place

I am trying to georectify layers on the fly (feeded by Geoserver) in OpenLayers. To do so, we have created a style (SLD) in Geoserver that does the georectification provided that we feed it a ...
1
vote
1answer
315 views

Geoserver optional symbology with variable substitution in SLD

I am trying to write an SLD that optionally takes a symbology for a PolygonSymbolizer and I can't work out how to do default to no symbology if the symbology env parameter is not set. I have used the ...
0
votes
2answers
213 views

Linking sld to vector layer

I have created a vector layer by reading a geojson file and I have a SLD file created for this layer. I am wondering how do I link the SLD file to the layer. I had a read of this example on Openlayers ...
2
votes
1answer
191 views

Geoserver: Georectification via SLD fails

Situation I have a raster image and the coordinates of its four corner pixels. My goal is to warp the image with respect to this coordinates ("georectify") on the fly when requested via GeoServer to ...
0
votes
0answers
89 views

How to ask the Interpolate function with CQL in Geoserver?

I like to display my own picture on Geoserver. But I want to use the geoserver's dynamic feature to color my picture. As explain in the documentation, I tried the purposed solutions : create a ...
1
vote
1answer
221 views

Issue showing multiple labels on a polygon of a OpenLayers

I am facing an issue, that I want to show multiple labels on each polygon of openlayers. I am defining styles in style editor of a layer.like <sld:Label> ...
0
votes
1answer
1k views

How to dynamically change SLD style of WMS layer being served by GeoServer from PostGIS?

How can I dynamically change a SLD style of a WMS layer being served by GeoServer from PostGIS?
2
votes
0answers
39 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 ...
0
votes
2answers
773 views

Issues with datasets when custom SLD loaded into geoserver

I have created my SLD's in QGIS and want to use them in Geoserver. I have imported and validated them without any problems but when I try to view the data using Layer Preview --> OpenLayers-->Go it ...
2
votes
1answer
424 views

Can I view the Geoserver zoom level in QGIS

I am creating some sld's using QGIS for use in Geoserver and wanted to view the current zoom level so that I can then define it in the zoom level. Is this possible? For example <!-- Local ...
2
votes
1answer
112 views

Label size in map units, geoserver .sld file

Is it possible to define labels in map units in a sld file? Thanks.
3
votes
0answers
342 views

How do I convert from SLD to Carto CSS?

I have a bunch of layers and corresponding SLD's running a WMS service. I was exploring the possibility of shifting to a TileMill's tile based TMS service. For this, I would like if it were possible ...
1
vote
1answer
121 views

Geoserver SLD style order not applied

I use a .sld to style a road layer according to 4 classes. Normally, the Painter algorithm should be applied: which come first is drawn first. But this does not really apply. The .sld are saved from ...
0
votes
0answers
55 views

Can I manually set the size of GeoServer's tiles?

I'm using GeoServer to generate a street name overlay that we can use with our various basemaps. It works great, but the names repeat too often to be truly beautiful. I've tried bumping up the ...
1
vote
0answers
216 views

How to make interpolation with SLD?

I want to make color interpolation with SLD on Geoserver. Interpolation works fine. But i need to know min, middle and max property values to make it correct. So i want to know this values, i says: ...
3
votes
2answers
445 views

Dynamic SLD styling based on min / max value in a PostGIS column

I have a PostGIS table that contains the GDP of countries together with their polygon boundaries. I am using GeoServer to display this data via OpenLayers. When styling the data, I want to avoid ...
1
vote
0answers
145 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> ...
1
vote
2answers
322 views

Arrow labels not rendered correctly

Geoserver SLD: <sld:LineSymbolizer> <sld:Stroke> <sld:CssParameter name="stroke"> <ogc:PropertyName>geo_color</ogc:PropertyName> ...
1
vote
1answer
489 views

How to show Two Labels of One feature In Geoserver…?

I have prepared a Web GIS Map using Geoserver-Openlayers_Postgis....For One Feature I need to show two labels such as "premise_no' & "bld_name'... The following is the xml I used for styling(in ...
4
votes
2answers
138 views

How do I parse getStyle request?

I am having problem parsing http://localhost:8080/geoserver/wms?request=GetStyles&layers=topp%3Astates&service=wms&version=1.1.1 getStyle response from geoserver of layer topp:states. ...
1
vote
1answer
638 views

Converting avl to sld or qml

Is there a simple way to convert a avl file into a sld or qml? Deegree does not work an my laptop (java problems) Or is there a way to open the original avl file in qgis? Thanks
3
votes
2answers
912 views

Display points labels starting at certain zoom level

I use WMS to display my points on the map. I would like to display points labels(name_ID) starting at certain zoom level. From What I have read I understand I can do it with GeoServer rules, but I ...
3
votes
0answers
74 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 ...
0
votes
1answer
42 views

A PROBLEM WITH XML Standard Layer Descriptor for GeoServer

I wrote an xml in Standard Layer Descriptor for GeoServer, with the objective to map a satellite image with discrete values. I wrote: < ColorMap type="intervals"> < ColorMapEntry ...
1
vote
2answers
249 views

how to produce xml file in SLD to add discrete colors and color legend

I have to produce a xml file, according to Styled Layer Descriptor (SLD) (for more informations you can see: http://www.opengeospatial.org/standards/sld). The file is required by GeoServer and it has ...
0
votes
2answers
94 views

Draw line as a text in wfs

I have a WFS for addresses where geometry is a line with 2 points. Is it possible to have an SLD that draws a text (i.e. house number) along the line using the line as vector defining the text ...
1
vote
0answers
115 views

SLD style definition from GeoServer to Drupal

I've been experimenting with the SLD style definitions in both GeoServer and Drupal. What I want to achieve is to create a new style in GeoServer (by a curl operation, but I know how that works) and ...
1
vote
0answers
323 views

How can I parse the SLD file that sits in Geoserver so that I can apply the styling to WFS layer?

I have a layer that can be configured to render as WFS or WMS. I want to apply the same sld styling that I have defined in Geoserver to make it consistent. But when I try to get the SLD text from ...
-1
votes
2answers
197 views

styles when merging shapefiles in qgis

Trying to create something for mapstory.org It wants it in all one shapefile. So I create a polygons and lines (with time attributes) in qgis 1.8 Then merge them all into one shapefile, how can you ...
1
vote
1answer
915 views

Why won't GeoServer render my SVG symbols?

I'm trying to use GeoServer to render a point layer with custom symbols. This worked perfectly well when my symbols were PNGs, but we haven't decided exactly what size our symbols should be, so I ...
0
votes
1answer
264 views

OpenLayers SLD duplication problem

Hey guys i am creating a web map and I am running into a little problem. I am serving two WMS layers from GeoServer to my OpenLayers script. For styling I am using SLD in GeoServer. The SLD script ...
1
vote
0answers
174 views

SLD Pointsymbolizer with color ramp based on first random attributes

The company I work at does drillings all over the country. These drillings are then presented as a service. So obviously this layer needs an SLD. For the moment every drilling is a green point, but we ...
1
vote
1answer
238 views

GeoServer Transformation Function (Categorize) Problem

I'm trying run three filter functions(Recode,Categorize,Interpolate) described at the bottom of this page http://docs.geoserver.org/stable/en/user/filter/function_reference.html Recode and ...
1
vote
1answer
357 views

Desktop client symbolozing a WMS layer by sending SLD to the WMS server?

Objective is simple: finding 'desktop software' (such as ArcGIS, QGIS, etc) that can load a WMS layer, and then send its own SLD to apply to the WMS server in order to get the WMS layer back with the ...
0
votes
2answers
160 views

sld parser for version 1.1.0 with Openlayers

I am using Openlayers 2.11 and need to style a layer with a sld file version 1.1.0. the error it says is Uncaught Can't find a SLD parser for version 1.1.0. i have also tried it with Openlayers 2.12.
4
votes
1answer
1k views

How to use a sld file with Openlayers using OSM data?

My app, made with openlayers, displays building data called from overpass api. var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
2
votes
1answer
524 views

How to style a point based on Actual Attribute Values?

I have published a point layer in Geoserver, which is the data from a GPS Survey. In addition to the geometry, my layer, also contains an Attribute for Accuracy, which indicates the Accuracy in meters ...
3
votes
2answers
347 views

Problem with Styles having a Workspace

I've encountered a little problem with my styles having an assigned workspace. For one, I've got to admit that I'm not really sure what good does it make to put a certain style inside a workspace. I ...
3
votes
0answers
432 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: ...
3
votes
0answers
120 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
369 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 ...
6
votes
1answer
680 views

In SLD, how do I add a string to a label describing a property?

Using Geoserver, is there any way that I can add a predefined string: "No. " to a property: postalnumber? <sld:Label> <ogc:PropertyName>postalnumber</ogc:PropertyName> ...
3
votes
1answer
464 views

Dynamic SLD styling - unique colours for linestrings

I have a postGIS table that looks like this: (plus a 'track' geometry column, a linestring for the vessel's track) sampling_interval | voyage_name | start_time_utc | id | ship_name | ...
1
vote
0answers
61 views

Is there a way to retrieve the shape of a styled object from a database?

I am working with geoserver on an oracle database. I am trying to generalize my SLDs and make them more dynamic. The idea is to store all styling information in the database and let the SLD retrieve ...
3
votes
1answer
796 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 ...
3
votes
1answer
1k views

Is there up to date OSM SLD file for GeoServer?

I've tried looking for some but only found old from 2009 which are apparently out of date. Any help will be welcome. This is the sld I was looking at: https://github.com/mitchelljj/openstreetmap-sld ...