[mapserver-users] rotating a label 90 degrees.

Richard Greenwood richard.greenwood at gmail.com
Tue Aug 1 18:40:20 PDT 2017


I've only been using MapServer for like 15 or 18 years now and I continue
to be blow away by these hidden features! (I guess if I learned to read the
docs they might not be so hidden)

Anybody going to Boston?

Rich


On Mon, Jul 31, 2017 at 3:00 PM, Brent Fraser <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>
> *Sent*: Monday, July 31, 2017 2:56 PM
> *To*: "Steve D Lime (MNIT)" <steve.lime at state.mn.us>
> *Cc*: "mapserver-users at lists.osgeo.org" <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>
> 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
> <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
> *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
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170801/27495224/attachment.html>


More information about the mapserver-users mailing list