[Pkg-osm-commits] [SCM] monav branch, master, updated. upstream/0.2+svn405-25-g079f889
David Paleino
dapal at debian.org
Tue Jan 11 15:23:26 UTC 2011
The following commit has been merged in the master branch:
commit 079f889e85ba1b152ea7dc992abb3e0f4872971e
Author: David Paleino <dapal at 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 <dapal at 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
More information about the Pkg-osm-commits
mailing list