[Geoserver-devel] [JIRA] (GEOS-9050) x-repeat style parameter with a value greater than 100 is not applied

Yauheni Pashyvalau created an issue

GeoServer / BugGEOS-9050

x-repeat style parameter with a value greater than 100 is not applied

Issue Type:

BugBug

Affects Versions:

2.14.0

Assignee:

Unassigned

Created:

08/Dec/18 7:51 PM

Priority:

MediumMedium

Reporter:

Yauheni Pashyvalau

I had a question asked at gis.stackexchange.com
https://gis.stackexchange.com/questions/303768/how-to-control-follow-line-text-repeat-in-geoserver-ysld-style
but there as been no answer so I’m reporting it as an issue here.

I was trying to label river lines with just one or two labels per screen. The YSLD style looks as follows:

feature-styles:
- rules:
  - symbolizers:
    - line:
        stroke-color: blue
        stroke-width: 1.25
    - text:
        label: ${label}
        fill-color: blue
        font-family: SansSerif
        font-size: 14
        placement: line
        offset: -10
        x-followLine: true
        x-maxAngleDelta: 90
        x-repeat: 500

Setting x-repeat to a value in the range of 1~100 changes the distance between labels as expected. But with any greater value or with a zero value or with the parameter being absent at all the distance between labels always stays the same at approximately 200px.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100095-sha1:3406b11)

Atlassian logo