[mapserver-users] rotating a label 90 degrees.

Brent Fraser bfraser at GeoAnalytic.com
Mon Jul 31 14:00:50 PDT 2017


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] 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 	 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170731/1a6d7655/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Attachment 1
Type: application/octet-stream
Size: 7074 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170731/1a6d7655/attachment-0001.obj>


More information about the mapserver-users mailing list