View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#232
Originally Posted by kureyon View Post
I think ThePooBurner means swap start and destination points and reroute
OK, now I get it

Originally Posted by gkuenning View Post
One problem I've noted is that most of the data-entry screens (e.g., route destination address) seem to use a black font. That doesn't work so well against the 900's default black background...
I'll lok what can be done. BTW, which one do you like beter ? The current modRana entry method or the default edit-boxes-on-the-page one ?

Originally Posted by Wikiwide View Post
Quick reply...
"It is going to be completely revamped (sqlite for storage, configurable categories, tags, etc.), and better integrated with other features."

I don't like SQLite... because I cannot read sqlite files by vi

Again, thank you for the application!
Well, yeah, but its IMO the easiest way how to manage many POIs with categories, tags and easy adding and removing. It should be also easier to add new functionality just by adding a new table, etc.
Without using a db of some sort, I would either have to dump and load the whole datastructure each time, which could be slow and adding new features would be problematic in regard to already stored user data. Also, If I saved each POI as a file, I could hit the cluster issue, as with the tiles.
Of course, there will be CSV export/import for backup and db content examination purposes.

Originally Posted by zombiepig View Post
Hey MartinK have you seen this yet?
http://blog.mikeasoft.com/2010/09/24...en-street-map/

Could be some useful stuff in there.
Originally Posted by woody14619 View Post
FYI, on the discussion about setting up local on-device routing, I thought you may be interested in this article about how someone got a set of routing programs setup locally on the N900. I'm betting with a little tweaking it could be turned into a package that would allow users to setup a routing server on their own device. May not be the "best" solution, but better than nothing when there's no network available.
It seems that there are 3 components:
  • memphis - vector map renderer
  • libchamplain - a clutter based map display widget
  • spatialite - a Sqlite extension that provides the actual routing


Spatialite is available from the repositories.

IMO, you basically load some OSM data the database, perform some special queries and you get the route as result.

Unfortunately, there seems to be a bug in the current Maemo version of Python, that makes it unable to load sqlite extensions.
There also seem to be Python-bindings for Spatialite, but they are not in the repositories and would need to be packaged first. Also, there is the question if they would work with the current version of Python.

There is also the possibility of running some sort of a separate routing daemon, with the added benefit of sharing the routing data between the numerous navigation apps (as mentioned by Woody in his comment to that article) on the N900.

Concerning Memphis, the vector map drawing library, its currently not in the repositories. But if someone packaged it and its Python bindings it could be IMO quite nicely integrated with modRana. Vector map support would mean (simple) maps of large areas from small OSM vector files.

An (old) version of libchamplain is in the repositories, but unfortunately without its python bindings. It could theoretically be used as an alternative map drawing widget and could be faster as the current modRana implementation because libchamplain is based on clutter which uses OpenGL ES for rendering on the N900.

Any interested Packagers/PyMaemo people ?
__________________
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)

Last edited by MartinK; 2010-09-28 at 00:23. Reason: typo: CVS -> CSV
 

The Following User Says Thank You to MartinK For This Useful Post: