Active Topics

 



Notices


Reply
Thread Tools
Posts: 53 | Thanked: 24 times | Joined on Aug 2013
#1821
Originally Posted by nieldk View Post
From github pages, the dependencies seems to be:
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.
Does that mean it cannot be installed on N9? The terminal image is attached.
Attached Images
 
 

The Following User Says Thank You to wisgal For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1822
So, for sure python-qtmobility is available on the N9 repo mirror.
~ $ apt-cache showpkg python-qtmobility
Package: python-qtmobility
Versions:
0.2.2.1-0maemo3+0m6 (/var/lib/apt/lists/coderus.openrepos.net_n9mirror_apps_._Packages)
Description Language:
File: /var/lib/apt/lists/coderus.openrepos.net_n9mirror_apps_._Packages
MD5: 32ace0c0cec89c8f8a20eae36d9f7952]
Looks like some other dependency is the problem.

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.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1823
Originally Posted by wisgal View Post
Does that mean it cannot be installed on N9? The terminal image is attached.
Try:

Code:
apt-get install python-qtmobility
That should install the missing dependency. But Warehouse should do that automatically when installing modRana, it's weird it's not working correctly.

Originally Posted by marmistrz View Post
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.
It's of course still on my mind, but compared to all the other stuff needed & requested by users it is one of the most complex items. Also I would like to make it as multi platform as possible so that there aren't big separate platform specific chinks of code. For example I can count on Mapnik being available on Maemo (thanks to you heroic effort! ) and on desktop, but I'm not sure if I'll be able to build it for Sailfish OS and I have serious doubts of an Android build being doable. Still from my experiments it should be possible to run Mapnik in a "local" tileserver mode - basically feeding it with geometry and making it render individual tiles using the Python interface. Then the current tried and tested tile handling machinery would put the rendered tiles on the screen, show a loading tile before tile rendering is ready, could cache tiles, etc.

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:
  1. he actually ever releases it (he seems to be generally really busy)
  2. it can be ported to Maemo (you have used your magic to port Magic, so I'm sure this would be easy for you ;-) )

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).

Originally Posted by marmistrz View Post
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.
Thanks!

Originally Posted by handaxe View Post
@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.
I haven't really checked in quite a while - I have "write a layer availability testing script" on my TODO but have not got to it yet. :P So just let me know what layers seem dead and I'll remove them if they also don't work on my side & if I can't fix the URLs. Thanks in advance!
__________________
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 7 Users Say Thank You to MartinK For This Useful Post:
Posts: 53 | Thanked: 24 times | Joined on Aug 2013
#1824
Originally Posted by peterleinchen View Post
So, for sure python-qtmobility is available on the N9 repo mirror.

Looks like some other dependency is the problem.

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.
I am sorry if my post may derail the thread. Of course I will leave after failure. However I tried what you and Martink proposed and what the terminal asked for apt-get update but still no success. The results are shown in the attachments.
Attached Images
  
 

The Following User Says Thank You to wisgal For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1825
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 )
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 53 | Thanked: 24 times | Joined on Aug 2013
#1826
Originally Posted by peterleinchen View Post
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 )
Removed and reinstalled Ancelads repomirror from openrepos and the results are the same. Regarding the second option I didn't find such configuration in the /.config folder.
 

The Following User Says Thank You to wisgal For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1827
Originally Posted by wisgal View Post
Removed and reinstalled Ancelads repomirror from openrepos and the results are the same.
Rebooted?

Regarding the second option I didn't find such configuration in the /.config folder.
file /etc/apt/sourceslist.d/aegis.ssu-keyring-xxx.list
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 53 | Thanked: 24 times | Joined on Aug 2013
#1828
Originally Posted by peterleinchen View Post
Rebooted?


file /etc/apt/sourceslist.d/aegis.ssu-keyring-xxx.list
That's it. Deleting the two keyring files solved this issue. Thanks a lot.
 

The Following 3 Users Say Thank You to wisgal For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1829
Thanks for the reply

Originally Posted by MartinK View Post
but I'm not sure if I'll be able to build it for Sailfish OS and I have serious doubts of an Android build being doable.
Well, Sailfish is Linux, so grabbing the packaged mapnik and its build-deps for Fedora or whatever should just work. As for Android, it's become such a caricature of what Linux should be that I don't have any idea. But if the Digia folks were able to run Qt there and Python runs there as well, why shouldn't boost & mapnik fail? But I guess xda-developers may be a better place to discuss mapnik on Android

Originally Posted by MartinK View Post
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:
  1. he actually ever releases it (he seems to be generally really busy)
  2. it can be ported to Maemo (you have used your magic to port Magic, so I'm sure this would be easy for you ;-) )

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).
Well, it must be easily convertible from the data here: http://download.geofabrik.de/europe/poland.html#

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.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 4 Users Say Thank You to marmistrz For This Useful Post:
Posts: 53 | Thanked: 24 times | Joined on Aug 2013
#1830
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?
 

The Following User Says Thank You to wisgal 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 09:51.