<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.&nbsp; 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);">|&nbsp; #&nbsp; |</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);">|&nbsp; #&nbsp; |</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);">|&nbsp; #&nbsp; |</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);">|&nbsp; X&nbsp; |</span><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp;&nbsp; &lt;-- 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);">|&nbsp;&nbsp;&nbsp;&nbsp; |</span><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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);">|&nbsp; #&nbsp; |</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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);">|&nbsp;&nbsp;&nbsp;&nbsp; |</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);">|&nbsp; # &nbsp;&nbsp; |</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);">|&nbsp; # &nbsp;&nbsp; |</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);">|&nbsp; # &nbsp;&nbsp; |</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);">|&nbsp; # &nbsp;&nbsp; |</span><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp;&nbsp; </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);">|&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; |</span><span style="font-family: courier,monaco,monospace,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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);">|&nbsp; # &nbsp;&nbsp; |</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);">|&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; |</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&nbsp; (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>&gt; looks to me like the 'base point' around which the symbol is defined in<br>&gt; terms<br>&gt; of x-y position, and therefore around which the thing will rotate -- is to<br>&gt; the lower-left of the visible exclamation mark:<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br>&gt; x&nbsp; &lt;&lt; rotates around this<br>&gt;<br>&gt; while you really want something like:<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp; &lt;&lt; rotates around this point<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br>&gt;<br>&gt; I'm guessing this is the normal case
 for most ttf's?&nbsp; Can you find or<br>&gt; create a ttf char that is defined like the second case?&nbsp; Otherwise<br>&gt; probably need to use a bitmap or just block out what you need with<br>&gt; mapserver vector symbology<br>&gt;<br>&gt; Robert<br>&gt; ======================================================<br>&gt; original msg<br>&gt; ======================================================<br>&gt; Hi list,<br>&gt;<br>&gt; hopefully someone can explain the following issue to me.<br>&gt;<br>&gt; I am using a vector symbol (ttf), and when using no angle, it is<br>&gt; positioned correctly.<br>&gt;<br>&gt; However, when I use ANGLE on the STYLE (using an attribute in the<br>&gt; dataset), things get weird and the symbol position changes.<br>&gt;<br>&gt; Image brous4.png (no rotation in Mapserver, red exclamation marks are<br>&gt; Mapserver, black exclamation marks are ArcMap, blue dot is the same<br>&gt; Mapserver layer using a circle symbol to display
 the location):<br>&gt;<br>&gt; <a href="http://www.osgis.nl/download/mapserver/brous4.png" target="_blank">http://www.osgis.nl/download/mapserver/brous4.png</a><br>&gt;<br>&gt; Image brous3.png, now we rotate the symbols in Mapserver, but their<br>&gt; location is moving (a simple OFFSET does not seem to be a possible<br>&gt; solution however):<br>&gt;<br>&gt; <a href="http://www.osgis.nl/download/mapserver/brous3.png" target="_blank">http://www.osgis.nl/download/mapserver/brous3.png</a><br>&gt;<br>&gt; TIA for any guidance.<br>&gt;<br>&gt; Best regards,<br>&gt; Bart<br>&gt; _______________________________________________<br>&gt; mapserver-users mailing list<br>&gt; <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;<br><br><br></div></blockquote></td></tr></table>