<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">The intention was for the grey circle to be drawn at the computed label point. The most common use case is drawing a marker with associated text and you don’t want them to overlap. If you do want them to overlap,
use case would be labeling a highway shield then you must use POSITION CC.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Ian Walberg<br>
<b>Sent:</b> Sunday, December 11, 2011 1:51 AM<br>
<b>To:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> RE: [mapserver-users] GEOMTRANSFORM LABELPNT example<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Here is an image and the map file we are using ms4w 3.0.3.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">We thought the larger grey circle should be drawn in the center of the label text.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">What have we done wrong?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Thanks<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Ian<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><img width="308" height="180" id="Picture_x0020_1" src="cid:image001.png@01CCB97F.FE886AC0"></span><span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">LAYER<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> DEBUG 5<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> NAME Test<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> TYPE annotation<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> STATUS DEFAULT<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> FEATURE<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> POINTS<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> -122 33<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> END<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> TEXT "Some label text"<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> END<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> CLASS<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> LABEL<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> FONT "arialuni"<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> TYPE truetype<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> ENCODING 'UTF-8'<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> SIZE 14<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> COLOR 255 255 0<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> POSITION LR<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> OFFSET 8 8
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> STYLE
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> GEOMTRANSFORM LABELPOLY<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> COLOR 200 50 50<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> END
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> STYLE
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> GEOMTRANSFORM LABELPNT<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> SYMBOL 'circle'<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> COLOR 100 100 100<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> SIZE 20<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> END
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> STYLE
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> COLOR 255 255 255<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> SYMBOL 'circle'<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> SIZE 6<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> END<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> END<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> END <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">END<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org] On Behalf Of Ian Walberg<br>
Sent: Saturday, December 10, 2011 3:53 PM<br>
To: Brent Fraser<br>
Cc: mapserver-users@lists.osgeo.org<br>
Subject: RE: [mapserver-users] GEOMTRANSFORM LABELPNT example<span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Brent,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">We copied the example<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><a href="http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location-t"><span style="color:windowtext;text-decoration:none">http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location-t</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">d6408065.html.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">However we see the GEOMTRANSFORM labelpnt drawing the circle on the point location not the center of the label text.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Thanks<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Ian<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">-----Original Message-----<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">From: Brent Fraser <a href="mailto:[mailto:bfraser@geoanalytic.com]">
<span style="color:windowtext;text-decoration:none">[mailto:bfraser@geoanalytic.com]</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Sent: Saturday, December 10, 2011 1:25 PM<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">To: Ian Walberg<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Cc: <a href="mailto:mapserver-users@lists.osgeo.org">
<span style="color:windowtext;text-decoration:none">mapserver-users@lists.osgeo.org</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Subject: RE: [mapserver-users] GEOMTRANSFORM LABELPNT example<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Ian,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> How are you specifying it in your mapfile?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Brent Fraser<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Steve,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> We are still not seeing what we expect, we are testing with the ms4w<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> 3.0.3 install, will this work?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Thanks<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Ian<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> -----Original Message-----<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">
<span style="color:windowtext;text-decoration:none">mapserver-users-bounces@lists.osgeo.org</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> <a href="mailto:[mailto:mapserver-users-bounces@lists.osgeo.org]">
<span style="color:windowtext;text-decoration:none">[mailto:mapserver-users-bounces@lists.osgeo.org]</span></a> On Behalf Of Stephen
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Woodbridge<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Sent: Saturday, December 10, 2011 7:48 AM<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> To: <a href="mailto:mapserver-users@lists.osgeo.org">
<span style="color:windowtext;text-decoration:none">mapserver-users@lists.osgeo.org</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Subject: Re: [mapserver-users] GEOMTRANSFORM LABELPNT example<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> On 12/10/2011 10:36 AM, Ian Walberg wrote:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>> Does anyone have an example of the GEOMTRANSFORM LABELPNT?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>> We have been trying this I were expecting the center to be located on<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>> the center of the label test border rectangle but we seem to be
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>> getting the center as the point location.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>> Any ideas?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Hi Ian,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> The label point is the that the label is placed about. The actual
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> label position can change relative to the label point based on
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> POSITION and other attributes of the label.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> I don't have the RFC in front of me but here is a good example to test<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> with:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> <a href="http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location">
<span style="color:windowtext;text-decoration:none">http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> -t<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> d6408065.html<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> Try varying the LABEL POSITION and see how it behaves.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> -Steve W<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> _______________________________________________<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> mapserver-users mailing list<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> <a href="mailto:mapserver-users@lists.osgeo.org">
<span style="color:windowtext;text-decoration:none">mapserver-users@lists.osgeo.org</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">
<span style="color:windowtext;text-decoration:none">http://lists.osgeo.org/mailman/listinfo/mapserver-users</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> _______________________________________________<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> mapserver-users mailing list<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> <a href="mailto:mapserver-users@lists.osgeo.org">
<span style="color:windowtext;text-decoration:none">mapserver-users@lists.osgeo.org</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">
<span style="color:windowtext;text-decoration:none">http://lists.osgeo.org/mailman/listinfo/mapserver-users</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">_______________________________________________<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">mapserver-users mailing list<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><a href="mailto:mapserver-users@lists.osgeo.org"><span style="color:windowtext;text-decoration:none">mapserver-users@lists.osgeo.org</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"><span style="color:windowtext;text-decoration:none">http://lists.osgeo.org/mailman/listinfo/mapserver-users</span></a><o:p></o:p></span></p>
</div>
</body>
</html>