droll
|
2011-07-23
, 14:15
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#781
|
|
2011-07-23
, 17:18
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#782
|
I promised to post some example from tomtom gui so here it goes
http://aijaa.com/v.php?i=000948347385.jpg
2. Graphical sign for next turn & distance to turn
3. The number or name of the road your are turning
5. Zoom buttons (Far away from each other to minimize occurrence of miss taps of wrong button)
On N900 maybe the best compromise would be to use right or left edge of screen with column of ~200px
Martin, quick question (because I'm too lazy to dig through the code right now!):
How hard would it be to allow turn-by-turn routes to be imported from a file?
There is a problem with displaying Chinese characters when using POI search:
|
2011-07-23
, 18:21
|
Posts: 3 |
Thanked: 0 times |
Joined on Jul 2011
|
#783
|
|
2011-07-23
, 18:22
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#784
|
Terrific application and amazingly full of features considering how new it is.
As an interim measure until you manage to include a feature to import tile files into the database, I'm writing a Perl script to do the job.
I can see from the structure of the SQLite databases that it's designed to have multiple store.sqlite.n files (presumably because otherwise the store could get ridiculously large: it looks like my 200 000 tile files would make for a file of about 2G). What logic do you use to decide when to create a new one? Is it when the last one gets to a certain size threshold?
Once I've incorporated that into my script I'll post it here for anybody who might find it useful.
Looks like it's a slow process if you've got a lot of tiles, though; my current test job has been running for about 90 minutes and has only imported 13 000 tiles.
|
2011-07-24
, 09:32
|
Posts: 21 |
Thanked: 7 times |
Joined on Jul 2010
@ Ipswich, England
|
#785
|
It lists the folder for available store files, then it checks them sequentially until it finds one that is under the maximum size threshold. If no such store is found, new one is created. Maximum store size threshold is 3.7 GB.
Can including it in the modRana package once it's done ? - Only if you don't mind, of course.
This way it could be placed in /usr/bin and would be easily callable as it would be in $PATH.
I hit something similar - the solution was not to commit after every tile but just once every 50 or so tiles. This made the process quite faster IIRC.
The Following User Says Thank You to beermad For This Useful Post: | ||
|
2011-07-26
, 09:23
|
Posts: 73 |
Thanked: 33 times |
Joined on Nov 2010
|
#786
|
|
2011-07-26
, 10:34
|
Posts: 73 |
Thanked: 33 times |
Joined on Nov 2010
|
#787
|
The Following User Says Thank You to jj0 For This Useful Post: | ||
|
2011-07-26
, 15:15
|
Posts: 21 |
Thanked: 7 times |
Joined on Jul 2010
@ Ipswich, England
|
#788
|
scp -pr ~/MyDocs/.maps mycomputer:/tmp
cd /path/to/tile_directory
The Following User Says Thank You to beermad For This Useful Post: | ||
|
2011-07-26
, 17:45
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#789
|
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.
OK, I've got a working Perl script to import map tiles into the database.
The Following User Says Thank You to MartinK For This Useful Post: | ||
|
2011-07-26
, 18:10
|
Posts: 21 |
Thanked: 7 times |
Joined on Jul 2010
@ Ipswich, England
|
#790
|
Can I put your script & HOWTO on the modRana wiki ?
The Following User Says Thank You to beermad For This Useful Post: | ||
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|