better label in polygon placement
---------------------------------
Key: GEOT-1128
URL: http://jira.codehaus.org/browse/GEOT-1128
Project: GeoTools
Issue Type: Improvement
Components: core render
Reporter: Vincent Schut
Assigned To: Jesse Eichar
Currently geotools uses the centroid of the intersection of the polygon and
bbox envelope for label placement, and does not render the label when it
(partly) falls outside of the bbox. This allows for polygons being visible in
the bbox, and the label would fit inside that part, however is not rendered. It
would be better to change the algorithm so that it tries to fit the label's
envelope rectangle in the visible part of the polygon, maybe with a bias
towards positions that are close to the centroid.
--
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel