[mapserver-users] Re: symbol position moving when using angle
Robert Hollingsworth
reh2 at prodigy.net
Tue Jun 21 06:43:54 PDT 2011
looks to me like the 'base point' around which the symbol is defined in terms
of x-y position, and therefore around which the thing will rotate -- is to the lower-left of the visible exclamation mark:
#
#
#
#
x << rotates around this
while you really want something like:
#
#
# << rotates around this point
#
I'm guessing this is the normal case for most ttf's? Can you find or create a ttf char that is defined like the second case? Otherwise probably need to use a bitmap or just block out what you need with mapserver vector symbology
Robert
======================================================
original msg
======================================================
Hi list,
hopefully someone can explain the following issue to me.
I am using a vector symbol (ttf), and when using no angle, it is
positioned correctly.
However, when I use ANGLE on the STYLE (using an attribute in the
dataset), things get weird and the symbol position changes.
Image brous4.png (no rotation in Mapserver, red exclamation marks are
Mapserver, black exclamation marks are ArcMap, blue dot is the same
Mapserver layer using a circle symbol to display the location):
http://www.osgis.nl/download/mapserver/brous4.png
Image brous3.png, now we rotate the symbols in Mapserver, but their
location is moving (a simple OFFSET does not seem to be a possible
solution however):
http://www.osgis.nl/download/mapserver/brous3.png
TIA for any guidance.
Best regards,
Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110621/97388865/attachment.htm>
More information about the MapServer-users
mailing list