Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1361
Originally Posted by sixwheeledbeast View Post
Is there any chance of downloadable map packs for ModRana?
It can be a pain downloading around this area at different zoom levels.
In past tests if you set to download maximum amount of tiles for around my area, it slows the system down so much it becomes unresponsive.
I've recently fixed some GTK threading issues, so batch download should now be faster and should no longer slow down if there are no GUI changes going on.

Also, I found that the the mbtiles tile storage format is very similar to the modRana sqlite tile storage format. It will not work with modRana as-is, but the changes needed for supporting mbtiles should be quite minor. Basically just telling modRana to look for mbtiles files in layer folder and trying to fetch the tile from them first.

There might be some mbtiles downloads or you can just mill your own tiles with tilemill & then export them in the mbtiles format.

Originally Posted by malfunctioning View Post
Although I still haven't tried doing this, I'll believe you, and agree that downloadable maps might be a good idea.

If modRana has a i386 Linux version, I suppose this process could be done also in a PC.
ModRana runs just fine on Linux PCs - just download the tarball (or clone it from github), unpack it somewhere and run modrana.py.

All map tiles will be stored in ~/.modrana/maps

Originally Posted by malfunctioning View Post
I have a question, which will probably reveal my absolute lack of knowledge in this area: What modRana needs to navigate and give directions is embedded in the map data, but that metadata is separate from the graphic tiles? Because it would be a good idea to just download that metadata without downloading the tiles (or just downloading very low resolution tiles) and it seems it would save a lot of space. If you have voice navigation this would even make more sense.

Does modRana even need any tiles to be able to give directions?
Routing is totally independent from map tiles - the tiles are currently just PNG/JPEG images and don't have any additional use apart from showing the map.

By default modRana uses online routing provided by Google, but also supports offline routing with Monav. See the modRana offline routing guide for how to configure and use it. The modRana Monav routing data repository covers the whole planet, including the recently added Antarctica.

BTW, many thanks to the Masaryk University NLP laboratory for hosting the ~120 GB repository and providing the computational resources that enable global updates taking just 5 hours.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2013-05-05 at 21:13.
 

The Following 10 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1362
Some more information about the Monav data repository update

Global update means, that it processes ALL OpenStreetMap data at least SIX TIMES.
  • once for big are extracts (Europe, Africa, North America, etc.)
  • once for country wide extracts (France, Germany, Austria, australia, etc.)
  • 3x as it makes speaprate packs for car, bike and pedestrian routing
And some countries also have sub-regions, so it is even more than 6x times.

And all this (including data download from Geofabrik) in about 5 hours.

The machine has 48 logical CPU cores & ~200 GB RAM. And modRana data repository update can utilize it to 0.90 system load.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2013-05-05 at 21:23.
 

The Following 8 Users Say Thank You to MartinK For This Useful Post:
Posts: 330 | Thanked: 556 times | Joined on Oct 2012
#1363
Originally Posted by MartinK View Post

Routing is totally independent from map tiles - the tiles are currently just PNG/JPEG images and don't have any additional use apart from showing the map.

By default modRana uses online routing provided by Google, but also supports offline routing with Monav. See the modRana offline routing guide for how to configure and use it. The modRana Monav routing data repository covers the whole planet, including the recently added Antarctica.
I just went through that and it couldn't be any more straightforward. I'm going to go ahead and download the map for my region, then give it a try this week. Thanks!

Regarding Anctartica, how do those directions look?
- Continue 200 Miles and make a left turn on the first penguin.
(205 Miles later)
- Crap, I think we missed that penguin...
 

The Following 6 Users Say Thank You to malfunctioning For This Useful Post:
Posts: 330 | Thanked: 556 times | Joined on Oct 2012
#1364
Very impressive how the Monav data repository works as well, thank you for sharing that. Open Source FTW!
 

The Following 2 Users Say Thank You to malfunctioning For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1365
Originally Posted by malfunctioning View Post
I just went through that and it couldn't be any more straightforward. I'm going to go ahead and download the map for my region, then give it a try this week. Thanks!

Regarding Anctartica, how do those directions look?
- Continue 200 Miles and make a left turn on the first penguin.
(205 Miles later)
- Crap, I think we missed that penguin...
Well, I haven't actually tried that yet - I just spotted it got recently added to Geofabrik & thus also processed to the repository.

My guess would be that it just covers the small local road network in some of the bigger polar stations, such as McMurdo.

BTW, this is how McMurdo looks like on OpenStreetMap:

The funny looking roads going over water are IMHO the ice runway access roads.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 6 Users Say Thank You to MartinK For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1366
MartinK, thanks for your incredible work, and congratulations on reaching another platform It's nice to see such wonderful program becoming more widespread, I'm sure, that after becoming fully functional, it just kicks out any Android's "navigational tool" in terms of functionality.
---

Now, out of curiosity - after - at some point in future - bringing full functionality to QML version, are you going to keep working on GTK version, syncing features, etc? It's not a secret, that there are many fans of GTK edition, that doesn't feel QML to be such fancy (not to mention having both GTK and QT bits loaded in memory is a huge bit of resource waste).

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 8 Users Say Thank You to Estel For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1367
Originally Posted by Estel View Post
MartinK, thanks for your incredible work, and congratulations on reaching another platform It's nice to see such wonderful program becoming more widespread, I'm sure, that after becoming fully functional, it just kicks out any Android's "navigational tool" in terms of functionality.
Thanks !

Originally Posted by Estel View Post
Now, out of curiosity - after - at some point in future - bringing full functionality to QML version, are you going to keep working on GTK version, syncing features, etc? It's not a secret, that there are many fans of GTK edition, that doesn't feel QML to be such fancy (not to mention having both GTK and QT bits loaded in memory is a huge bit of resource waste).

/Estel
I don't have any definitive plans for this but the truth is, that GTK doesn't seem to be doing any inroads to mobile platforms recently and lately everything is Qt.

But due to all the features it has, the GTK GUI is still the main GUI for now and also the main desktop GUI, due to Qt Components missing from most distribution repositories. BTW, a dedicated desktop-like modRana GUI would be nice but I don't see having time for making it any time soon.

Also, I'll be generally improving the core modRana data models, which are shared by both GUIs, so the GTK GUI should also indirectly benefit from QML improvements. So we will see how it goes, at least I want it to remain fully functional and I'll fix any future breakage in the GTK GUI.

Also, I'll welcome any sensible patches for the GTK GUI (and of course for the QML one and generally for any part of modRana)! So if someone wants to improve the GTK GUI while I'm mid-term working mainly on the QML one, now is you chance !

BTW, modRana source code is on Github, so sending a merge request is very easy - just ask Wikiwide or ZogG how easy it is.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2013-05-05 at 22:23.
 

The Following 7 Users Say Thank You to MartinK For This Useful Post:
Posts: 87 | Thanked: 80 times | Joined on Sep 2009
#1368
Hi MartinK,

thanks again for your great work and congratulations for the android-version.

May I dare to ask if there is any chance to get the messed-up gpx-tracks displayed correctly in the future?

CU Michael
Attached Images
 
 

The Following 3 Users Say Thank You to magic_doc For This Useful Post:
Posts: 330 | Thanked: 556 times | Joined on Oct 2012
#1369
I've done my first experiments and I'm very impressed! I'm using modRana 0.41.1(GTK version).

A couple of questions:
EDIT: Disregard requests to configure location to save tile data, as I see it has been already asked.

- Is there a way to set the location where tiles are downloaded? I can't find that option anywhere. For that matter, is there also a way to configure where modRana looks for the navigation data?
Please, allow for the configuration of the location to save tiles and navigation data. I would rather put it in the micro SD card because it's easy to replace. I can even put it on a second N900, and use the data as well. Until then, maybe some symlinking is in order.

- When I am setting up the batch download of tiles, I clicked to calculate the size. When it calculates the size, it looks like it keeps calculating the full size (I suppose it downloads and deletes every single tile?) It would be better probably to just estimate by downloading a representative number of random tiles and then extrapolating (sorry if that's the way it already works, I might have not waited enough).

- Another comment regarding the last point: When it is calculating the size, if you click back to exit the menu, the application becomes nonresponsive and needs to be closed. I guess the threads that are downloading / calculating the size of the tiles are still running.

Great program! I think I'm going to use it for the first time tomorrow.

Talking of which, does Google really disable batch downloading of tiles? Because that sucks. Anybody knows how to get around that?

Martin, I just had a cool idea: Since Google disables batch download, but downloading tiles in normal use is allowed, wouldn't there be a way to simulate a route that would cover all the target tiles? Unfortunately I suppose you would have to run the route as many times as the zoom levels you have selected, and change zoom level at each pass. And, the route would probably be huge and hard to compute. A strange benefit is that this would take less space, because it wouldn't download tiles that you wouldn't see during normal use (tiles for places unaccessible within the view distance for the range of zooms selected). Also, you might have to be observant of the speed at which the route is run.

Last edited by malfunctioning; 2013-05-08 at 00:55.
 

The Following 3 Users Say Thank You to malfunctioning For This Useful Post:
Posts: 330 | Thanked: 556 times | Joined on Oct 2012
#1370
Another thing I noticed: There seems to be a discrepancy (at least in some circumstances) between the sizes reported as transferred and remaining on the device, in the batch download page.

I was doing a batch download for Yahoo Maps, and the size available on device was decreasing at a rate 20 or 40 times faster than the size reported as transferred. I also think that the size reported as transferred was too low (around 65MB for 25000 tiles). I'll check the size of the files when the transfer is done, but I thought I'd mention this.
 

The Following 3 Users Say Thank You to malfunctioning For This Useful Post:
Reply

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps


 
Forum Jump


All times are GMT. The time now is 19:22.