[mapserver-users] rotating a label 90 degrees.

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


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170731/0d39d1d3/attachment.htm>


More information about the MapServer-users mailing list