[mapserver-users] Directional arrows for streets

Flavio Hendry flavio at tydac.ch
Fri Sep 26 02:00:14 PDT 2008


Hi Chip

As follows:

Symbol file (arrow1 is an arrow to the right, 2 to the left)

SYMBOL 
	NAME "Arrow1"
	TYPE TRUETYPE
	FONT "Neapoljs"
	CHARACTER "A"
	GAP -25
END	

SYMBOL 
	NAME "Arrow2"
	TYPE TRUETYPE
	FONT "Neapoljs"
	CHARACTER "D"
	GAP -25
END

Map File (attribuites FT and TF of Tele Atlas data in this case, equals
to FromTo, ToFrom ...):

LAYER
	NAME "Beschriftung Richtung"
	GROUP "teleatlas"
	TYPE LINE
	STATUS ON
	MINSCALE 0
	MAXSCALE 3500
	CONNECTIONTYPE OGR
	CONNECTION "teleatlas/streets/streets_oneway.tab"
	SIZEUNITS pixels
	CLASSITEM "OneWay"
	CLASS
		COLOR 12 74 12
		EXPRESSION "FT"
		SYMBOL "Arrow1"
		SIZE 14
	END
	CLASS
		COLOR 12 74 12
		EXPRESSION "TF"
		SYMBOL "Arrow2"
		SIZE 14
	END
END

result see www.ortsplan.ch ... go for bern, zoom in to the center of the
city (up to 0.5km zoom level ...)

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC Web-Site:  http://www.tydac.ch
TYDAC MapServer: http://www.mapserver.ch
TYDAC SwissMaps: http://www.mapplus.ch
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------
    Location: http://www.mapplus.ch/adr/bern/luternauweg/12
----------------------------------------------------------------


-----Original Message-----
From: "Chip Taylor" <work at xwb.com>
To: <mapserver-users at lists.osgeo.org>
Date: Thu, 25 Sep 2008 05:52:16 -0700
Subject: [mapserver-users] Directional arrows for streets

> Using MapServer 5.2 with street data from Navteq, is there a way to
> include
> directional arrows for one way roads?
> 
>  
> 
> Chip Taylor
> 
>  
> 
>  
> 





More information about the MapServer-users mailing list