View Single 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: