[mapserver-dev] Negative X offset with Y -99

Bob Basques Bob.Basques at ci.stpaul.mn.us
Wed Jul 1 08:33:27 EDT 2009


I don't know of a way to directly do what you are after, but you might get some ideas from about a third of the way down this page.

http://mapserver.org/mapfile/symbology/construction.html

Basaiclly the idea is to layer styles on top of each other, if you use a style that ends up transparent between the other line styles. you could get a representative look you are after.

Sounds like you might have some conditional data available to use to decide which side (and how far) the offset needs to be, these would be a bit harder, still thinking . . .

You may also be able to fake something with a truetype font symbol, this would rotate with the line orientation . . .

bobb

>>> WiT8litZ <wilmarvh at netstar.altech.co.za> 07/01/09 8:07 AM >>>

Hey

We are exploring a traffic solution using mapserver. So far things have been
running excellent with only minor concerns. Our biggest concern at this
stage is being able to offset vectors on the map in both directions + and -.
The scenario: a road which has 2 way traffic on it, needs to have its
traffic vectors offset to the outsides of the road. Currently when using
e.g. x 5 y -99 both directions of traffic move off to the same side of the
road, and using x -5 y -99 yields no usable result.

Is there any way of being able to use y -99 and move the offset for x to
either side of the road. Hope I am making myself clear

Kind regards 
-- 
View this message in context: http://n2.nabble.com/Negative-X-offset-with-Y--99-tp3188860p3188860.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.

_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list