Ok, this is going to sound like a weird one (Label POSITION Scaling)

Steve Lime steve.lime at DNR.STATE.MN.US
Wed Dec 28 17:52:31 EST 2005


Um, disregard my last reply to this message. I was wrong. My *bad* mapfile was
using no label caching which doesn't take into account symbol size (that could be
considered a bug itself). The URL:

  http://maps.dnr.state.mn.us/cgi-bin/mapserv48?map=/usr/local/www/docs_maps/testing/placement/test.map&mode=map

shows that it does take symbol size into account. (One might say too much for
something like a circle symbol.)

I think you'll need to post symbols and mapfile snippets...

Steve

>>> Bob Basques <bob.basques at CI.STPAUL.MN.US> 12/28/05 2:15 PM >>>
All,

Why isn't there a way to define how far out the Label POSITION value 
should be, what is the value anyway?

Couldn't a label SCALE value work for something like this?  For example, 
I' working with a fairly large Symbol and the Labels are drawing over 
the top of the symbols.  I'm trying to align one symbol to the upper 
right, with left justification, and another at the lower Left with right 
justification.  I tried with the OFFSET parameter, but the negative 
numbers seems to be giving MapServer heartache.  So I tried it with the 
POSTION paramter and while it works as it should, the Labels are still 
ending up on top of the Symbols.

With a (pixel) SCALING applied to the POSITION parameter, all would be 
well in my own little universe.

I guess this might be an enhancement request.  I did a couple of 
searches in Bugzilla and didn't see anything related to this.

Possibly with a way to enter the negative number I can get the OFFSET 
parameter to help with placement, as using it along side of POSITION 
works fine with positive numbers.  :c)

bobb



More information about the mapserver-users mailing list