<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div>Bob,</div>

<div> </div>

<div>  Maybe using Javascript style GEOMTRANSFORM  in the mapfle?</div>

<div>http://www.mapserver.org/mapfile/geomtransform.html#javascript-transformation</div>

<div> </div>

<div> </div>

<div>Best Regards,</div>

<div>Brent Fraser</div>

<div> </div>

<div style="-webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none;"> </div>

<div> </div>

<hr align="center" size="2" width="100%" />
<div><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b>From</b>: "Basques, Bob (CI-StPaul)" <bob.basques@ci.stpaul.mn.us><br />
<b>Sent</b>: Monday, July 31, 2017 2:56 PM<br />
<b>To</b>: "Steve D Lime (MNIT)" <steve.lime@state.mn.us><br />
<b>Cc</b>: "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org><br />
<b>Subject</b>: Re: [mapserver-users] rotating a label 90 degrees.</span>

<div> </div>
Steve,

<div> </div>

<div>I’m pretty sure I can get to what I need via SQL, but it would be rather convoluted.  It’s doable though.</div>

<div> </div>

<div>I was hoping for doing something like “auto+/-90” as an option for a value.</div>

<div> </div>

<div> </div>

<div>bobb</div>

<div> </div>

<div> 
<div>
<blockquote type="cite">
<div>On Jul 31, 2017, at 3:52 PM, Lime, Steve D (MNIT) <<a href="mailto:steve.lime@state.mn.us">steve.lime@state.mn.us</a>> wrote:</div>
 

<div>
<div class="WordSection1" style="page: WordSection1; font-family: ComicSansMS; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I can’t think of anything offhand. If using PostGIS could you compute the angle and add 90? I think you could then use attribute binding on the result. Could pre-process data too. Otherwide we’d need an “angleoffset” parameters or something like that.<o:p></o:p></span></div>

<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p> </o:p></span></div>

<div>
<div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0in 0in;">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif;">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><span class="Apple-converted-space"> </span>mapserver-users [<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Basques, Bob (CI-StPaul)<br />
<b>Sent:</b><span class="Apple-converted-space"> </span>Monday, July 31, 2017 1:38 PM<br />
<b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br />
<b>Subject:</b><span class="Apple-converted-space"> </span>[mapserver-users] rotating a label 90 degrees.<o:p></o:p></span></div>
</div>
</div>

<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div>

<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">All,<span class="Apple-converted-space"> </span><o:p></o:p></div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div>
</div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Is there and way to label a line with the ANGLE value set to AUTO, but to rotate the label by 90 degrees?  I want to label a line by crossing perpendicular to the line vs aligned parallel.<o:p></o:p></div>
</div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div>
</div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Thanks<o:p></o:p></div>
</div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div>
</div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">bobb<o:p></o:p></div>
</div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div>
</div>

<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div>

<div>
<div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br />
<span style="font-size: 10.5pt; font-family: Helvetica, sans-serif; color: rgb(51, 51, 51); background-color: white; background-position: initial initial; background-repeat: initial initial;">"In the end, it's not the years in your life that count. It's the life in your years.”</span><span style="font-size: 9pt; font-family: 'Comic Sans MS';"><o:p></o:p></span></div>
</div>

<div>
<p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10.5pt; font-family: Helvetica, sans-serif; color: rgb(51, 51, 51); background-color: white;">-  Abraham Lincoln</span></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
 

<div>
<div style="color: rgb(0, 0, 0); font-family: 'Comic Sans MS'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline" />
 </div>

<div style="color: rgb(0, 0, 0); font-family: 'Comic Sans MS'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<dl>
        <dt>"I've had a wonderful time, but this wasn't it."<span class="Apple-converted-space"> </span></dt>
        <dd>- Groucho Marx
        <div> </div>
        </dd>
</dl>
</div>
</div>
</div>
</div></span>