From: aurel_j Date: Sun, 13 Apr 2008 22:21:55 +0000 (+0000) Subject: Add:Core:Add rendering of tram and tram station X-Git-Tag: navit-0.5.0.5194svn~4145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=259f615e5fb36d5d5631475b188814085c68b8c7;p=profile%2Fivi%2Fnavit.git Add:Core:Add rendering of tram and tram station git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1007 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/src/item_def.h b/navit/src/item_def.h index 92d3504..8f20aa1 100644 --- a/navit/src/item_def.h +++ b/navit/src/item_def.h @@ -237,6 +237,8 @@ ITEM(mini_roundabout) ITEM(turning_circle) ITEM(poi_townhall) ITEM(poi_level_crossing) +ITEM(poi_rail_halt) +ITEM(poi_rail_tram_stop) /* Line */ ITEM2(0x80000000,line) ITEM2(0x80000001,line_unspecified) diff --git a/navit/src/navit.xml b/navit/src/navit.xml index f5d61b3..c1bd64d 100644 --- a/navit/src/navit.xml +++ b/navit/src/navit.xml @@ -725,6 +725,9 @@ Change to your home coordinates. + + + @@ -1008,10 +1011,21 @@ Change to your home coordinates. + + + + + + + + + + + diff --git a/navit/src/osm2navit.c b/navit/src/osm2navit.c index 36c9169..22d6be8 100644 --- a/navit/src/osm2navit.c +++ b/navit/src/osm2navit.c @@ -113,8 +113,10 @@ static char *attrmap={ "n place=town town_label_2e4\n" "n place=village town_label_2e3\n" "n place=hamlet town_label_2e2\n" + "n railway=halt poi_rail_halt\n" "n railway=level_crossing poi_level_crossing\n" "n railway=station poi_rail_station\n" + "n railway=tram_stop poi_rail_tram_stop\n" "w *=* street_unkn\n" "w amenity=place_of_worship poly_building\n" "w building=* poly_building\n"