![]() |
Re: [Announce] modRana: a flexible GPS navigation system
...Does modrana have a Python library that I could just import? In that case I could bypass going through the process of launching modrana, at least for search.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
To try it out, you will need to clone modRana from git, as the latest release available from OpenRepos has a bug that prevents the command line interface from working: Code:
git clone https://github.com/M4rtinK/modrana Code:
http://staticmap.openstreetmap.de/staticmap.php?center=51.507322,-0.127647&zoom=15&size=350x350&markers=51.507322,-0.127647,ol-marker You can also make it return the list of available CLI options: Code:
python3 modrana.py --help |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Am I the one to fix the mapnik bug concerning the misconfigured path? I'll be very busy up to 14th Apr, but later I should have more time. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
modRana 0.52.1 has been released! :)
So the quite massive modRana update is finally here for all supported platforms. Get it while it's hot! :) Highlights The main highlight of this release is routing support for the Qt 5 GUI! :) It is not yet as advanced as in the GTK GUI and online only for now, but nevertheless finally opens the world of routing to users on Sailfish OS, Android and other Qt 5-GUI only platforms! :) I would also like to use this opportunity to Frederik Ferner who contributed the core routing support code for the Qt 5 GUI - thanks a lot! :) Another highlight are GTK GUI map drawing improvements - the map should now correctly handle state changes such as switching overlay on/off, changing overlay layers, switching network usage modes, etc. Batch downloaded tiles should now also be used right away once the batch download finishes. And thats not all - it is now possible to use double click zooming and mouse wheel zooming, track recording statistics, Android packages now have an Android visual style, performance improvements, lots of fixes, etc. Check the changelog for more details. :) Changelog Code:
* Sun Apr 12 2015 Martin Kolman - 0.52.1 |
Re: [Announce] modRana: a flexible GPS navigation system
Still loving modRana
Feature request as you begin on the next version, location sharing especially for N900. suggesting the following services Mitaru - http://miataru.com/ OSS has sailfish, droid, html5, and ios ports location2sms https://gitorious.org/location2sms OSS N9 port Icecondor https://github.com/icecondor/api/wiki/api-v2 OSS moving dots or pins for friends would be great as well as popup when a friend, especially a selected one, was nearby inside a defined distance. |
Re: [Announce] modRana: a flexible GPS navigation system
Just trying out modrana 0.52.1 but I'm unable to figure out how handmade routing is working. I can add start, middle and end points, but how do I add them to a line? Also the route-Button on the lower right doesn't seem to do anything. Any pointers here?
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
modRana is finally in Harbour!
So after being available for Sailfish OS for ~1.5 years only from OpenRepos modRana is now also available from the default Sailfish OS store AKA Harbour! :) FAQ Q: Are the OpenRepos and Harbour packages the same ? A: In most aspects yes. The Harbour version of modRana can't use some APIs not yet allowed in Harbour, so some features don't work:
Q: I have installed modRana from OpenRepos and I can't install modRana from the Jolla store client. What should I do ? A: Just uninstall the modRana package (using the store client or Warehouse) and install the package from Harbour - your local settings & map data won't be affected. (As for why this is needed - the OpenRepos package has vendor set to "meego" (the default in the Mer OBS), but the Harbour package does not have a vendor set (to be Harbour compliant). This causes issues as even though the packaging tools see the possible package updates, they won't actually update them due to different vendors. This confusion should be hopefully fixed for good soon once I push a modRana package without vendor also to OpenRepos - even though OpenRepos package users will probably have to manually install it to get normal updates working again.) Q: What will now happen to the OpenRepos package when modRana is also available from the Jolla Store/Harbour ? A: I will keep updating the OpenRepos modRana package just like before. Then afterwards if no major issues have been found the package will also be submitted to Harbour. :) So basically an idea similar to how the opt-in updates work for Sailfish OS:
|
Re: [Announce] modRana: a flexible GPS navigation system
So as I've already mentioned I have just pushed modRana 0.52.9 to OpenRepos. This package update should fix the compatibility issues between the modRana package in OpenRepos and the one in Jolla Store/Harbour.
If you have installed modRana <0.52.9 from OpenRepos you will need to manually uninstall it and then install it (>=0.52.9) back. Otherwise package updates for modRana would not work correctly. This can be done either with the Warehouse application or from the terminal (as root): Code:
zypper refresh |
Re: [Announce] modRana: a flexible GPS navigation system
@MartinK,
Do you know which of the included map sources are working at present and which not? I have a few that yield errors - Virtual Earth, MapQuest for eg. |
Re: [Announce] modRana: a flexible GPS navigation system
Modrana failed to install on N9. The reason is:
Failed to fetch https://qa9recEP:Pat2UGuP@downloads....an/apps/./pyth... Any idea? |
Re: [Announce] modRana: a flexible GPS navigation system
As I didn't receive answer I noticed that modrana deb file is not enough to install and needs to download other applications about 3 mb additional and due to the close of nokia store it doesn't find the required files. The question now is: how to add these files and does openrepos website contain them? Any help will be appreciated.
|
Re: [Announce] modRana: a flexible GPS navigation system
I guess this link will help you.
This info should somehow propagate ... |
Re: [Announce] modRana: a flexible GPS navigation system
@peterleinchen
But I already installed repomirror. Thanks for advice. |
Re: [Announce] modRana: a flexible GPS navigation system
Then you should fix above posted link. As it is not obvious which python package you are referring to and where it is located ...
btw.: where did you get that link from? the mirror is not a complete mirror. More it just covers ssu (but your requested package should be in there, too) |
Re: [Announce] modRana: a flexible GPS navigation system
Well, I guess Harmattan simply needs CSSU... :)
MartinK: any ETA for OSM vector maps? I'm starting to doubt that my N900 will survive until that foretold moment of modRana supporing vector maps. Besides, sorry for not fixing the packaging issues. They are minor and I totally forgot about them. I should fix them once and for all in the second half of June. |
Re: [Announce] modRana: a flexible GPS navigation system
@ peterleinchen
I tried two ways to install the application. The first is from warehouse which ended with the link above. Yes the link is not complete but that what I captured by screen shot. The second is that I downloaded the deb file from openrepos website which started installation by asking to accept a dependency notice that it needs to download other applications and it ended with: download failed (connection to the application provider was lost). |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
PySide & Qt 4.7.4+ python-mobility and Qt Components (whatever that implies) But, I can confirm that it is troublesome to install. And its not enough with simply n9mirror. |
Re: [Announce] modRana: a flexible GPS navigation system
@ peterleinchen
I tried to install the application by three ways. The first one is from the warehouse which is ended by the link above. Yes it is incomplete but that what I captured by screen shot. The second way is by downloading the deb file from openrepos website which showed a dependency notice asking to accept downloading more files. At the end it said: download failed (connection to the application provider was lost). The third way is by terminal command which also ended with errors. I have a screen shot of the terminal but I couldn't find a way to attach it here. The insert image button leads to url location. |
Re: [Announce] modRana: a flexible GPS navigation system
1 Attachment(s)
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
So, for sure python-qtmobility is available on the N9 repo mirror.
Quote:
Maybe we derail this thread, maybe not. What you can/should do is install everything manually: devel-su apt-get install modrana - error thrown about python-qtmobility, then apt-cache search python-qtmobility -see that it is available, and continue with apt-get install python-qtmobility read the log, find out which package is problem and continue with last two steps (apt-cache search ... and apt-get install ...) Maybe this way we can narrow it down to the real problem. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Code:
apt-get install python-qtmobility Quote:
Still, the main issues still stands: How to get the data for rendering ? AFAIK big Mapnik tileservers use a Postgis database to fetch geometry during rendering - that would be probably too much of an overkill for the N900 and mobile devices in general. So some other more simple/lightweight format/store is needed that can still be plumbed to Mapnik (and/or ideally other potential renderers). Raw OSM data files (XML, PBF) won't do for any non-trivial area due to missing support for efficient random access and area queries. Therefore some sort of custom format with pre-processed data will be needed - my current favorite is reusing the already present support for sqlite tile database files, but storing tile geometry instead of tile images, with optional per tile compression. Using this method the tile rendering backend would very easily query the geometry for any given tile. There also options for just generating "geometry tiles" for all layers we might want to render for maximal simplicity and ultra fast fetching (this would make the database bigger than the raw OSM data for the area) or storing just a single (or a couple) of map layers and combine/split them for the given zoom level (meaning the database would not be (much) bigger than the raw OSM data for the area. In short - I'm still investigating how to best do it and piecemail working on the needed components - testing your Mapnik port, investigating the QtQuick 2 Canvas, improving the modRana data repository, planning improvement in the tile storage module for "geometry tiles" support, etc. Also as for related development - Basil Semuonov (probably best know for running Open Repos) has apparently been working on a offline rendering and routing server (I might have written about it already a while ago). That would also help a lot - provided that:
More or less instant offline maps as his solution seems to have some sort of internal database (solving the data issue), can import raw OSM data and provides a localhost tile server (very easy to use by current modRana codebase). Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
2 Attachment(s)
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
So you still have downloads. maemo.nokia.com configured!
That is the reason. Remove it from sssu file. Or try to remove ancelads repo-mirror deb and install it again. Iirc there was some update on it. And n9 keeps older repos in higher (and singleton) priority (even it should take the next one :() |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Thanks for the reply :)
Quote:
Quote:
I have no clue about the custom format, but wouldn't it be a good idea to: 1. Create any offline vector maps, even if it'd be a killer 2. Then add code delaying the loading of the whole file into the memory (not a killer anymore but maybe a little slower - slow but reliable in case of no Internet connection) 3. Investigate the custom format, indexing or anything else to enable quick lookup. Or maybe the pbf (for instance) file could be split into smaller chucks, e.g. 50 MB each depending on the coordinates? And than it would be trivial to get the proper file - take the coordinates x,y - let x1=f(x), y1=g(y) - take the file `map-$x1-$y1` - find the fragment. This would greatly diminish the amount of file reading and RAM used. Well, I'd rather start considering the basil's once it's working. But I guess it shouldn't be very difficult to port. |
Re: [Announce] modRana: a flexible GPS navigation system
Modrana on my N9:
The main page: Nothing happens when clicking on Routes or POI. Options page: Clicking on POI, Navigation, Network, Debug just bring a black page with just a header of the item. Is there any other files to be installed to make the application useful? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Doesn't work on Jolla, I've not recently tried on n900. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Overall I think I'll just concentrate on getting one offline map rendering solution going and we will se how to go from that. :) Quote:
Quote:
Quote:
Update: Should be now fixed! :) |
Re: [Announce] modRana: a flexible GPS navigation system
And now for a late release announcement. :)
modRana 0.52.10 has been released ! :) The only notable user visible change is the quick routing feature: http://modrana.org/images/qt5_gui/mo...route_here.jpg Just long press a point of the map and a quick routing menu shows up. :) Changelog The changelog format has changed due to various packaging changes to make modRana packaging more sane & Harbour compatible. The new spec file changelog is now automatically generated from commit message headers and looks like this: Code:
* Tue Jun 16 2015 Martin Kolman - 0.52.10-1 While this is handy for packaging (it is automatically generated!) and for checking which commits are present in which modRana release, this new format is less readable than the "old" hand-written changelog entries. So I've started writing simple hand written changelogs to the release commits: Code:
New modRana version 0.52.10 |
Re: [Announce] modRana: a flexible GPS navigation system
Does 0.52.10 include the VE OS maps fix? I still can't seem to get it to download - though I'm perfectly willing to accept it's pebkac issue.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
In any case if you clone modRana from GitHub it will have the fix and should run out of the box. If you are using it on the N900 just run modrana.py from the command line. On Sailfish OS you can use the run/sailfish startup script. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
If a need comes up, I'll look into cloning it, but I'm busy with wrapping up one job and hunting for another at the moment. I hope to have some time to play more with less standard stuff on SFOS when the tablet arrives and I have a bit more time. |
Re: [Announce] modRana: a flexible GPS navigation system
Two questions:
1) Do normal map tiles 'expire'? It'd be ideal if the app could check whether tiles were up to date if they're older than a certain age and still being used, though if that isn't possible just having an option to flush them after a year or so would be good. 2) Don't copy-on-write filesystems have terrible performance for databases? I read older versions of BTRFS were notorious, and Sailfish has an oldish one... I'm wondering whether creating a subvol without COW for the maps, or perhaps just tuning down the write frequency massively in the config file might help performance (not sure I'm brave enough to try the former - and I'm certainly not suggesting anyone else should, unless they know what they're doing...) Love the app, but hitting some weird problems on sqlite where it seems to refuse to load tiles it has clearly loaded before. Still, I realise it's early days yet for the port. I'll try to capture some debug output if I can. (p.s. sorry if these have been answered. I read 20 - 30 pages of the thread, didn't see anything) |
Re: [Announce] modRana: a flexible GPS navigation system
This is a log from when the database seems to 'lock up', apparently refusing to load tiles it has already downloaded. I'm not 100% sure how to trigger it, but generally scrolling around and zooming in and out in an area I haven't yet downloaded works reliably eventually. I've left it in that state for 1/2 hour probably, and it doesn't recover - though interestingly, it does seem to be able to load other tiles sometimes (e.g. if I zoom really far out) - it just seems to choke on certain particular areas of map, but after closing the program and relaunching it, and sometimes even just by zooming out then back in again, those areas of map will draw fine.
http://pastebin.com/dVuPYC4k Quite a few examples of this: Code:
Traceback (most recent call last): Quote:
:) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Side note:
Due to a bug, it seems it's currently impossible to send the logs via the Jolla mail client using gmail, unless you rename them (removing the #). https://together.jolla.com/question/...ent-via-gmail/ |
All times are GMT. The time now is 10:11. |
vBulletin® Version 3.8.8