Hi all,

Say, I have two polygon in the same layer, and they are at the same logical
group/level on the map. Means that both feature should be drawn and labeled
at the same scale. However, one polygon is much larger than (say 10 times
larger) than the other. Currently, I let MapServer to handle the scaling
automatically, so that in a display scale, the label of the larger one looks
too small while the larger one looks gigantic.

My thought is straight forward: tie the font size to the size of the
polygon. However, since the label must be scaled with respect to the map
display scale, it has to be dynamic; further, since they belongs to the same
logical group, they'll eventually be in the same size when zoomed in enough.
My first thought is to bind the MINSIZE to a data attribute, so that they
start with different font sizes and eventually scaled to the same MAXSIZE.
But the MINSIZE/MAXSIZE cannot be used in this way.

Any suggestions?

P.S. I'm not using mapscript, just map file.

<<attachment: de.png>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to