The following commit has been merged in the master branch:
commit 079f889e85ba1b152ea7dc992abb3e0f4872971e
Author: David Paleino <da...@debian.org>
Date:   Tue Jan 11 16:22:33 2011 +0100

    Permit routing via barrier=toll_booth nodes

diff --git a/debian/patches/02-toll-booth_routing.patch 
b/debian/patches/02-toll-booth_routing.patch
new file mode 100644
index 0000000..722e970
--- /dev/null
+++ b/debian/patches/02-toll-booth_routing.patch
@@ -0,0 +1,19 @@
+From: David Paleino <da...@debian.org>
+Subject: permit routing via barrier=toll_booth nodes
+Forwarded: no
+
+---
+
+--- monav-0.2+svn405.orig/plugins/osmimporter/osmimporter.cpp
++++ monav-0.2+svn405/plugins/osmimporter/osmimporter.cpp
+@@ -1296,6 +1296,10 @@ void OSMImporter::readNode( OSMImporter:
+                               }
+                       case NodeTags::Barrier:
+                               {
++                                      if ( value == "toll_booth" ) {
++                                              node->access = true;
++                                              break;
++                                      }
+                                       if ( node->accessPriority == 
m_settings.accessList.size() )
+                                               node->access = false;
+                                       break;
diff --git a/debian/patches/series b/debian/patches/series
index 7667ccc..3ab3080 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-fix_daemon_compilation.patch
+02-toll-booth_routing.patch

-- 
fast navigation system featuring exact routing

_______________________________________________
Pkg-osm-commits mailing list
Pkg-osm-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-osm-commits

Reply via email to