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.

Filter by
Sorted by
Tagged with
0
votes
1answer
8 views

Putting Graphic in TextSymbolizer of Geoserver SLD Style

I tried to add external graphic element in TextSymbolizer of point layer as Geoserver 2.19, I got the following result <?xml version="1.0" encoding="UTF-8"?> <...
0
votes
1answer
31 views

Styling GeoJSON polygons with hatch fill in MapFish Print

I am working with MapFish Print (v3.23.1) and have a mix of layers for a map, some from GeoServer and some local GeoJSON files. I have GeoJSON polygons that I would like to apply a hatch pattern to, ...
1
vote
1answer
34 views

GeoServer SLD Functions

I am in need to use a postgres query inside an sld file. Based on the documentation, before testing the now() function, I decided to make a test with the max function. I want to style only the max ...
0
votes
2answers
34 views

GeoServer RASTER cql filter

I have a layer in GeoServer based on a raster file (GEOTIFF) I can visualize the layer, but I want to apply dynamic filters. Before I used CQL for vector data, no problem. But not sure if the ...
0
votes
1answer
23 views

How to add attribute Priority to SLD for GeoServer style

I tried to add Priority attribute to SLD Style on GeoServer, but i got the following error line 186: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://www.opengis....
0
votes
0answers
23 views

GeoServer first filter does not work

I've cerated SLD style and send to the GeoServer. But after sending just the second filter works! SLD in GeoServer is like this : <?xml version="1.0" encoding="UTF-8"?><...
0
votes
1answer
23 views

How to use spatial filter in SLD file GeoServer

I've created SLD style for GeoServer and send it to GeoServer. But after sending GeoServer change it to another SLD. It is source SLD I send <StyledLayerDescriptor version="1.0.0" xsi:...
0
votes
1answer
22 views

Problem with Symbol Line Level in GeoServer

I created two style for casing and fill for roads layer, but I do not know how to fix symbol level in GeoServer. I followed this answer and the problem still exists symbol level SLD <?xml version=&...
0
votes
0answers
13 views

Problem with SLD Style on Geoserver [duplicate]

I have a new challenge with Geoserver Style, i created a new SLD style on geoserver for roads layer, SLD file has been generated from QGIS. SLD file <StyledLayerDescriptor xmlns="http://www....
1
vote
1answer
37 views

Rotate label by formula and attribute

I have a point layer with a field/attibute called trikt which I need to use to rotate labels. The labels should be rotated by the formula MOD(-trikt/360) (remainder of -trikt/360) So I try using ...
5
votes
1answer
46 views

Length limit to GeoServer SLD files in QGIS?

I'm symbolizing a polygon layer by an attribute called kkod. I've copy pasted the FeatureTypeStyle block about 10 times for each kkod but the 11th time the WMS layer is no longer symbolized in QGIS, ...
1
vote
2answers
27 views

Problem with put sld in geoserver

I want to send sld to geoserver via ajax : this is my sld as xml format : <?xml version='1.0' encoding='UTF-8'?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http:...
1
vote
0answers
40 views

It's possible to add feature blending mode in Geoserver

I exported layer style from QGIS as SLD file to use it in Geoserver, but unfortunately feature blending mode did not applied on Geoserver, so it's possible to edit SLD style in Geoserver to add ...
0
votes
1answer
34 views

Using WMS server parameter SLD

I have an issue with using the parameter SLD in GetMap when using the WMS service via the geoserver's API. When passing a style into the parameters of a GET call to a WMS layer using the STYLES ...
0
votes
1answer
19 views

There was a problem using the SLD REST Service (' ' is not recognized as an internal or external command)

I've been learning how to use SLD REST Service in Geoserver (https://docs.geoserver.org/latest/en/user/extensions/sldservice/index.html) which has some problems Some commands cannot be run, for ...
0
votes
1answer
17 views

default-style when no rule applies in SLD

I have this SLD associated to my parcels-style within GeoServer: <sld:StyledLayerDescriptor xmlns="http://www.opengis.net/ogc" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc=&...
0
votes
0answers
54 views

GeoServer CoverageView provides the same value for u and v components

Following these two tutorials I'm trying to create a currents layer: [https://docs.geoserver.geo-solutions.it/edu/en/multidim/accessing_multidim/coverageview.html] [https://docs.geoserver.geo-...
2
votes
2answers
54 views

GeoServer SLD Parsing Error on unknown rule

I tried loading an SLD file generated from QGIS 3.18 into GeoServer and I keep getting the message below. I suspect the error is from one or more of the rules, but I don't know how to get the feedback ...
0
votes
1answer
33 views

Loading SLD style (*.SLD) for vector layer in PyQGIS

I'm writing a PyQGIS script for loading a set of vector layers in QGIS, and for them I have fixed SLD styles, how can I style them in the script?
0
votes
1answer
42 views

Size of points determined by an attribute value in SLD in Geoserver

I have a point layer with an attribute field containing decimal values. In Qgis, with the help of data defined overide i have managed to make the size of a point dependent on the value of a field (see ...
1
vote
1answer
43 views

GeoServer SLD Offset startPoint/endPoint Along Line

I would like to symbolize a line with a point graphic at each end AND offset the graphics slightly along the line in order to look something like the following: The offset is intended to allow the ...
0
votes
1answer
32 views

Geoserver SLD file for a 4 channel GEOTIFF

I have a 4 channel(RGB+NIR) GeoTIFF(nodata=0) in uintformat. I use this image for WMS(base map) also use for WCS. I use below SLD style for RGB and it works fine(please check edit-2 ) but with RGB+NIR ...
0
votes
0answers
160 views

How to achieve different Anchor Point based on N, W, E, S, NW, NE, SW, SE for point labels if max-displacement vendor option is used in geoserver sld?

How to achieve point label placement should be always as shown in the image. GeoServer SLD code: <PointSymbolizer> ... </PointSymbolizer> <TextSymbolizer> ... <...
1
vote
1answer
45 views

How to visualize callout lines between points and labels in Geoserver?

Is there a way to visualize calloutlines between points and dynamic labels in Geoerver (SLD)? From my understanding, there are no elements in TextSymbolizer to achieve it. But perhaps, there is a way ...
0
votes
0answers
22 views

Windbarbs pointing in wrong direction

I have implemented the style windbarbs as described in the Geoserver documentation here: https://docs.geoserver.geo-solutions.it/edu/en/multidim/accessing_multidim/rtx/wind_barbs.html However the ...
1
vote
2answers
140 views

SLD GeoServer VendorOption

I try create SLD style in QGIS and export to GeoServer. And I have trouble with VendorOption name="placement">lastPoint< Yes, I readed GeoServer import SLD style from QGIS issue on &#...
1
vote
1answer
48 views

Dynamic style using variable substitution

I need to use an array of values to define a style of the WMS dynamically. I understood that I must use the Variable substitution SLD. I'm be able to use env variable to change fill and stroke of a ...
2
votes
1answer
142 views

GeoServer WMS inline SLD_BODY syntax problem

I would like to use inline SLD to style polygon served by GeoServer. Here is working example in MapServer: without defined style: http://gis.ibbeck.de/include/mapserver/mapserv.exe?map=/daten/mapfiles/...
2
votes
1answer
29 views

How to change placement for label of a polygon in mapserver with SLD

I want to change the placement of the label of special polygon by sending SLD to WMS of Mapserver. But it seems as it has no effect. Is label placement in polygons support by mapserver? <...
1
vote
1answer
56 views

GeoServer - Limit feature display SLD

I have a raster for U,V components of wind and I create a style that create wind barbs out of it. What I would like to do is to limit the display of points (for example only to 300), in order to avoid ...
1
vote
1answer
129 views

How to use perpendicularoffset for PolygonSymbolizer in GeoServer?

I want to fill the polygon in GeoServer with 2 parallel lines pattern. Example: 1 continuous and 1 dash line. For example like this image: I can fill the polygon in GeoServer with shape://slash. And ...
3
votes
1answer
62 views

Can a single SLD contain styles for different layer shapes?

I'm interested in creating a single SLD that could be used for a layer group in Geoserver that contains layers in point, line and polygon shapes. According to docs it says: "GeoServer supports ...
1
vote
1answer
39 views

Labeling only a part of the attribute value of a string column in GeoServer

I am looking for a solution for labeling points based on an string attribute value in my table in a way that it shows only a portion of the attribute value in GeoServer. I am using ysld (sld) styling. ...
3
votes
1answer
27 views

How to follow oneway directions using sld?

I want to show oneway directions of streets using SLD in geoserver. I follow this instruction but i still have a problem with directions of arrows. Most of all arrows get south to north and west to ...
1
vote
0answers
19 views

Joining lines with SLD style in GeoServer [duplicate]

I want to create a sld style in road lines in qgis. the style has a fill and a border symbology. Everything is ok in qgis but i have an issue with the style in geoserver. The lines do not merge at ...
1
vote
2answers
152 views

SLD GeoServer COPY of styled labels from QGIS -with a created centroid - every label moved manually with X and Y on different places

In QGIS both in line, point and polygon type layers (for rivers, settlements, lakes..) I created labels for the objects - I created a field X and Y (Decimal Number), so that I define their location (...
1
vote
1answer
80 views

Legends not appearing in GeoServer Layer

I have added a new style in GeoServer. As I am seeing the preview of legend while creating the style, it is appearing. But when I am applying the same to the GeoServer layer, it is not appearing in ...
1
vote
0answers
21 views

ExternalGraphic with LineSymbolizer

I want to symbolize a line with a svg symbol. The following code allows me to get a first result but I would like the symbols to be closer. How can I set up this ? <LineSymbolizer> ...
1
vote
2answers
71 views

Style error after importing SLD of QGIS in GeoServer Layer

I have a layer in GeoServer which opens when default style like "polygon" is selected in the publishing menu but when I change its style in WMS Settings, for which I have created a new ...
1
vote
0answers
106 views

SLD polygon styling + labeling in Geoserver [closed]

I'm trying to label a polygon alongside its boundary. I found out how to do it but the stroke color of the polygon looks wear because of a black line above it. I think that the step I use to label the ...
0
votes
1answer
62 views

SLD Polygon Styling in Geoserver

<Rule> <Title>EU-SPA</Title> <ogc:Filter> <PropertyIsEqualTo> <PropertyName>BEWERT2006</PropertyName> <Literal&...
0
votes
1answer
23 views

Render WMS at fixed scale (static image effect)

I have a point layer that I'm rendering as a WMS using GeoServer, the points look like a continuous surface and 'blend' great at about 1:10 000. I want to keep the WMS rendered at that scale, ...
3
votes
1answer
97 views

Create polygons with blurred edges (SLD (GeoServer))

I would like to create areas from polygons that will visualize an "uncertain" area. So I would like the polygon to appear a little blurred at the edges. Preferably with SLD in GeoServer so ...
0
votes
1answer
67 views

Dynamic GeoServer SLD styling template to use on Multiple Polygon shapefiles

I'm trying to create 1 SLD template for the Geoserver application on any point shapefile I upload. For example, I want a styling that will automatically color the attributes for the selected layer. If ...
-1
votes
1answer
57 views

Use of PropertyName to source fill color from database table [closed]

We use qGIS to style spatial objects, then copy in to GeoServer. Generally this works well. However, we can't get GeoServer to source polygon fill colors from a column in a table. Here is the relevant ...
0
votes
1answer
23 views

Is an SLD necessary for each layer? [closed]

For GeoServer, it is necessary to create a new style for each different layer to load?
3
votes
2answers
155 views

QGIS symbol resources

Anyone have any good resources you can point me to find additional symbol libraries that are published for qgis/sld? My preliminary search has turned up a lot of plugs for the Resource Sharing plugin, ...
1
vote
1answer
158 views

Upload SLD file to GeoServer by using gsconfig

I want to upload a SLD file, to a specific workspace, by using gsconfig-py3 1.0.8 , create_style function, however I get an error. with open(fpath) as f: cat.create_style("railroad", f....
0
votes
0answers
37 views

SLD REST Service

My question is related to successful deployment of the SLD REST Service Community extension at the GeoServer REST APIs, and how to access related end-points. After copying extension's JAR files to WEB-...
0
votes
0answers
77 views

Preventing SLD visualisation rendered as RGB in Earth Engine

Following this answered question, I would like to visualise the rainfall forecast using specified threshold. I tried to use Styled Layer Descriptor (SLD). But unfotunately, but it doesn't work. All ...

1
2 3 4 5
14