[mapserver-users] rotating a label 90 degrees.

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Mon Jul 31 14:07:30 PDT 2017


That’s defintly an intreresting approach . . .

bobb



On Jul 31, 2017, at 4:00 PM, Brent Fraser <bfraser at GeoAnalytic.com<mailto:bfraser at GeoAnalytic.com>> wrote:

Bob,

  Maybe using Javascript style GEOMTRANSFORM  in the mapfle?
http://www.mapserver.org/mapfile/geomtransform.html#javascript-transformation


Best Regards,
Brent Fraser



________________________________
From: "Basques, Bob (CI-StPaul)" <bob.basques at ci.stpaul.mn.us<mailto:bob.basques at ci.stpaul.mn.us>>
Sent: Monday, July 31, 2017 2:56 PM
To: "Steve D Lime (MNIT)" <steve.lime at state.mn.us<mailto:steve.lime at state.mn.us>>
Cc: "mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>" <mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>>
Subject: Re: [mapserver-users] rotating a label 90 degrees.

Steve,

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

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


bobb


On Jul 31, 2017, at 3:52 PM, Lime, Steve D (MNIT) <steve.lime at state.mn.us<mailto:steve.lime at state.mn.us>> wrote:

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.

From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul)
Sent: Monday, July 31, 2017 1:38 PM
To: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] rotating a label 90 degrees.

All,

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.

Thanks

bobb



"In the end, it's not the years in your life that count. It's the life in your years.”
-  Abraham Lincoln




"I've had a wonderful time, but this wasn't it."
- Groucho Marx

<Attachment 1>



It is the mark of an educated mind to be able to entertain a thought without accepting it.
—Aristotle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170731/91a7012d/attachment.html>


More information about the mapserver-users mailing list