[Geoserver-devel] [JIRA] (GEOS-9093) Labels fails when using SLD TextSymbolizer based on column with bracket "("

Piotr Blachnicki created an issue

GeoServer / BugGEOS-9093

Labels fails when using SLD TextSymbolizer based on column with bracket “(”

Issue Type:

BugBug

Affects Versions:

2.10.4

Assignee:

Unassigned

Created:

10/Jan/19 3:27 PM

Environment:

Windows Server 2008 R2

Priority:

HighHigh

Reporter:

Piotr Blachnicki

I’m trying to show labels for my layer using SLD style. Part responsible for labels looks like this:

<TextSymbolizer>
<Label>
<ogc:PropertyName>MEDIANSSI(</ogc:PropertyName>
</Label>
</TextSymbolizer>

Name of the column of shapefile that I’m using is “MEDIANSSI(” (bracket at the end) and it fails when I;m doing request with response from the server like:

<?xml version=“1.0” encoding=“UTF-8”?><ServiceExceptionReport version=“1.3.0” xmlns=“http://www.opengis.net/ogc” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/ogc http://geoserver.ds.mot.com:80/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd”> <ServiceException>
The requested Style can not be used with this layer. The style specifies an attribute of MEDIANSSI( and the layer is: hs:mylayer
</ServiceException></ServiceExceptionReport>

If I’m generating label based on other columns (names without brackets) it works well.

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#100097-sha1:023c015)

Atlassian logo