![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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. Quote:
All map tiles will be stored in ~/.modrana/maps :) Quote:
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. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Some more information about the Monav data repository update
Global update means, that it processes ALL OpenStreetMap data at least SIX 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. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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... :) |
Re: [Announce] modRana: a flexible GPS navigation system
Very impressive how the Monav data repository works as well, thank you for sharing that. Open Source FTW!
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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: http://staticmap.openstreetmap.de/st...ol-marker-blue The funny looking roads going over water are IMHO the ice runway access roads. :) |
Re: [Announce] modRana: a flexible GPS navigation system
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 |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
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. :) |
Re: [Announce] modRana: a flexible GPS navigation system
1 Attachment(s)
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 |
Re: [Announce] modRana: a flexible GPS navigation system
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. |
Re: [Announce] modRana: a flexible GPS navigation system
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. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Another remedy is reformatting MyDocs with smaller allocation blocks.
But please keep in mind two things: 1. The smallest allocation block you can achieve on such a large partition is 8KB. Better than the default 64KB that's for sure, but given that the average tile size is about 4KB, you still waste about 50%. 2. Smaller allocation block means there is more of them. Which means that the FAT is bigger and more RAM is used by the file system cache, leaving less RAM available for applications. Unless you intend to share the tiles with other applications, your best option is using the sqlite database as Whispering Weasel suggested. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
I've run into a little problem. I grabbed the car routing data for the US West region directly from http://modrana.org/data/monav/north-...est_car.tar.gz
Then, I stored the resulting folder (us-west) into the path specified in the wiki, and the data files end up in:: /home/user/MyDocs/.maps/monav_data/us-west/routing_car/ But I can see no preferred pack when I try to add it in the modRana Navigation > Routing data options. Yes, I restarted modRana (and the N900 itself) a few times, and I don't see anything wrong with permissions, which are 777 across the board as far as I can tell. MartinK mentions here that compatible data packs can be obtained from monav.openstreetmap.de, and I see that there the us-west archive is not divided into the different modes (car, foot, etc), but comes as a single file. That's why I used the other link, and now I'm wondering if there is some problem with that file. I searched this thread for this issue but I didn't see anything. Any ideas? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Anyway, I like your random sample idea - that could really work quite nicely in most cases ! :) Picking say 1000 tiles at random and extrapolating from there. Quote:
Quote:
Quote:
There are some improvements I plan to eventually implement for batch tile download, that all have legitimate uses, but might be useful for users wanting to work with Google tiles:
BTW, modRana supports downloading tiles around a tracklog or current route. :) Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Well, why not ? :)
modRana 0.41.2 has been released ! :) Changelog: Code:
* Thu May 09 2013 Martin Kolman - 0.41.2 |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Also, your advice as far as customizing the configuration in order to attempt to be more successful downloading the Google maps is awesome. I'll have to give that a try. I didn't know that the procedure to check the size for batch downloads also removes tiles from the batch if they are already available. That's very smart of you, and very convenient (great way to resume interrupted downloads). A random check would probably lose this benefit I guess, so maybe give the option for strict and random check to the user? Just an idea. Your program is so flexible, and the ability to select from a number of maps as well as stuff like tile downloading and offline routing is so great, that today at work I felt a little like a wise man amongst iPhone owning fools. A (humble) donation is forthcoming. And good luck with your Android port, you deserve to be successful! I have also been using Mieru, by the way. Great program as well! Reading Like a Velvet Glove Cast in Iron in my spare time. ;) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Everytime the device reboots after a few minutes. I am using sqlite if that helps but also had the same issue with original storage. |
Re: [Announce] modRana: a flexible GPS navigation system
@sixwheeledbeast, I've never had much luck with max-up-max-down downloads. At best the device became so sluggish that it made an impression of locked up (e.g. took 2-3 minutes to register a screen tap), at worst it rebooted. I assume the reboot was caused by the watchdog, but I might be wrong.
I have not found a workaround yet. I've tried batch download with JTileDownloader as suggested by Estel a few pages back but it took 5 days to download the whole of UK up to level 13. Given that level 14 has twice as many tiles as levels 0-13 combined, I gave up at this point. |
Re: [Announce] modRana: a flexible GPS navigation system
Since one of last updated, ModRana hangs at calculating online routing (needs killing). The following error appears in terminal:
Code:
** dialog accepted ** |
Re: [Announce] modRana: a flexible GPS navigation system
And monav routing doesn't work for me too in 0.41.2
Code:
monav: search finished in 110.00 ms and 1 tries |
Re: [Announce] modRana: a flexible GPS navigation system
Thanks for reporting the bugs, noted. :) I'll check it out right away once I send my masters thesis to print on Wednesday. :)
|
Re: [Announce] modRana: a flexible GPS navigation system
BTW, just got modRana running on BlackBerry 10:
http://modrana.org/images/bb10/modra...na_on_bb10.jpg (this is also part of the thesis :) ) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Well, I still have to defend it & pass the masters exam. :) Sending to print = going to nearby bookstore/copy-center and giving them the PDF, so they can print it and make two bound copies (I already ordered the book covers, which should be already prepared). No large scale printing runs (yet ! ;)). |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Oh and all those "little" side-effects, like being able to run a single Python & QML codebase on BB10, Android, Fremantle, Harmattan, Nemo & on PC. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
It also seems so that online address search is broken for me. Routing works and finds addresses correctly and so does the wikipedia search work also, but address search always returns not found. Here's copy-pasta from terminal
Code:
licked, sending search:searchAddress |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Meanwhile, I got something else to report - it seems, that there is error somewhere, in calculating average speed (bicycle mode, for example). I did some tests during last, long trip, and every time, average speed was much lower, than it should be. Example - I restarted ModRana while driving @80 Km/h. For a short while, average speed was 80 Km/h. Then, for few seconds I slowed down to 62 Km/h, but average speed got to 29 Km/h (!). Since that, despite I've never slowed down to ~30 Km/h, average stayed around that, changing only a few kilometers/h up or down. Whole thing is perfectly repeatable. --- On another note - sorry if it was asked before, but could you add OpenRoutingService to list of available on-line routing providers? Currently, it is only google or Monav, while ORS seems perfectly compatible (correct me, if I'm wrong). Cheers, /Estel |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Code:
originalMessage = "".join(str(step.getMessage())) |
Re: [Announce] modRana: a flexible GPS navigation system
I haven't been here in a few days. Good luck from me too, MartinK! Hopefully your thesis looks awesome in printed form.
|
Re: [Announce] modRana: a flexible GPS navigation system
Log of another crash-leading bug:
Code:
Clicked, sending menu:screenClicked |
Re: [Announce] modRana: a flexible GPS navigation system
I have started using modRana in the car more as I need to travel more for a project, so obviously here come some feature requests ;)
1) ability to show something else than a clock - for me this would be a speed indicator but I imagine other stuff can be put there too 2) support for speedcams like jspeed does 3) a quick way to load different preset configs, or a way to change tile caching based on map choice, or not cache overlays (or clear cache after certain age): I'm using the google traffic overlay sometimes and I look for an easy way to toggle that on/off, and I get the feeling the data is cached as sometimes I suspect I see stale data. Of course in the car I have no easy way to verify against a known working google traffic source like webbrowser (not while driving!) |
Re: [Announce] modRana: a flexible GPS navigation system
For Peturs first request:
In /home/user/.modrana folder there is file user_config,conf which you can edit and enable/disable various osd parts like the clock and speed. It is commented so you can easily see how it works. |
Re: [Announce] modRana: a flexible GPS navigation system
If you out it in bike mode it shows speed instead of the clock.
|
Re: [Announce] modRana: a flexible GPS navigation system
ok, scratch 1 ;)
thanks Kossuth |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
BS I thought. Fortunately the uni printers where set up in such a way that your print job got sent to a central server, the monies deducted from your account then the job was sent to the printer. After a bit of fiddling I figured out the IP address of the printer. I would then print my document to a file. Then I would use the LPR command from CMD and just send the print job strait to the printer. Boom! Free printing! |
All times are GMT. The time now is 10:09. |
vBulletin® Version 3.8.8