[mapserver-users] fixed label size in map units

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Wed Apr 14 14:18:35 EDT 2010


Can't be done with labels. Symbols can be scaled like that with SIZEUNITS but I'm pretty sure that doesn't extent to labels. Probably wouldn't be too hard to hack things to do so and it would be a nice feature to add. Problem is that SIZEUNITS is a layer-level parameter at the moment so applying it more generally would be a pretty big behavior change.

Can you treat your labels as symbols using TRUETYPE symbols? Single letter annotation might be doable that way.

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of DeDuikertjes
Sent: Wednesday, April 14, 2010 12:56 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] fixed label size in map units

Dear List,

I've searched but couldn't find a clear answer/ method.

Is it possible to define labels in map units? Eg. in such a way that a 
label being the letter "n" is allways (at each scale) 2 meters high.
The labels have to fit in predefined boxes which are actually defined in 
the map data itself (so defined in map units, like a box of 4 by 4 meters).

any help greatly appreciated, MArco
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list