From fcfd4073466d9df601fbe6706f6702614d405365 Mon Sep 17 00:00:00 2001 From: martin-s Date: Wed, 10 Oct 2007 08:46:03 +0000 Subject: [PATCH] process one-ways correctly in osm2navit git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@456 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/src/script/osm2navit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/navit/src/script/osm2navit b/navit/src/script/osm2navit index b348cc6..64b22dc 100755 --- a/navit/src/script/osm2navit +++ b/navit/src/script/osm2navit @@ -190,6 +190,9 @@ while (<>) { if ($tag{'name'} ne '') { $oline.=' label="' . $tag{'name'} . '"'; } + if ($tag{'oneway'} eq 'true' || $tag{'oneway'} eq 'yes') { + $oline.=' limit=1'; + } $oline .= ' debug="way_id=' . $way_id . ' '; while (($key,$value)=each(%tag)) { $oline .= "$key='$value' "; -- 2.7.4