[Geoserver-devel] [jira] (GEOS-5665) geometry transformations in combination with TextSymbolizer problem (extracting vertices)

Tobias Warneke created BugGEOS-5665
geometry transformations in combination with TextSymbolizer problem (extracting vertices)

Issue Type:

BugBug

Affects Versions:

2.3-beta1

Assignee:

Andrea Aime

Components:

WMS

Created:

27/Feb/13 10:11 AM

Description:

Following your example “Extracting vertices” in
http://docs.geoserver.org/2.1.x/en/user/styling/sld-extensions/geometry-transformations.html

I wanted to print the coordinate of each vertex using this sld snip:

<FeatureTypeStyle>
<Rule>
<Name>rule1</Name>
<Title>Texts to Points of Polygons</Title>
<TextSymbolizer>
<PointPlacement />
<Geometry>
<ogc:Function name=“vertices”>
<ogc:PropertyName>the_geom</ogc:PropertyName>
</ogc:Function>
</Geometry>
<Label>TEST</Label>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>

For simplicity I first want to print “TEST” for each vertex. But I got only one text for each main geometry and not one text for every extracted vertex. Using the PointSymbolizer example from you results in “squares” for each vertex as expected.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Tobias Warneke

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)