<html><body>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;">Interesting discussion!</div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;">I have an issue with geotransform
'labelpnt' I so far have failed to solve.</div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;"> </div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;">Consider a line that depicts a creek.
Sometimes it is important to show the direction of flow. That is mostly
achieved on maps by placing arrows along the creek showing which way the
water flows.</div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;"> </div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;">I have tried to use LABEL and
GEOMTRANSFORM 'labelpoint' with an arrow symbol and where the label
has no text but has REPEATDISTANCE and ANGLE. Problem is that the symbol is
not affected by ANGLE ( neither FOLLOW, AUTO or AUTO2 ). Does anybody know
how to rotate labelpoint symbols or is it not possible?.</div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;"> </div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;">Plan B is to use a LABEL with TEXT =
">" which works fine but is not that elegant.</div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;"> </div>
<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0);
font-weight: 400; font-style: normal;">Björn D</div>
<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px;
font-weight: 400; font-style: normal;">
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original
Message-----<br />
From: lars.schylberg@blixtmail.se<br />
To: mapserver-users@lists.osgeo.org<br />
Date: Thu, 23 Feb 2017 21:15:36 +0100<br />
Subject: Re: [mapserver-users] Road shields on Mapserver 7<br />
<div class="iw_mail" dir="ltr">
<div dir="ltr" style="margin:0;">Hi,</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;">I more detail in my previous example the
offset in the style block is because the example is part of a block with
three road shields stacked.</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;">/Lars S.</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;">One single shield would be like this:</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;">
LABEL<br
/>
EXPRESSION ('[VAGNR1]' ~ '^[0-9][0-9]$' )<br />
# Blue two digits<br />
STYLE<br />
GEOMTRANSFORM "labelpnt"<br />
SYMBOL VAGNRBOX<br />
COLOR 64 168 217<br />
SIZE 10<br />
END<br />
TEXT '[VAGNR1]'<br />
FONT 'sc'<br />
TYPE truetype<br />
POSITION cc<br />
COLOR 255 255 255<br />
SIZE 7<br />
# FORCE: TRUE<br />
REPEATDISTANCE 150<br />
MINDISTANCE 300<br />
PRIORITY 2<br />
END</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;"> </div>
<blockquote class="reply_block" dir="ltr" style="border-left: 2px solid
blue; margin: 5pt 0 5pt 10pt; padding: 0 0 0 5pt; font-size: 13px;
font-family: tahoma,helvetica,sans-serif;">
<hr size="1" />-----Originalmeddelande-----<br />
Från: <a href="mailto:lars.schylberg@blixtmail.se">
lars.schylberg@blixtmail.se</a><br />
Till: <a href="mailto:mapserver-users@lists.osgeo.org">
mapserver-users@lists.osgeo.org</a><br />
Datum: 2017-02-23 21:04<br />
Ämne: Re: [mapserver-users] Road shields on Mapserver 7<br />
<div class="iw_mail" dir="ltr">
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;">Hi,</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;">This is how I do it in MS7.0. This is
just part of the class with the first two labels. I have different
shield depending on the number of digits.</div>
<div dir="ltr" style="margin:0;">I also have different color depending on
the color of the shield. This is following European road label
standard.</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;">/Lars S</div>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;"> </div>
CLASS<br />
EXPRESSION ("[VAGNR1]" ~ "^[E0-9]*$" AND
"[VAGNR2]" ~ "^[E0-9]*$" AND "[VAGNR3]" ~
"^[E0-9]*$" )<br />
LABEL<br
/>
EXPRESSION ('[VAGNR1]' ~ '^E.$')<br />
# first shield - green - one digit<br />
STYLE<br />
GEOMTRANSFORM "labelpnt"<br />
SYMBOL VAGNRBOX<br />
COLOR 115 179 115<br />
OFFSET 0 -13<br />
SIZE 10<br />
END<br />
TEXT '[VAGNR1]'<br />
FONT 'sc'<br />
TYPE truetype<br />
POSITION CC<br />
COLOR 255 255 255<br />
SIZE 7<br />
OFFSET 0 -13<br />
REPEATDISTANCE 100<br />
MINDISTANCE 100<br />
PRIORITY 9<br />
FORCE GROUP<br />
END<br />
LABEL<br
/>
EXPRESSION ('[VAGNR1]' ~ '^E..$')<br />
# first shield - green - two digits<br />
STYLE<br />
GEOMTRANSFORM "labelpnt"<br />
SYMBOL VAGNRBOX_3TKN<br />
COLOR 115 179 115<br />
OFFSET 0 -13<br />
SIZE 10<br />
END<br />
TEXT '[VAGNR1]'<br />
FONT 'sc'<br />
TYPE truetype<br />
POSITION CC<br />
COLOR 255 255 255<br />
SIZE 7<br />
OFFSET 0 -13<br />
REPEATDISTANCE 100<br />
MINDISTANCE 100<br />
PRIORITY 9<br />
FORCE GROUP<br />
END
<blockquote class="reply_block" dir="ltr" style="border-left: 2px solid
blue; margin: 5pt 0 5pt 10pt; padding: 0 0 0 5pt; font-size: 13px;
font-family: tahoma,helvetica,sans-serif;">
<hr size="1" /></blockquote>
</div>
<hr />_______________________________________________<br />
mapserver-users mailing list<br />
<a href="mailto:mapserver-users@lists.osgeo.org">
mapserver-users@lists.osgeo.org</a><br />
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">
https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote>
<div dir="ltr" style="margin:0;"> </div>
<div dir="ltr" style="margin:0;"> </div>
<div class="signature">
<div class="separator">--</div>
</div>
</div>
</blockquote>
</div>
</body></html>