![]() |
Re: [Announce] modRana: a flexible GPS navigation system
try copying the tiles to a pc and running your script there.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Actually, thanks to your speed based voice message triggering patch modRana no longer needs the Google provided triggering distances. So a simple GPX file with some points having routing messages (using the <cmt>, <desc> or eveng <extension> tag ? GPX 1.1 schema) should be now quite easily usable for routing. Some notes to this:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
each time I try routing I always get "no route found". can someone tell me where I am going wrong?
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Its currently quite basic so please let me know if you find any errors or omissions. Quote:
The Python code that does this in modRana is here: http://modrana.org/trac/browser/trun...eTiles.py#L200 Quote:
This way it could be placed in /usr/bin and would be easily callable as it would be in $PATH. :) Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Is there a problem in the latest version with displaying composite tiles?
I haven't used it in a long time, just using OSM, but tried just now a couple of times with OSM and Virtual Earth Sat and it just gets stuck on Loading... for each tile. Individually both work, but composite doesn't... |
Re: [Announce] modRana: a flexible GPS navigation system
It seems the display fails for overlaid images, when one doesn't have the tiles to display, i.e. you zoom too much in for instance, so that no sat images are available.
Whereas before it overlaid also the not-available tile info, not it just shows loading... But when I zoom out a level, it works. |
Re: [Announce] modRana: a flexible GPS navigation system
OK, I've got a working Perl script to import map tiles into the database.
At the moment, it won't run on the N900 itself, as I'm having a few problems getting the SQLite module to build on my scratchbox installation; I'll work on that over the next few days when I have spare time and see if I can get that working. Dependencies: You'll need to install the Perl DBI and DBD-SQLite modules. These should be available from your disto's repositories (otherwise, get them from CPAN). It took about 75 minutes to import my 200 000 tiles into the database on my dual-core Athlon machine; obviously this will vary depending on the speed of the machine it's done on. The script is interruptible - just hit Control-C and it'll shut down cleanly. Then restart at your leisure. Getting it to work on an OS other than Linux is left as an exercise for the reader, as I'm happily Microsoft-free. It demonstrates well the oft-mentioned clustering problem with FAT partitions; my tile files allocated 12.5G of space, whereas the store file is only 543M. Instructions: Download the script from http://www.beermad.org.uk/mapconvert Either copy your ~/MyDocs/.maps directory to your Linux box or mount your MyDocs partition on it. Try to preserve the timestamps if copying (as they're recorded in the database, I assume they're used to work out if a new copy of any tile is needed if they've changed on the tile server) - for example, if using scp: Code:
scp -pr ~/MyDocs/.maps mycomputer:/tmp Code:
cd /path/to/tile_directory If necessary, copy the lookup.sqlite and store.sqlite.* files back to your N900. If there are any tiles already in the database, it leaves them there and it doesn't try to over-write any if one it finds already exists (at some time I should change this so it does over-write if the tile file is newer). If you already have tiles in a database, I recommend making a copy first, just in case anything goes wrong. I've tested the script a fair bit, but can't guarantee something won't screw up. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Like this, when tiles from one layer are missing, nothing is shown. :) This can be IMO improved:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
All times are GMT. The time now is 12:08. |
vBulletin® Version 3.8.8