geoserver 1.7.3 hangs while rendering short text
------------------------------------------------
Key: GEOS-2831
URL: http://jira.codehaus.org/browse/GEOS-2831
Project: GeoServer
Issue Type: Bug
Affects Versions: 1.7.3
Environment: ubuntu (intrepid), java version 1.6.0_10
Reporter: Christoph Wagner
Assignee: Andrea Aime
Priority: Critical
When geoserver tries to render streetnames with a single char in their name for
example "." or "-" or "*" it takes 100% CPU and will never end.
Problem occurs only on geoserver 1.7.3. On geoserver 1.7.2 there is no such
problem.
I tried to render streetnames from openstreetmap and used the following
textsymbolizer:
<Rule>
<ogc:Filter>
<ogc:Or>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>highway</ogc:PropertyName>
<ogc:Literal>unclassified</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>highway</ogc:PropertyName>
<ogc:Literal>residential</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Or>
</ogc:Filter>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<TextSymbolizer>
<Geometry><ogc:PropertyName>way</ogc:PropertyName></Geometry>
<Label><ogc:PropertyName>name</ogc:PropertyName></Label>
<Font>
<CssParameter name="font-family">DejaVu Sans</CssParameter>
<CssParameter name="font-style">Normal</CssParameter>
<CssParameter name="font-size">11</CssParameter>
</Font>
<LabelPlacement>
<LinePlacement>
<PerpendicularOffset>0</PerpendicularOffset>
</LinePlacement>
</LabelPlacement>
<Halo>
<Radius>1</Radius>
</Halo>
<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
<VendorOption name="spaceAround">10</VendorOption>
<VendorOption name="group">true</VendorOption>
<VendorOption name="labelAllGroup">true</VendorOption>
<VendorOption name="minGroupDistance">400</VendorOption>
<VendorOption name="repeat">400</VendorOption>
<VendorOption name="maxDisplacement">200</VendorOption>
<VendorOption name="followLine">true</VendorOption>
<VendorOption name="maxAngleDelta">20</VendorOption>
</TextSymbolizer>
</Rule>
Everytime there was a street in the requested area tagged with name="." or
name="-" for example geoserver hangs and could only be killed by OS.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel