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

Creating dual lines with one line in geoserver

Im trying to figure if it is possible to create a two lines from one line say for instance a road. One to create the out lines as an underlaying color while another line creates a top color but a ...
1
vote
1answer
37 views

SLDs imported from ArcMap do not apply on Geoserver

I've exported shapefiles and SLDs from ArcGIS to deploy them on GeoServer. The client was using field names longer than 10 symbols so they got truncated. The field upon which the symbology is mainly ...
1
vote
0answers
27 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
30 views

How to create and export complex symbology? [duplicate]

I've got punctual geometries that I'd like to represent in a desktop and a web application, using complex symbology, like this : My idea is to use a symbology editor to create a SLD file that ...
7
votes
1answer
1k 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 ...
2
votes
0answers
116 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
23 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. ...
1
vote
1answer
104 views

Force all labels visible in GeoServer

How can I force all labels to be visible in GeoServer I have tried with both <VendorOption name="conflictResolution">false</VendorOption> and <VendorOption ...
1
vote
2answers
76 views

How do I black out all polygons except one using Geoserver SLD_BODY= parameter in GetMap URL?

I am trying to use the SLD_BODY= parameter to set a style that will black out all polygons except one; the remaining polygon should be transparent. However, the image comes back with all the polygons ...
0
votes
2answers
185 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.
0
votes
2answers
861 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
2answers
206 views

OpenLayers.Format.SLD - Ignores 'matchCase'?

I've trying to use OpenLayers to construct an SLD element to include in a WMS layer's parameters. This SLD document can contain a number of filters. This works fine and resultant SLD does work to ...
1
vote
0answers
351 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
1answer
208 views

Label styling applied in Geoserver are not being applied to WMS layer in Openlayers

I am trying to label a layer of line vectors using SLD in Geoserver. It is simple enough, and it's pretty much copied from the SLD cookbook: ...
0
votes
1answer
47 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
12 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
23 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 ...
3
votes
1answer
2k views

Setting transparency in an SLD file for a 4 channel GEOTIFF

I'm struggling to set the a background colour to transparent in an SLD file for a 4-channel GEOTIFF using GeoServer 2.1.4. I think I've set my background colour to transparent alpha layer in a ...
0
votes
1answer
36 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
3answers
134 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 ...
1
vote
1answer
86 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
52 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
43 views
2
votes
3answers
204 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"> ...
1
vote
0answers
93 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
16 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
77 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 ...
4
votes
6answers
1k 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 ...
1
vote
1answer
50 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, ----------------------------------- ___________________________________ ...
3
votes
2answers
507 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
36 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
280 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
71 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
83 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
158 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
228 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
43 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
137 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
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
141 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
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 ...
1
vote
0answers
50 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". ...
4
votes
1answer
529 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
53 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
68 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
46 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
446 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
73 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
43 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 ...