[Geoserver-devel] [jira] (GEOS-6465) autoWrap should count "(" as being within the same string

Jonathan Moules created an issue

GeoServer / ImprovementGEOS-6465

autoWrap should count “(” as being within the same string

Issue Type:

ImprovementImprovement

Affects Versions:

2.4.3

Assignee:

Andrea Aime

Created:

29/Apr/14 12:19 PM

Priority:

MinorMinor

Reporter:

Jonathan Moules

I have text labelled like this:
<se:Label>
<ogc:PropertyName>NAME</ogc:PropertyName> (<ogc:PropertyName>UPRN</ogc:PropertyName>)
</se:Label>

And I’m using:
<se:VendorOption name=“autoWrap”>100</se:VendorOption>

NAME has a value of: "14 Cherry Street (Group Home) " (sans quotes)
UPRN: “5276”

The output is:
14 Cherry Street (
Group Home) (
5276)

The desired output is of course:
14 Cherry Street
(Group Home)
(5276)

Autowrap is currently treating brackets as a suitable breakpoint. Doesn’t matter if the bracket is within the property or explicitly declared in the SLD.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo