![]() |
Re: [Announce] modRana: a flexible GPS navigation system
I tried messing with constants.py, but didn't get anywhere useful.
You can remove the COW attribute from a directory, without having to create a whole new subvolume, which sounded a lot less scary. So I closed modRana, mv'ed /home/nemo/.local/share/harbour-modrana/maps out of the way, recreated the directory, ran 'chattr +C' on it (you should theoretically be able to copy the map tiles back into the new directory, and they should inherit the attribute... but I didn't try that), and finally restarted modRana. So far no major drama, performance seems *slightly* better, and it seems harder (though not impossible) to cause the complete lock-ups... but it could be placebo, or it could be the fact that I recreated the database afresh. I guess I'll find out after a few days. (please be very aware that I don't really know what I'm doing ... so if you try this and it borks your phone, it's your fault, not mine :) but it stands to reason it should work I think, and I can't really see how it could break things too horribly...) --- eta- two possibly useful things to note: When the program does lock up, one seemingly reliable way to unlock it is to wait a few minutes, then switch to another main map layer, pan / zoom around a bit, and switch back again. And if you run netstat in a terminal when it's locked up, you get a lot of connections to mapservers in a "CLOSE_WAIT" state, which seems like it could be a clue for a programmer. |
Re: [Announce] modRana: a flexible GPS navigation system
I guess there wont be any further updates for modRana for Meego!?? Is it possible to use offline map data, lets say from here http://download.geofabrik.de/ ?
|
Re: [Announce] modRana: a flexible GPS navigation system
CLOSE_WAIT looks familiar. Are any tiles retrieved over HTTPS?
|
Re: [Announce] modRana: a flexible GPS navigation system
As promised, I have started to look at map layers that are not returning tiles. I will add to this list, cumulatively, as I plow through (nope, no need - finished!). Using,debug logging to file, I am examining the errors generated, then checking the logged URLs in a browser to see if anything revealing comes up. So far:
1) Yandex - returns tiles, but never for the correct coords - what system is it using? 2) Yahoo - fails, service unavailable (prolly true for all map types) 3) Virtual Earth - fails invalid request URL, URL seems malformed (true for all map types) 4) MapQuest Satell. - Service Unavailable (MapQuest Map OK!) Debug logfile for the above available, if needed. Not tested: Freemap.sk, Czech. In addition: batch download around a route appears as if it is completing (and certainly takes it's time) but subsequent off-line driving quickly shows that many of the tiles are not available, at the zoom levels requested. I know this for certain but will need to run a separate test with debug logging enabled to see wots wot. |
Re: [Announce] modRana: a flexible GPS navigation system
By the way, I tried v 0.52.10 on a low end Android tablet and map tile display was porked, with every 2nd tile displayed along a row and then a row missing altogether and so on. OSM Cycle but I think it affects all.
"Sent from Ubuntu Touch MX using the Forum Browser app" |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Some layers that have frequently changing data include the timeout property by default and users can of course also set in themselv in the configuration file (which is in /home/nemo/.config/harbour-modrana on the Jolla). Also an important note about how the timeout logic is currently implemented in modRana - it currently only prevents loading of expired tiles from local storage (so that dynamic map layers don't show stale data). No scrubbing of stale files has been implemented yet, even though the needed data for it (timeout value & tile timestamps) is available. Quote:
Quote:
Quote:
Quote:
My suggestion would be to use a uSD card formated with a sane filesystem (EXT4) and store your tiles there. You can achieve this either by changing the map storage path in: /home/nemo/.config/harbour-modrana/user_config.conf Or you can just symlink the folder modRana uses for map data storage by default to somewhere on the uSD card: /home/nemo/.local/share/harbour-modrana/maps Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I used 'chattr +r' for long enough to be reasonably confident that it's not going to explode though, so might be worth a go if anyone is still using BTRFS. |
Re: [Announce] modRana: a flexible GPS navigation system
I'm unable to rebuild mapnik anymore. So I can't really fix the bad path. The build silently fails, see https://garage.maemo.org/builder/fre...log.FAILED.txt
Run standalone, the g++-4.6 command returns 1 without printing anything as well. |
Re: [Announce] modRana: a flexible GPS navigation system
1 Attachment(s)
Last month I wanted to cache tiles for several areas and best tool I found was Mobile Atlas Creator (older versions also allow you to download gmaps) .
Perl script attached that converts from RMaps/Big Planet SQLite format used in MOBAC to Modrana's SQLite. Actually its modified Beermad's script. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Also I guess overlays fall out of the window with these layers, at least without reprojecting the tile images. Quote:
Quote:
BTW, is there a specification of the format somewhere ? I have recently rewritten the modRana tile storage code to a standalone module Python module, so it is now much easier to add support for new tile storage formats. So provided that the format is not too complicated it could be possible to support it directly in the modRana tile storage code. Users would then just drop their RMaps/Big Planet SQLite tile bundles to the respective layer folder and modRana would detect the bundles and query them when looking for tiles. |
Re: [Announce] modRana: a flexible GPS navigation system
modRana 0.53.2 has been released !
The main highlight of this release is improved map tile handling:
ModRana can now also show up the map layers provided by the Thunderforest project, map layers using the quadtile addressing should now show up correctly again and some dead layers have been cleaned up. There have been also other fixes, for example on how the GTK GUI handled Unicode and multiline notifications and their timeouts. The Qt 5 GUI also got some fixes for tile rendering glitches and unhandled cases during map overlay config loading. Changelog Code:
modRana 0.53.2 (2015-10-11) |
Re: [Announce] modRana: a flexible GPS navigation system
storing vector tile data ; this is some news :D
anyway just day before tomorrow got around 135 km biking unknown lands just using modrana and classic old way of asking locals and it all went fine. there are a few usablity issues in modrana that i found while using it so long i.e app open for all the time that i ll detail later. all in all modrana is good enough for navigation thanks |
Re: [Announce] modRana: a flexible GPS navigation system
a lil question how to use those thunderforest maps and are they avaible in india as i wont be upgrading modrana for the next month or so beause i have a couple of trips planned so i do not want to poke a working install ;)
i am on o.52.1 |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
thanks |
Re: [Announce] modRana: a flexible GPS navigation system
Great work Martin! Been torture testing it for a while, and it doesn't lock up any more. Still a couple of blips - it sometimes 'undraws' a part of the map it's already drawn momentarily, but not enough to interfere with use. And I managed to crash it once - I'll try to get a log if I can make it do it again.
A very impressive achievement though overall - undoubtedly my favourite mapping software now. I was thinking, it would be amazing if when I'm tethering my tablet to my phone, I could have a modRana installation on my tablet, and use my phone's modRana installation as a kind of proxy map server. Don't know if that's feasible? If so, I could put it on github as a feature request. Thanks. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
That is a blast from the past... Or the futture perhaps! https://en.wikipedia.org/wiki/John_Titor |
Re: [Announce] modRana: a flexible GPS navigation system
Just installed it without any issues. Seems like a very nice app - will try it out in practice later this week. Just did a "dry run" and works very nicely out of the box.
|
Re: [Announce] modRana: a flexible GPS navigation system
Martink, any chance you will divert some time to Ubuntu Touch?
All of the GPS apps are pretty meh right now. |
Re: [Announce] modRana: a flexible GPS navigation system
Last time I tried it (some 2-3 years ago), modRana worked just fine on Ubuntu desktop (x86). Written in Python, it should be pretty portable. It should work on UT too, as long as there is Python in UT.
|
Re: [Announce] modRana: a flexible GPS navigation system
Working very nicely and seems much smoother than before. Think you've done a great job on this, thanks.
One question though, I tried the VirtualEarth OS Maps, and though maps downloaded, they certainly weren't OS. It might be that VE is doing something sneaky, but the OS maps are still available on the Bing web interface so I wondered if there's a request error. I've got a debug log but it didn't display the requests. I'll try again with some other options enabled: Code:
2015-10-11 21:33:29,713 INFO : log file enabled: /home/nemo/Documents/modrana_debug_logs/modrana_20151011#20-33-29.log |
Re: [Announce] modRana: a flexible GPS navigation system
Here it is with some extra options:
Code:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
DB looks like Code:
CREATE TABLE tiles (x int, y int, z int, s int, image blob, PRIMARY KEY (x,y,z,s)) Not sure about filenames. Maybe modrana should read every .sqlite file and compare schemas? |
Re: [Announce] modRana: a flexible GPS navigation system
Tried to use the offline maps - extracted them on my device
options -> navigation -> routing provider - car / monav - on device -> routing data - Car / netherlands seems to be recognized but after starting the modrana is still asking for connection to the internet and the maps continuously show "loading" I also tried to mess around with the maps setting, but doesn't seem to help. Did I miss anything? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Try to download something with internal downloader. menu->downloader->around here->... close modrana, disconnect from internet, start it again and check results. also make sure you at the same zoom level as downloaded data. zooming in/out shows your zoom level. btw you cannot download gmaps! |
Re: [Announce] modRana: a flexible GPS navigation system
http://www.modrana.org/ seems to be offline so I can't check but I think you're right about only copying the routing data. I followed this tutorial https://wiki.maemo.org/ModRana_offli..._map_data_pack
I will test again later this week and try your suggestion. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
https://github.com/M4rtinK/modrana/c...19d172ba01R200 https://github.com/M4rtinK/modrana/c...19d172ba01R678 It should be quite evident what to do from this. :) Quote:
And even if implemented it will probably require additional hardware, such as a microwave oven and a large CRT TV. Or LHC. Quote:
Quote:
Quote:
But a modRana based tileserver/proxy might indeed not be such a bad idea - it would be definitely mode robust than a sshfs mount due to the current tile downloading code being quite able at handling bad connectivity. There is even already some code for a simple tileserver in modRana from the time I have experimented with loading map tiles to the QML GUI from a simple tileserver running on localhost. Quote:
Quote:
On the other hand if someone is willing to step up to do the initial port (it should be quite easy if you use QtQuick Controls + Universal Components) and act as a modRana maintainer/packager for Ubuntu Touch, them I am certainly willing to help the person get started. :) Quote:
On a related note - there is a modRana package repository for the Fedora desktop Linux distribution: https://copr.fedoraproject.org/coprs/m4rtink/modrana/ This could in principle be done also for other Linux distributions if someone steps up to do the packaging, as modRanas dependencies should be available in most current Linux distributions. Quote:
On the other hand it seems to be possibly to use the Ordnance Survey layers directly once you get an API key from here: https://www.ordnancesurvey.co.uk/bus...openspace/api/ The only issues is that the only types of mobile applications they know are "An Android application" and "An iOS application". :D As they want you to input some sort of Google Play application ID for the Andoroid application option I guess I will just finally publish the modRana Android port on Google Play to work around this. :) Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Martin,
I'm afraid that all resistance is futile and the toolchain will remain as it is. I suggested this multiple time, even planned a potential solution, but no one wanted to make the needed changes in the autobuilder. It's a pity, indeed. Besides, there one more proof that we need toolchain upgrade - ocaml build succeeds only when using hathor with qemu 0.13. But who, apart from us, cares? Anyway, the platform is so terribly outdated that I see its only chance in DebiaN900. It makes no sense upgrading so many packages, as great as Aapo seem to have failed. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
The Monav offline routing data repository has been updated!
The data in the repository, useful for offline routing with modRana, has been updated. :) Also the infrastructure seems to be finally almost ready for unattended data updates, so in the near future the repository should be updated automatically every week. :) BTW, the update itself takes about 30 hours - ~25 hours for planet splitting & ~5 hours for routing data generation. |
Re: [Announce] modRana: a flexible GPS navigation system
Great news!!
Will redownloading monav routing data through marble on n900 also get the updates ones? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
And don't forget to make a how-to in once you make it work. :) |
Re: [Announce] modRana: a flexible GPS navigation system
The modRana website is currently down
This is a known issue - the kind people from the Masaryk University NLP lab kindly hosting the modRana website & the related Monav routing data repository had an unfortunate & nasty hardware failure and are currently working on bringing their infrastructure back online. Due to the seriousness of the hardware failure, there is no firm estimate of how long the service restoration might take, but hopefully just a few days. In case it takes longer I will probably setup a temporary website on GitHub Pages or some other suitable project web hosting place. |
Re: [Announce] modRana: a flexible GPS navigation system
The modRana website is back online!
The heroic NLP lab admins have been successful and the modRana website and the related Monav offline routing data repository are back online! :) So far everything that has been there before the outage seems to be in its place as far as I can tell, but please let me know if you think something is missing, if you find broken links, etc. :) |
Re: [Announce] modRana: a flexible GPS navigation system
One useful thing I would like to see in modRana is to "set home" in the settings.
Some way to have the map load at a preset location if there is no GPS fix. I seem to find that modRana loads in the middle of the sea and have to zoom out move over and zoom in while offline. Many times I can query the map and plan my route without waiting for a GPS fix so this would be a helpful time saver. Good to here your sites back up and running again. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
This is already kinda possible by creating a POI in the GTK GUI (available o the N900 & desktop) and then going to the POI details menu and using the "set as position" option. Not very discoverable and needlessly complicated. Something like long pressing a place on map and selecting "set as current position" or being able to directly input coordinates should be also available. Quote:
I think I might already have a RFE somewhere for checking the fix quality and just discarding these spurious fixes until the correct one arrives (IIRC it can be detected from the fix metadata). That way modRana would just show the last known position and then would jump to the actual GPS fix. Having a set "home" position might that would always be the focused when modRana starts up might also be useful. The concept of "home" coordinates could be useful also elsewhere, like "route home from where I am", etc. Quote:
http://data.modrana.org/monav/ also check out the modRana offline routing guide about how to use the routing data packs. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Well for me, N900 is the middle of the sea, Desktop is Brno the latter is possibly because there is no way to provide GPS data.
Never thought about a POI TBH, but yes I suppose a special Home POI could be useful. |
Re: [Announce] modRana: a flexible GPS navigation system
Hello,
Apologies in advance if my question is answered elsewhere or this is the wrong thread for it. I just installed modRana on my Jolla, and must say I rather like the look of it. Would very much appreciate to find out whether there is a way to: - install offline routing, - download map data for offline use. Could anyone help me? |
All times are GMT. The time now is 02:55. |
vBulletin® Version 3.8.8