Tagged Questions

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

2
votes
0answers
66 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
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
142 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
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 ...
0
votes
2answers
122 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"?> ...
4
votes
6answers
934 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
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
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". ...
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 ...
0
votes
0answers
59 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
70 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
40 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
190 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"> ...
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 ...
0
votes
1answer
59 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. ...
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: ...
1
vote
1answer
39 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
45 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
258 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
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 ...
0
votes
1answer
59 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
145 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
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
84 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
287 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
123 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
108 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
131 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
461 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
106 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
112 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
91 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
967 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
164 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 ...
0
votes
0answers
132 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
141 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
307 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
121 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 ...
4
votes
1answer
153 views

Does WMS GetFeatureInfo takes into account the applied Style (SLD)?

As the title says, does WMS GetFeatureInfo takes into account the applied style to a layer? For example I have layer of all US States and I applied the following SLD: <PropertyIsEqualTo> ...
2
votes
2answers
391 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 ...
4
votes
1answer
490 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 ...
0
votes
2answers
691 views

Using OS Mastermap SLDs in QGIS

In an answer to a question asked by @Canningmister, @tjmgis posted an excellent answer Styling OS Vectormap Local in QGIS? about making OS SLD files work in QGIS. As an amateur user who uses QGIS to ...
2
votes
2answers
191 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
1answer
131 views

GeoServer Limit SLD editing functionality to certain users in GeoExplorer

How would I go about preventing user X from editing layer styles? I have created a user in GeoServer that if they login they only see the layer preview screen. However as I am using the Boundless ...
1
vote
1answer
63 views

Is it possible to specify interpolation method for zoom functions in Styled Layer Descriptor (SLD)?

To visualize images on Geoserver, I use xml file wrote in Styled Layer Descriptor (http://www.opengeospatial.org/standards/sld). I would like to specify what interpolation method would be used for ...
3
votes
1answer
133 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 ...
1
vote
1answer
218 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
2answers
94 views

SLD layer style colour ranging from x -> y

I am new to web mapping. I would like to create a SLD style that colours the points if they fall between certain numbers for example 0-500. I know I could manually create each colour for each value ...
3
votes
1answer
691 views

SLD: OGC Filter set, but symbolizer expected

I have a problem with one of my SLD files and do not know what is causing the problem. The error message is pretty clear: line 18: cvc-complex-type.2.4.a: Invalid content was found starting with ...
2
votes
2answers
296 views

How do I generate SLD programmatically?

Is there any api,pulgin for generating SLD? Note: I want to generate SLD programatically. I have property stored in database from which i would like to generate sld. I also want to generate various ...