-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve default label placement for "POSITION auto" #4249
Comments
Author: tbonfort |
Author: olt |
Labelling points is very different from labelling lines and polygons, so we can not have a common sequence for polygons, lines and points. What I discuss here is the allocation of priorities for points. The priorities should be set in accordance with cartographical literature and best practice.
The way I see it, it would be useful to change the behaviour of Mapserver auto labelling.
According to the literature above, the two possible sequences are:
For refererence, these are the current Mapserver label placement AUTO priorities (6.0 and 5.6):
|
Reporter: olt
Date: 2012/03/15 - 17:49
Trac URL: http://trac.osgeo.org/mapserver/ticket/4249
With POSITION auto, MapServer tries to place each label at different positions until if finds enough free space. It starts with UL (upper/left) even if there is space for UC (upper/center) which would look much better IMO.
I changed the order to the following and the results are much better, again IMO.
Line 2578 in mapdraw.c
See attached images.
The text was updated successfully, but these errors were encountered: