[mapserver-dev] Label Position Auto change?

Stephen Woodbridge woodbri at swoodbridge.com
Fri Feb 24 17:20:48 EST 2012

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.

   -Steve W

More information about the mapserver-dev mailing list