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
0answers
19 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
1answer
218 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 ...
2
votes
0answers
54 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 ...
0
votes
0answers
62 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
109 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 ...
1
vote
1answer
207 views

Error using SLD with MapServer based WMS (GeoBC)

I'm trying to customize rendering of map tiles from a government WMS server. When I use the GetStyles WMS query to retrieve the SLD for a layer, then feed that SLD directly back in a GetMap query, ...
1
vote
0answers
35 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 ...
0
votes
2answers
94 views

Geoserver / SLD multiline lables not working?

for several hours Im trying to create a multiline label for a line. I use Geoserver 2.5, the line is in postGIS, the style is very simple : <?xml version="1.0" encoding="UTF-8"?> ...
1
vote
1answer
605 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
1
vote
2answers
1k views

Looking for a MAP to SLD converter

Does anyone know where I can find the converter from .map to .sld? I have a big mapfile of styles for OSM and I have the styles mapnik.xml for OSM but I use Geoserver for my work. Or does anyone have ...
3
votes
1answer
123 views

Styling SLD Files for Geoserver XML Editors and Notepad++

I am currently using Notebook++ to edit my GeoServer Styles (Yep, I like to do them the hard way). This is a Windows Environment. I also use XML Copy and XML Notepad 2007 Editor but so far I have ...
0
votes
0answers
32 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 ...
1
vote
0answers
39 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". ...
3
votes
1answer
401 views

How to transfer styles from QGIS to ArcGIS?

We have a QGIS project that has symbols for a lot of different lines. Data comes from a geodatabase that is accessible to both QGIS and ArcGIS. We now want to use the symbology of the QGIS project to ...
2
votes
0answers
42 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 ...
0
votes
0answers
49 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. ...
0
votes
1answer
78 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 ...
0
votes
1answer
37 views

WMS Geometry Vector point label Styling

How can we add category based styling to geometry point my application show geoserver rendered map, and all the map POI are directly fetched from database and shown to the map.i need know how we can ...
2
votes
2answers
352 views

Line stroke offset in Geoserver

Does anyone know how to offset a stroke in Geoserver? For example I will color the left side of the street (line feature) red and the other side (same line feature) blue. I believe I will be using 2 ...
0
votes
2answers
55 views

Geoserver Style Error

I was applying a style and there was no validation error. But when I am about to press submit I am getting the following error org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: ...
0
votes
0answers
37 views

Getlegendgraphic not working due to roundDouble

I have some layers at geoserver with working symbology and labels defined by sld style. On some layers request getlegendgraphic works fine, but on layers, where there is rounded value of label, the ...
0
votes
1answer
54 views

SLD not linking to ArcGIS wms service

I need to style an ArcGIS Server 10.0 WMS Service with an SLD File. I have picked a very simple point style SLD which should style all points with one circle. ...
2
votes
0answers
132 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: ...
0
votes
0answers
87 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
35 views

Why are Images used as label not rendered correctly by GeoServer?

When I try to render the label (png image) through GeoServer as an image, its quality is getting affected i.e. the image is not rendered sharply. Are there any settings that need to done in ...
3
votes
2answers
327 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
2answers
1k views

Can QGIS automatically load an SLD with a Shapefile?

I have SLD's/lyr files with my shp/gdb files. They all have the same name except for the extension. Is it possible for me to force qgis to load the sld with the shp so that I don't need to manually go ...
6
votes
2answers
223 views

Is it necessary to master openlayers to use geoserver?

Is it necessary to learn openlayers to use geoserver? Can i completely ignore OpenLayers so long as i master using geoserver to publish data on my website because i understand openlayers is contained ...
1
vote
0answers
46 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 ...
0
votes
1answer
46 views

ogc:filter how to filter a number?

The below sld passing attribute5 having 3.09 or 5.56. But not 1690.98 or 10923.34 which is just opposite of what we need. How to parse the string attribute5 data as number here.. ...
3
votes
1answer
729 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 ...
0
votes
0answers
14 views

How to export style in sld-format using attribut fields of a shape? [duplicate]

I have some ESRI-Shapes with a .dbf each. In the dbf-File there are attributes like a string. Now i can use one or more attributes to display for example a text on a point by configuring a style. This ...
3
votes
1answer
69 views

SLD - Is it possible to create a Rule that stylise only the first and last point of a Line?

I've read the SLD doc, but I can't find any clue on how to create an SLD file to add a graphic symboliser on the first and last point of a line. Does someone know how to do that ? Thanks.
0
votes
0answers
240 views

QGIS save as SLD style for graduated styled layer different from what it's shown in QGIS

I've found that when applying a graduated style to a layer in QGIS, if I save the style as SLD to use it in my Geoserver, then the SLD rendered layer looks different. So I've made a small example: ...
0
votes
1answer
106 views

SLD MaxScaleDenominator question

I have quite a problem, hope you'll be able to help. I've got a very large shp layer that I'm loading via wms to my openlayers project. Due the fact that the layer is very big (2 millions polygons) It ...
0
votes
0answers
92 views

Heatmap processed on the whole layer / dataset

How can I process the geoserver heatmap on my whole database rather than on the displayed part of it? What I want is to keep the same color for each place, everytime. Here is an illustration of what ...
0
votes
1answer
114 views

Geoserver heatmap in meters rather than pixels

Is it possible to get the radius' density kernel of the heatmap in meters rather than in pixels? http://suite.opengeo.org/opengeo-docs/cartography/rt/heatmap.html If not, is there other alternatives ...
2
votes
3answers
393 views

geoserver heatmap tiles doesn't display well (with leaflet)

I am trying to display a heatmap generated with geoserver on my map using the L.tileLayer.WMS class from Leaflet, but the tiles do not fit well together. Do you have any idea how to fix it?
1
vote
1answer
163 views

Geoserver transparency of overlapping features

I'm serving a layer via WMS that has multiple Polygons with transparency set to 30%. The polygons can overlap each other resulting in darker areas where the transparencies combine. Is it possible to ...
1
vote
1answer
76 views

Geoserver getlegend graphic returning diagonal lines for polygon

I have been developing a dot density map using certain attributes and have been successful in doing so. But there has been a problem while getting the legend from geoserver wms using a ...
4
votes
6answers
993 views

flex/AIR based SLD generator?

Styling layers in GeoServer can be tedious to say the least. While Styler can relieve some of that tedium, it doesn't yet work in chrome. It can wreck existing styles if not carefully used and still ...
0
votes
1answer
792 views

Geoserver SLD Line styling with external graphic instead of WellKnownName

I have problem with styling in geoserver. Using tutorial from http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#id7 everything is ok but when I want to use ExternalGraphic ...
0
votes
0answers
80 views

GeoServer users can edit SLD styles in GeoExplorer

I have just gone through the Boundless tutorial on creating users in GeoServer (much easier to understand than the official GeoServer Doc). This works I have granted write access to a certain layer ...
11
votes
2answers
1k views

SLD to Esri lyr file?

Does anybody know if there's a sw/extension to convert an SLD to Esri. lyr format, or to import the SLD directly?
0
votes
0answers
138 views

Publishing Shapefiles via ArcGIS Server

I have some OSM's shape-files and running ArcGis Server 10. Would I be able publish it as Map Service without the using ArcMap or another ESRI clients? Also I want to use my shapes with prepared SLD ...
2
votes
2answers
832 views

Mapserver can't write in /var/www/mapserver/log/

I'm executing Mapserver 5.6.4 under Apache2 in a Ubuntu 10.04 machine. I'm having problems writing log file. In the mapfile, I have: CONFIG "MS_ERRORFILE" "/var/www/mapserver/log/mylogfile.log" ...
0
votes
0answers
119 views

Do SLD styles work with KML in Geoserver?

I am trying to use and in the SLD description for a layer on GeoServer. When I download the KML version of the layer everything works just fine in google earth, however when I go to my webpage which ...
3
votes
1answer
131 views

Problem with SLD on GeoServer

I can't find what is wrong. I try write an style on GeoServer. This is not ok.: <FeatureTypeStyle> <FeatureTypeName>Odcinki</FeatureTypeName> ...
1
vote
0answers
268 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
2answers
110 views

How to remove tiny polygon outlines in geoserver sld?

The data I am using a polygon feature layer, consisting multiple polygons and I want to show the same without polygon outlines. In ArcGIS I simply use outline colour as no colour. This produce the ...