Questions tagged [sld]

A Styled Layer Descriptor (SLD) is an XML schema specified by the Open Geospatial Consortium (OGC) for describing the appearance of map layers.

Overview

An SLD is capable of describing the rendering of vector and raster data. A typical use of SLDs is to instruct a Web Map Service (WMS) how to render a specific layer.

Other references

Styled Layer Descriptor (SLD) - Wikipedia

Tag usage

Consider whether the question is more suitable on Stack Overflow SE or GIS SE.

91 questions
0
votes
0 answers

vec:BarnesSurface in SLD for Geoserver

I have raindata as a point shapefile in WGS84: The distance between the points is 11km en the boundingbox of the data is 450*300km. I want to visualize this data in Geoserver, not as a point but as interpolated polygons. This can be done using…
Paul Meems
  • 3,002
  • 4
  • 35
  • 66
0
votes
1 answer

SLDService of GeoServer is throwing NoSuchMethodError for RangedClassifier.getPercentages()

We've just installed SLDServer for GeoServer v2.17 (GeoTool v23). When we call the attribute.xml we get the attributes of the layer, but when we call the category.xml we get this error: Handler dispatch failed; nested exception is…
Paul Meems
  • 3,002
  • 4
  • 35
  • 66
0
votes
0 answers

Unwanted extra whitespace around polygon graphic fills

I am using Geoserver to make a map using SLD. I have a problem with trying to portray symbols with graphic fills: extra whitespace is added around the symbols, which makes my map unreadable. Here is an example: I have this tiling using both QGIS,…
Efferalgan
  • 1,681
  • 1
  • 14
  • 24
0
votes
1 answer

How to implement rendering transformations on Geoserver using NDVI index?

I want to implement a rendering transformation using the NDVI index on grayscale tiff. I am following this link:- https://docs.geoserver.org/stable/en/user/styling/sld/extensions/rendering-transform.html What type of data will work for it? I tried…
Zucoop
  • 11
  • 2
0
votes
1 answer

How to parse SLD 1.0.0 or 1.1.0 with geotools?

Is there a build-in way to parse an SLD file with geotools, which works for SLD 1.0.0 and SLD 1.1.0?
gillesB
  • 1,061
  • 1
  • 14
  • 30
0
votes
1 answer

How are URLs mapped to their respective IP addresses in DNS?

What would be an explanation to a site being mapped to its IP address in DNS? I know inverse tree / resolver and name server are part of the process, but what are the actual steps?
Riddick
  • 493
  • 1
  • 4
  • 7
0
votes
1 answer

Asset folder path for c++ program [windows]

The structure of my Release version of my c++program is | bin | | game.exe | content | | sprites | | | asset.png Within the code I pass the path to the asset as "../content/sprites/asset.png", but it is not found by the program. What am I…
0
votes
1 answer

How to add a literal prefix to a label using Geoserver's CSS Style

I have a layer of polygons, they have an attribute "Engine". Let's say the values (all strings) are "1", "2", "3" So I can get this to work easily: * { fill: lightgrey; label: [Engine]; } All the polygons are drawn and they are labeled "1", "2",…
Brian B
  • 1,509
  • 3
  • 20
  • 29
0
votes
0 answers

How to fix Geoserver Wingdings font issue on ubuntu 17.10 server?

I have SLD stylesheet that uses Wingdings font as shown here: ttf://Wingdings#0xE0
ace
  • 11,526
  • 39
  • 113
  • 193
0
votes
1 answer

External PNG graphic not displaying (Geoserver 2.13)

I have recently upgraded from Geoserver 2.11.0 to 2.13.1 and have found my external graphics for point layers are not displaying (they revert to a default grey symbol). Is there anything wrong in my code, or has anything changed between 2.11 and…
Chris
  • 647
  • 1
  • 8
  • 32
0
votes
2 answers

How to copy & paste text between text using SED

I am trying to use SLD (Styled Layer Descriptor) to color a layer that will be displayed on a mapping server, however there's an error in my SLD so the colors are wrong. This is because the SLD is using random Hex values for Fill value. The right…
bbrhuft
  • 103
  • 2
0
votes
2 answers

jQuery, Leaflet : how to refresh wms layer on change event?

I use jQuery, GeoServer and Leaflet. I have a json containing names of SLD. With a dropdown, I put the name of the SLD in the parameters of the layer. When I select a style, the map doesn’t refresh but the style is assigned to the layer. So it…
RemiF
  • 31
  • 1
  • 11
0
votes
1 answer

Geoserver sld style

I am writing a style using geoserver, Can I organize SLD like a picture below?
0
votes
2 answers

Geoserver SLD style - Labeling lines with shields

I'm novice in Geoserver (Geoserver 2.10.0 in Tomcat 9 + Apache 2.14, on Win 10 Pro x64) and for some time trying to style roads labels as shields for highways, principal hwy ... Checked Geoserver Trainings/sld-references/cookbook but can't locate…
DFic_zg
  • 1
  • 2
0
votes
0 answers

GeoServer : insert custom properties in SLD XML file

I need to allow the visitors of my site to filter the data shown on an OpenLayer map. Basically, I generate SLD files from a CSV dataset and want to let the user the ability to filter the data of each column of the dataset. To do so, I want to…
mentinet
  • 744
  • 3
  • 9
  • 23