[mapserver-dev] Label Position Auto change?
Brent Fraser
bfraser at geoanalytic.com
Sat Feb 25 12:19:55 EST 2012
Steve W.,
If this trends toward a PROCESSING directive, I'd like to see some
accommodation made for "rules-based" annotation so I could specify rules
something like:
1. Place label inside polygon. If doesn't fit:
2. Shrink label, place label inside polygon. If doesn't fit:
3. Rotate label, place label inside polygon. If doesn't fit:
4. Place label outside polygon...
Could get complicated.
Best Regards,
Brent Fraser
On 2/24/2012 3:20 PM, Stephen Woodbridge wrote:
> Hi Thomas, Steve L,
>
> Would it be easy to change the labeling to either change the order of
> POSITION AUTO or to add a PROCESSING directive or some other mechanism
> to change the order.
>
> For example when labeling cities, I think it would look better if we
> followed an order like:
>
> Upper center
> Lower center
> Center right
> Center left
> Upper right
> Upper left
> Lower right
> Lower left
> Center center - this is bad if you have a symbol because it falls over
> the symbol, so I can see optionally leaving it out of the list.
>
> Obviously, not everyone will have this preference so some flexibility
> in defining the order would make sense.
>
> Another idea would be to do something like:
>
> POSITION "UC LC CR CL UR UL LR LL" # to specify the order (note no CC)
>
> This would make it easy to pass the same via a binding.
>
> Does anyone have any thoughts on this? Cartography, technical, other?
>
> I will create an enhancement ticket and summarize this thread in it.
>
> Thanks,
> -Steve W
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
More information about the mapserver-dev
mailing list