Editing ModRana offline routing guide

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 7: Line 7:
== Enable offline routing in 6 easy steps ==
== Enable offline routing in 6 easy steps ==
=== download routing data ===
=== download routing data ===
-
 
-
==== from monav repository ====
 
-
 
Compatible routing data packs are available from [http://monav.openstreetmap.de monav.openstreetmap.de]. Just download a relevant pack for your area. :)
Compatible routing data packs are available from [http://monav.openstreetmap.de monav.openstreetmap.de]. Just download a relevant pack for your area. :)
It can be also done directly on the N900 like in this example:
It can be also done directly on the N900 like in this example:
Line 16: Line 13:
  wget http://monav.openstreetmap.de/mapsets/Czech_Republic.zip
  wget http://monav.openstreetmap.de/mapsets/Czech_Republic.zip
-
 
-
==== from modrana repository ====
 
-
 
-
[http://data.modrana.org data.modrana.org]
 
-
 
-
example:
 
-
 
-
cd MyDocs
 
-
wget http://data.modrana.org/monav/europe/czech-republic/czech-republic_car.tar.gz
 
=== unpack it to the Monav data folder ===
=== unpack it to the Monav data folder ===
Line 43: Line 31:
  unzip Czech_Republic.zip -d .maps/monav_data/
  unzip Czech_Republic.zip -d .maps/monav_data/
-
or
 
-
 
-
tar xvzpf czech-republic_car.tar.gz -C .maps/monav_data
 
You should get paths similar to these:
You should get paths similar to these:
Line 71: Line 56:
== Generating your own routing data ==
== Generating your own routing data ==
-
If the online Monav data repositories don't cover the area you are interested in or if you just want to have fresh routing data for your area generated every hour from local OSM extracts - no problem! Generating your own Monav routing data packs is quite easy. :)
+
If the online Monav data repositories don't cover the are you are interested in or if you just want to have fresh routing data for your are generated every hour from local OSM extracts - no problem! Generating your own Monav routing data packs is quite easy. :)
=== The Monav data generator ===
=== The Monav data generator ===
Line 102: Line 87:
To set the thread number, just edit the THREADS variable in the ''generate.py'' file. The number of threads should roughly correspond to the number of logical processing cores on your machine.
To set the thread number, just edit the THREADS variable in the ''generate.py'' file. The number of threads should roughly correspond to the number of logical processing cores on your machine.
 +
== Known issues ==
== Known issues ==
-
* <del>directions are very basic</del> '''fixed'''
+
* directions are very basic
-
<del>Monav actually doesn't return a turn type, so I'll have to add an algorithm that detects different turn types and assigns corresponding description (Marble also does it like this).</del>
+
Monav actually doesn't return a turn type, so I'll have to add an algorithm that detects different turn types and assigns corresponding description (Marble also does it like this).
-
 
+
-
ModRana now properly handles most turn types and support for more advanced turn types (roundabouts, highway merging, etc.) will be added in the future.
+
-
 
+
-
* <del>some turns are missed</del> '''fixed'''
+
-
<del>''Monav actually doesn't return turns at all'' - just points for the route & name + type for the route edges. So an algorithm that analyses all edge junctions on the route and decides what is turn and what is not (based on sharp turns, edges changing type or name, etc.). Currently every route type change is just used to trigger turn.</del>
+
-
 
+
-
ModRana should now properly detect most turns. If you still see it miss a turn, please report it to the [http://talk.maemo.org/showthread.php?t=58861 modRana discussion thread] or [http://modrana.org/trac#Contactthedeveloper contact address]. :)
+
 +
* some turns are missed
 +
''Monav actually doesn't return turns at all'' - just points for the route & name + type for the route edges. So an algorithm that analyses all edge junctions on the route and decides what is turn and what is not (based on sharp turns, edges changing type or name, etc.). Currently every route type change is just used to trigger turn.
* no address2address offline routing
* no address2address offline routing
The Monav GUI can be used for offline address search - I'll have to investigate if the same functionality can be used over the [http://code.google.com/r/thomasmiedema-python/source/browse/routingdaemon/routingserver.cpp monav-server] API.
The Monav GUI can be used for offline address search - I'll have to investigate if the same functionality can be used over the [http://code.google.com/r/thomasmiedema-python/source/browse/routingdaemon/routingserver.cpp monav-server] API.
-
== Planned features ==
+
== Planed features ==
-
* <del>modRana project hosted repository with up-to-date data packs</del> (done: [http://data.modrana.org data.modrana.org])
+
* modRana project hosted repository with up-to-date data packs
* built-in map pack downloader & updater
* built-in map pack downloader & updater

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)