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

0
votes
1answer
21 views

Why doesn't SLD validate?

Why doesn't my SLD validate? <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" ...
0
votes
0answers
6 views

SLD style descriptor doesn't validate [duplicate]

I am trying to style a geotiff in OpenGeo Boundless...it doesn't validate... http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0"> raster_layer PM 2.5 PM 2.5 ...
0
votes
0answers
9 views

How to stop multiple labes showing for a single item [duplicate]

On top of some other styling, I have used GeoExplorer to edit the scale based rendering of labels for the names of fields in an area. It all works fine but when I zoom in of fields that have a large ...
0
votes
0answers
10 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
1answer
23 views

SLD function/transformation based on table values

I'm trying to accomplish an apparently simple task, to display some lines from a postgis table, but I don't know how to do it. The table has, say, 3 fields, one for the geometry and the other two have ...
1
vote
1answer
14 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, ...
0
votes
1answer
20 views

Geoserver SLD default style for feature

I'm new with geoserver so my question can be silly. 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 ...
2
votes
0answers
13 views

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

I am using following GetLegendGraphcs request ...
1
vote
3answers
35 views

Geoserver SLD style - double dashed line

Is it possible to make SLD style for Geoserver maps to represent street that has 3 tracks (or more) with something like this I know that it is possible to make single dashed line ------ so the ...
0
votes
0answers
19 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 ...
0
votes
0answers
6 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 ...
1
vote
1answer
24 views

Both dashed line and stroke line in parallel in the SLD

I just started in GIS. how can i draw in the GeoServer's SLD editor, both dashed and stroke line in parallel? like this, ----------------------------------- ___________________________________ ...
0
votes
1answer
48 views

SLD parsing fail on GeoServer

I created a custom style on QGis and saved as SLD file. When i added to GeoServer, after validation it, i got an errors about parsing. Parsing failed for Filter: java.lang.RuntimeException: Unable ...
1
vote
1answer
46 views

Geoserver: gs:Reproject in SLD fails

I want to reproject data via sld: <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld ...
1
vote
0answers
13 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
50 views

Geoserver OSM data Imported via osm2pgsql - most efficient tables to use to style roads

The Osm2pgsql importer for OSM data to Postgres results in two tables for ways, one called planet_osm_roads and a second one called planet_osm_lines The Osm2pgsql documentation states that the ...
2
votes
0answers
31 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
36 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
53 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
0answers
20 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
41 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"?> ...
3
votes
6answers
210 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
23 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
28 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". ...
2
votes
0answers
32 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
37 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
2answers
44 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
30 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 ...
2
votes
3answers
117 views

SLD to CSS. Geoserver CSS module problem

I styled Geoserver maps with SLD. And now I have to convert this style to CSS. CSS is easier to support. Well, I have this fragment of SLD: <Geometry> <ogc:Function name="offset"> ...
6
votes
0answers
328 views

Is there a good qml or sld file available for QGIS + Openstreetmap data?

I'm looking for a qml file (or equivalent e.g. sld) to allow me to use QGIS to take Openstreetmap data and produce paper maps. I'm re-asking this question (it was asked once or twice over a couple of ...
0
votes
1answer
43 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
82 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: ...
1
vote
1answer
29 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 ...
0
votes
1answer
31 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 ...
6
votes
2answers
184 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
42 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.. ...
0
votes
1answer
70 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 ...
0
votes
0answers
13 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
55 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
149 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
93 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
69 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
84 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
267 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
41 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 ...
0
votes
1answer
44 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
0answers
68 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 ...
0
votes
1answer
530 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
117 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 ...