Document label conflict resolution toggle and goodness of fit vendor options
----------------------------------------------------------------------------
Key: GEOS-2908
URL: http://jira.codehaus.org/browse/GEOS-2908
Project: GeoServer
Issue Type: Task
Components: Documentation
Reporter: Andrea Aime
Assignee: Mike Pumphrey
Fix For: 1.7.4
The relevant issues are linked. Anyways:
{code}
<VendorOption name="conflictResolution">false</VendorOption>
{code}
makes labels get out of the conflict resolution game. They will not conflict with existing drawing labels, and won't conflict with those that are about to be drawn, either.
{code}
<VendorOption name="goodnessOfFit">0.7</VendorOption>
{code}
sets a number between 0 and 1 that allows the user to control wheter polygon labels that go beyond the polygon they are labelling are drawn or not. By default, they are only if 70% of the label area is within the polygon (actually, this is done by point sampling, not by area calculation, but you get the idea). If you set it to 1, you get labels only if they are fully inside (and point sampling might mean a tiny part getting out won't be noticed), set it to 0 to have the label drawn no matter what.
--
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