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
169 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
359 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 ...
3
votes
0answers
75 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
438 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
121 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
383 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 ...
2
votes
0answers
11 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
20 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
42 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
101 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
21 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
38 views

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

I am using following GetLegendGraphcs request ...
2
votes
0answers
67 views

How to create dynamically styled symbols (fill, stroke, stroke-width ..) with Geoserver?

Case scenario: I need to create symbology that takes fill, stroke and stroke width with information from the database. Problem arises with custom defined symbols like the one on the image. There are ...
2
votes
0answers
50 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
59 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
328 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
41 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
535 views

What is the least painful way to style ENC data for the 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
147 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
20 views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
1
vote
0answers
15 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 ...
1
vote
0answers
24 views

Openayer Style SLD for ship

I am trying to find an sld for a Ship. I am parsing an AIS feed and would like to make the ship different colors based on class of ship and length as well as rotate it based on the COG (course). ...
1
vote
0answers
46 views

How to load style from postgresql?

Is there any way to load a postgresql style for a vector layer using python? There is a function: loadNamedStyleFromDb (const QString &db, const QString &theURI, QString &qml).Does it ...
1
vote
0answers
23 views

Openlayers text symbology is not being shown

I have a Vector Layer in a .json file: { "type" : "FeatureCollection", "features": [ { "type": "Feature", "properties": { "Station_Id":107, "NAME":"ARDEBIL(F)","ELEVATION":"1314.3"}, ...
1
vote
0answers
84 views

How to crop coverage with WPS chain in sld?

I had 2 layers: custom:Temperature: Point layer. custom:Region: Polygon layer. I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface of vector layer ...
1
vote
0answers
32 views

Polygons missing from GetMap when stroke symbolizer is absent from SLD

We have an interesting scenario with one of our layers being served via GeoServer 2.2.3. The data is stored in a PostGIS DB. Certain GetMap requests were returning empty tiles, but only at certain ...
1
vote
0answers
39 views

Nested Geometric Functions in SLD in GeoServer

I want to use nested geometric functions in SLD of GeoServer. For example I want to set some offset for certain type of polygons in my data. Then output of the offset geometric function needs to be ...
1
vote
0answers
44 views

How to get full 16 bits range using RasterSymbolizer and ColorMap ramp?

I am attempting to get the full 16 bits values of my DEM (stored as TIFF files) rendered in WMS tiles (png format). For this I use GeoServer 2.5 and a RasterSymbolizer with a ColorMap of type "ramp". ...
1
vote
0answers
50 views

How to sort SLD file for BGS Digimap provided by Edina?

Does anyone know how to sort the sld files provided here: http://digimap.edina.ac.uk/webhelp/geology/using_data_with_gis/legend_files.htm The reason I ask is that I only want to display the ...
1
vote
0answers
308 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 ...
1
vote
0answers
337 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 ...
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
0answers
239 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: ...
1
vote
0answers
158 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
0answers
118 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
348 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
vote
0answers
183 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
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 ...
1
vote
0answers
230 views

How to handle multipoint symbology catalogue (as in mil2525c, tactical graphics appendix b)

Is there a general format (standards based) to store a vector based drawing description for multipoint symbology (means having several anchor points reflecting symbol point <-> geographic point ...
0
votes
0answers
18 views

GeoServer SLD: fill a polygon with color sampled from gradient

I have a "geometry" and a "rating" column. I want to symbolize the geometries in an SLD (PolygonSymbolizer) but fill it with a color value that is interpolated between BLUE-PURPLE-RED based on the ...
0
votes
0answers
27 views

Clustering on Geoserver layer appearing out of the map

We are using Geoserver and openlayers to display maps. Geosever layer provides list of sites, since there were many we did a clsutering using Styles. But the problem is when we zoom out completely ...
0
votes
0answers
30 views

Overview of SLD expressions

Does anyone have an overview of how expressions are supposed to work along with an overview of all available expressions. I have looked at the official references at the website of the OGC and I can ...
0
votes
0answers
20 views

Mapserver and SLD Files

I have a set of data layers that define a map from small to large scales. These layers are available through mapserver and are grouped in the mapfile so:- LAYER GROUP large_scale NAME roads .. ...
0
votes
0answers
30 views

What does property FeatureTypeName do in Styled Layer Descriptor (SLD) specification?

I am studying the Styled Layer Descriptor (SLD) specification. I got a general grasp of how I can use it to style a map. I still have one question about the FeatureTypeStyle though. When looking at ...
0
votes
0answers
20 views

Tiles causing problems with dasharray

I'm having a problem with a stroke-dasharray in Geoserver SLD. When previewing in single-tile mode, everything looks like I want it to, but when I preview in tile-mode I get gaps on the border of the ...
0
votes
0answers
15 views

SLD filter function usage for placing symbol at a particular point on the geometry (the_geom)

I am applying a symbol to a point on ellipse. For this i used the startPoint function, but my ellipse's coordinates start from the right side on the curve so it wrongly places the symbol at the right ...
0
votes
0answers
74 views

Geoserver KML Rendering in Google Earth - SLD Errors

I have a layergroup with custom SLD's in Geoserver: Layer preview All the symbology renders fine. If I try and add the KML as a network link into google earth using this URL I lose most of my SVG and ...
0
votes
0answers
145 views

Changing the SLD Repeat attribute appears to have no effect for a line label on a WMS layer

I have a WMS layer (within Geoserver) for roads, and a style defined to label these roads. I have the repeat set for the Text Symbolizer as follows <VendorOption ...
0
votes
0answers
34 views

How can I use the SLD and SLD_body arguments?

How can I use the SLD and SLD_body arguments of a GetMap request with the mapA.overlayMapTypes.ImageMapType object? var wmsOptions = { alt: "", getTileUrl: function (tile, zoom) { return ...
0
votes
0answers
61 views

Pointstack with different count-1-symbols / SLD / GeoServer

I try to use the pointstack sld to visualize my data at different scales. I used the example from http://suite.opengeo.org/opengeo-docs/cartography/rt/pointstacker.html, and everything is fine. ...