________________________________ Hi Andrea, hi list, We would like to submit a patch to improve line label placement in Geotools.
We are producing maps with a lot of street names using Geoserver. We noticed that many labels could not be placed because areas used to manage conflicts are quite big when labels follow diagonal directions. We decided to manage the label index using "letters" bounding boxes rather than "label" bounding boxes. This improve noticeably the number of placed labels (it is not possible to tell how many more as it is highly data-dependant). The performance penalty does not seem very high (indeed, we could not really measure it). Currently, we have implemented the change as a vendor option named "letterConflictEnabled". But if the code is good enough, it could also replace the current one at some point. Please, let us know if you're interested by this patch. It includes some unit tests and can be submitted as a PullRequest on the current GeoTools 14-SNAPSHOT. Here attached is a small document explaining the change. Michaël Michaud and Mathieu Lemarchand for Institut Géographique National (France)
ImproveLabelPlacement.pdf
Description: ImproveLabelPlacement.pdf
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
