Questions tagged [ysld]

YSLD is the styling language used for maps created with OpenGeo Suite Composer. It is is a YAML based language equivalent in functionality to the OGC Styled Layer Descriptor (SLD) standard.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How to upload a YSLD style via cURL / REST API to GeoServer

I'm trying to create and upload YSLD styles with cURL and REST API. According to this example and this thread I'm able to add corectly style in my workspace: curl -v -u admin:pass -XPOST -H "...
0
votes
0answers
12 views

Using line symbolizer in YSLD with minrectangle function trows 'Failed to run GetFeatureInfo on layer' error when selecting objects in GeoServer

As envelope function isn't working at all in YSLD I've tried to use minrectangle instead. Using minrectangle function on multipolygon objects with line symbolizer throws 'Failed to run GetFeatureInfo ...
0
votes
0answers
29 views

GeoServer function PointN doesn't work in YSLD

I did some tests and want to confirm if function PointN doesn't work in YSLD. For example below YSLD doesn't display any label: name: style feature-styles: - name: style rules: - name: style ...
0
votes
0answers
18 views

GeoServer YSLD stroke-dashoffset property produce 'Rendering process failed' error for some values

I'm using 'Alternating symbols with dash offsets' example from YSLD cookbook with all values divided by 10 and using uom: metre: title: 'YSLD Cook Book: Dash/Symbol line' feature-styles: - name: name ...
0
votes
0answers
58 views

Geoserver envelope function not working in YSLD

I'm trying to use envelope function like this i my ysld: - line: uom: metre geometry: ${envelope(geometry)} My ysld won't validate with error: java.lang.IllegalArgumentException: Invalid ...
0
votes
0answers
70 views

Convert SLD to YSLD and CSS with GeoServer REST API

I would like to reuse QGIS styling in CSS or YSLD for GeoServer (v2.17 with YSLD and CSS extensions installed), as IMHO SLD is quite tedious. My idea was to convert QML to SLD, then SLD to YSLD (thus ...
1
vote
0answers
63 views

How to force fixed position of lines and gaps pattern in SLD/YLSD with stroke-dasharray or stroke-graphic

Any kind of dashed effects (simple line or svg/image symbols on line) are rendered correctly at fixed position if the whole line or its start point are currently visible. If we move the map view that ...
1
vote
0answers
102 views

How to make piechart with YSLD in Geoserver style

It is possible to make piechart style in Geoserver WMS using XML SLD. For this adding chart extension is required. Now, is it possible to make such piechart with YSLD ? Additional info: My ...
0
votes
0answers
82 views

GeoServer YSLD - Point Stacking with multiple features on map

So, there isn't much information out there: https://docs.geoserver.org/stable/en/user/styling/ysld/reference/transforms.html#point-stacker And I have successfully used this doc to create a simply ...
0
votes
1answer
48 views

GeoServer - Render style of points based on URLs saved in a field of the table using YSLD

I am new to styling in GeoServer and was wondering if there is a way to style points in a table based on the external URLs defined in one of the fields in that table. Let's say I have a table in ...
0
votes
0answers
222 views

sld : How to create a group style file

Suppose i want to group 2 or more style of different layers into one SLD file how can i do it ? A pointer towards the working example or document will do. Or any alternative styling example such as ...
3
votes
1answer
98 views

Graphic style not working for line feature in GeoServer?

I am trying to use a graphic style (in ysld format) to style a line feature. The end goal is to style the line as dashed line with a picture or a circle/times in the gaps of the dashes. I tried to use ...
1
vote
0answers
70 views

How to successfully call CQL in YSLD?

I am trying to create a web map using GeoServer, and doing styling via YSLD. According to YSLD documentation, I should be able to include CQL in order to do filtering. For a test, I am using ...
1
vote
1answer
114 views

Creating YSLD file on the geoserver

Couldn't find any information about creating YSLD file (for styling my map, because it easiest way to add everything, what I want). I am working on the Geoserver site, and as "style" I can create only ...
0
votes
1answer
432 views

Using YSLD functions and creating legends

My goal is to create legends, for WMS layers, which can be shown in a JavaScript/OpenLayers 3 client. Furthermore I found out, that GeoServer can generate legends via the SLD styles. This legends can ...