|
2012-05-27
, 09:42
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#1042
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2012-05-27
, 11:14
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1043
|
I'm facing serious problems when trying to batch download an area for my Google Map layer. Downloading "on the fly" is (almost) always efficient and fast, even via cellular network, but the batch downloading always fails - with few exceptions.
My /home/user/.modrana/map_config.conf sets "http://mt1.google.com/vt/"
as the url where the Google Maps are supposed to live, but opening such an url with my browser gives the error message "Your client has issued a malformed or illegal request. That's all we know.". Is this the issue?
A good solution could the Sqlite batch import scrip discussed at
http://modrana.org/trac/wiki/SQLiteT...rtPerlScriptEN.
The problem here is that the perlscript mapconvert I've downloaded
from http://www.beermad.org.uk/mapconvert doesn't work in my linux box running Fedora: the error message is "install_driver(SQLite)
failed: Can't locate DBD/SQLite.pm in @INC (@INC contains:
/usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at (eval 5)
line 3. Perhaps the DBD::SQLite perl module hasn't been fully installed,
or perhaps the capitalisation of 'SQLite' isn't right. Available drivers:
DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql. at ./mapconvert line 24".
Which are the packages required? According to the listed dependencies, it seems that the rpm packages perl-DBI and perl-DBD-MySQL should meet the requirements, but, although I've installed them, I get the previous mentioned perl error message.
Thank you very much for any help.
Nevermind - I found the problem. The Network Usage option Only For Important Data had been set. Apparently downloading tiles is not considered important. Selecting Unlimited Use of Network fixed the problem.
I do not really wish to make extra work for Martin who has done so much work already to make Modrana an excellent program, but it would be nice if in a future update that in options there was a picker or text entry box to set the location where tiles are stored.
As the collection of tiles increases, it really does seem better to move them to a memory card, & editing the config file seems to often to lead to typo problems, etc.
And even better put them in a loopback mounted file with less cluster size (each little tile uses 64KB on eMMC).
See here
Or consider using SQLite DB, MartinK?
The Following 7 Users Say Thank You to MartinK For This Useful Post: | ||
|
2012-05-27
, 14:45
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#1044
|
|
2012-05-27
, 19:25
|
Posts: 3 |
Thanked: 4 times |
Joined on Sep 2010
@ Italy
|
#1045
|
The reason is simple - Google doesn't like batch downloading and block further downloads once it is detected.
Nope, thats just the prefix used to build the URL, a valid one looks like this:
http://mt1.google.com/vt/lyrs=m@1770...pp&x=6&y=6&z=4
Well, you still need to get tile tiles somewhere first.
Unfortunately, I don't have a Fedora installation at hand at the moment - well, you can try to just install everything with "sqlite" in name and check if it fixes the issue.
Yeah, the naming should really be changed to be more descriptive.
Only For Important Data means that no map tiles are downloaded but online routing & search are still allowed.
So maybe "Routing & search only" would be a better name ?
OK, I'll have a look at it once I have some spare time, shouldn't be that difficult. IMHO, entry box is a better choice, as the default Hildon folder chooser is dog slow & doesn't usually show all available folders (does it even show invisible folders ?).
Already implemented. The modrana.org wiki has more more information about how it works. You can also use the (above mentioned) Perl script to import the tiles you have already downloaded to the database.
The Following User Says Thank You to cirodv For This Useful Post: | ||
|
2012-05-28
, 09:06
|
Posts: 569 |
Thanked: 462 times |
Joined on Jul 2010
@ USA
|
#1046
|
But the tiles location is shared between multiple map applications and if you use them to view the same location you will have the tiles stored twice, right?
|
2012-05-29
, 00:29
|
|
Posts: 387 |
Thanked: 1,700 times |
Joined on Feb 2010
@ Cambridge, MA, USA
|
#1047
|
[...]
Yeah, the naming should really be changed to be more descriptive.
Only For Important Data means that no map tiles are downloaded but online routing & search are still allowed.
So maybe "Routing & search only" would be a better name ?
[...]
The Following 4 Users Say Thank You to Ken-Young For This Useful Post: | ||
|
2012-06-01
, 21:49
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1048
|
But the tiles location is shared between multiple map applications and if you use them to view the same location you will have the tiles stored twice, right?
It is possible that many tend to use one map application - I do, anyway. It does seem like the default should continue to be the shared maps directory.
Then, if someone is using Modrana & really needs additional storage space, the option is there to move the tiles to a memory card. It would be ideal if the other map applications also made the tiles directory configurable, but all things can't be made ideal!
I just thought of another feature that might be useful - POI's with alarms. Since the GPS is on already, & you can enter POI's, it could be useful to associate an alarm with the POI so you don't drive past it. I would add POI's for speed limit change signs & set a bong sound in areas that I sometimes forget to to speed up or slow down in.
lat;lon;distance;enabled;name;alert 51.178844,-1.826189;200;1;Stonehenge;Watch for the stones !
The Following 9 Users Say Thank You to MartinK For This Useful Post: | ||
|
2012-06-01
, 22:37
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#1049
|
The Following User Says Thank You to zimon For This Useful Post: | ||
|
2012-06-02
, 00:47
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1050
|
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
As the collection of tiles increases, it really does seem better to move them to a memory card, & editing the config file seems to often to lead to typo problems, etc.