Skip to main content

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
1 vote
0 answers
220 views

Displaying Layer values using Graphs or Histograms in GeoServer

I have a WMS polygon layer read from PostgreSQL, this polygon layer has different values that I would like to display using bar graphs per polygon. The polygons are 4, the bar should ideally look like ...
Amelia Nicodemus's user avatar
1 vote
1 answer
602 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. ...
P G's user avatar
  • 123
0 votes
0 answers
32 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 ...
4bluedog's user avatar
0 votes
0 answers
64 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 ...
4bluedog's user avatar
0 votes
0 answers
122 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 ...
4bluedog's user avatar
0 votes
0 answers
139 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 ...
4bluedog's user avatar
1 vote
0 answers
355 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 ...
4bluedog's user avatar
3 votes
0 answers
307 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 ...
Rino's user avatar
  • 709
0 votes
0 answers
324 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 ...
Rad465's user avatar
  • 3
0 votes
1 answer
131 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 ...
P G's user avatar
  • 123
2 votes
1 answer
1k views

Creating 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 ...
Abhijit Gujar's user avatar
3 votes
1 answer
293 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 ...
P G's user avatar
  • 123
1 vote
0 answers
95 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 ...
auslander's user avatar
  • 1,527
1 vote
1 answer
147 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 ...
Baylleaf's user avatar
0 votes
1 answer
624 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 ...
gillesB's user avatar
  • 149