<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><span style="font-family: courier,monaco,monospace,sans-serif;">Bart,</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">re: recent comments about ability to POSITION a symbol in mapserver 6, (sorry, my message probably won't insert into the message thread nicely)</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">I wonder if any offsetting behavior would cure this problem for a ttf symbol. Or another way to state it, I wonder if there is an inconsistency in mapserver on how it places and rotates ttf symbols.</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family:
courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Seems we really want this behavior:</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">+-----+</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><br
style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| X |</span><span style="font-family: courier,monaco,monospace,sans-serif;"> <-- Place the cell where the X is directly over the </span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| |</span><span style="font-family: courier,monaco,monospace,sans-serif;"> </span><span style="font-family: courier,monaco,monospace,sans-serif;">POINT object's</span><span style="font-family: courier,monaco,monospace,sans-serif;"> </span><span style="font-family: courier,monaco,monospace,sans-serif;">x,y location </span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0,
127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span> <span style="font-family: courier,monaco,monospace,sans-serif;">AND also rotate the symbol around</span> <span style="font-family: courier,monaco,monospace,sans-serif;">X</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">+-----+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">^</span><br style="font-family:
courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">|</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">and DON'T rotate the ttf symbol around this point, as appears to be the current case...</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">also, from your original sample image, it appears the symbol has a bit of this:</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">+-------+</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><span style="font-family: courier,monaco,monospace,sans-serif;"> </span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| |</span><span style="font-family: courier,monaco,monospace,sans-serif;"> </span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| # |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">| |</span><br style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);"><span style="font-family: courier,monaco,monospace,sans-serif;">
</span><span style="font-family: courier,monaco,monospace,sans-serif; color: rgb(0, 127, 64);">+-------+</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">so, one might actually want to be able to SPECIFY an x,y offset within the character cell on which the symbol is PLACED and a separate spec for an x,y offset within the char cell on which to ROTATE (with reasonable defaults, such as, both being the geometric center of the char cell)?</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Robert</span><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br><br><div class="plainMail">Hi Robert,<br><br>thanks for your answer, indeed that must be the explanation.<br><br>However, the
ESRI software (ArcMap in this case) is doing what we expect<br>with the same true type font.<br><br>Best regards,<br>Bart<br><br>> looks to me like the 'base point' around which the symbol is defined in<br>> terms<br>> of x-y position, and therefore around which the thing will rotate -- is to<br>> the lower-left of the visible exclamation mark:<br>><br>> #<br>> #<br>> #<br>><br>> #<br>> x << rotates around this<br>><br>> while you really want something like:<br>><br>> #<br>> #<br>> # << rotates around this point<br>><br>> #<br>><br>> I'm guessing this is the normal case
for most ttf's? Can you find or<br>> create a ttf char that is defined like the second case? Otherwise<br>> probably need to use a bitmap or just block out what you need with<br>> mapserver vector symbology<br>><br>> Robert<br>> ======================================================<br>> original msg<br>> ======================================================<br>> Hi list,<br>><br>> hopefully someone can explain the following issue to me.<br>><br>> I am using a vector symbol (ttf), and when using no angle, it is<br>> positioned correctly.<br>><br>> However, when I use ANGLE on the STYLE (using an attribute in the<br>> dataset), things get weird and the symbol position changes.<br>><br>> Image brous4.png (no rotation in Mapserver, red exclamation marks are<br>> Mapserver, black exclamation marks are ArcMap, blue dot is the same<br>> Mapserver layer using a circle symbol to display
the location):<br>><br>> <a href="http://www.osgis.nl/download/mapserver/brous4.png" target="_blank">http://www.osgis.nl/download/mapserver/brous4.png</a><br>><br>> Image brous3.png, now we rotate the symbols in Mapserver, but their<br>> location is moving (a simple OFFSET does not seem to be a possible<br>> solution however):<br>><br>> <a href="http://www.osgis.nl/download/mapserver/brous3.png" target="_blank">http://www.osgis.nl/download/mapserver/brous3.png</a><br>><br>> TIA for any guidance.<br>><br>> Best regards,<br>> Bart<br>> _______________________________________________<br>> mapserver-users mailing list<br>> <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>><br><br><br></div></blockquote></td></tr></table>