This object is in archive! 

Free map download does not continue

Sven shared this problem 7 years ago
Solved

Hi there,


i'm using the Pro-Version and having trouble with downloading map tiles for offline usage. I've started to download a selected area around my home from the map "OSM - OutdoorMTB Europe" to my SD card. For this map we have 50k tiles free per day. After the first ~300k tiles the download won't continue anymore. Every time i try to continue, an error message says something like "could not finish download, check your internet connection and the capacity of your SD card".


Well... both are ok. My internet is working correctly and any other applications have no problems using it. Also my SD card has more than enough free capacity... but... why the hell is LocusMap not able to point out a little closer, what the problem is? It must be possible for this program to check, if the internet connection is working or not, also it must be possible to check SD card for remaining space and tell the user, how much space is needed at all.


Thanks.

Best Answer
photo

Good day Sven,

thank you very much for your file, it helps!


I think I have found real reason of this problem even without direct testing of downloading. Your file has size 4,294,963,200 bytes, which means 3.999996 GB!


Why I'm writing this?

https://www.google.com/search?q=android+4+file+size+limit


Because of using FAT32 system for storage devices, files on Android 4.x are limited to 4 GB. I think best possible solution here is to

a) start downloading additional areas into new separate map file. When you finished map files (sqlite db files) place into same subdirectory (like Locus/maps/my map) it will work as one single map called "my map"

b) consider downloading vector maps (LoMaps from Locus Store or any alternative map based on "MapsForge" that are usually for free on internet), which are a lot lot smaller and usually contains same amount of detail.


Let me know if either a) or b) is fine for you. Thanks and sorry for a complications.

Replies (12)

photo
1

Good day Sven,


Locus tries to print out all possible information, if they may be useful. In case of failure during download, there is many options that may cause troubles. Are you able to create a log right after failure? It should help to find out, why the hell this problem happen. Thank You and sorry for a complications.

photo
1

Hi Menion,


thanks for reply. I created the log via "CatLog" and attached it below.

photo
1

Good day Sven,

thank you for a log. This is really interesting, but in log is absolutely no useful information.

I'm just preparing new version so in visible error message will be also ID of map tile that caused this error. Send me please a screenshot of error message you get in next Locus Map version, so I may try to simulate same problem and find if problem is in Locus Map itself or in web map tile server. Thank you and sorry for complications.


EDIT: new version will be published during next 24h

photo
1

Hi Menion,


thanks for reply. I made a screenshot from my current version 3.21.0 and added it below. The text is in german, so here's the translation:


"Process not successful

Problem with downloading map tiles.

Check your internet connection and the capacity of your SD-card and try again.


Error: 1

Already finished: 337450 of 367003 tiles


OSM - Outdoor-MTB Europe, today 0 of 50.000"


I will test new version as soon as available and report here.


Thanks.

photo
1

Hi Menion,


same problem with new version 3.21.1. Just an additional line is visible that says:


"Error 1, tile: 70137 | 43801 | 25"


Rest is the same as before. I've tried the map download on another device without any errors (same settings and steps).


I've attached a new log below, it may help. :)

photo
1

Good day Sven,

thanks for additional information. Sorry we fight with this little bit. It's unfortunately still not clear, why map download stop. By this error, it looks more like some problem in database file, because map tile ( by numbers you wrote ) seems to be correct and on different device it works as well.


May you please send me your partially downloaded map, that cause these problems? I need to check database file itself. Thank you very much!

photo
1

Hi Menion,


thanks for your efforts to help. Yes i can upload the file, but it is around 4 GB in size... can i attach this here, or should i upload it to a cloud service and just give you the link to the file then?

photo
1

Hello,

perfect, please upload it here https://nas.asamm.com/share.cgi?ssid=08Jwrwq#08Jwrwq , it should be easier ( button in top right corner ). Thank you

photo
1

Hi Menion,


upload is complete, please let me know if you find something. :-)

photo
1

Good day Sven,

thank you very much for your file, it helps!


I think I have found real reason of this problem even without direct testing of downloading. Your file has size 4,294,963,200 bytes, which means 3.999996 GB!


Why I'm writing this?

https://www.google.com/search?q=android+4+file+size+limit


Because of using FAT32 system for storage devices, files on Android 4.x are limited to 4 GB. I think best possible solution here is to

a) start downloading additional areas into new separate map file. When you finished map files (sqlite db files) place into same subdirectory (like Locus/maps/my map) it will work as one single map called "my map"

b) consider downloading vector maps (LoMaps from Locus Store or any alternative map based on "MapsForge" that are usually for free on internet), which are a lot lot smaller and usually contains same amount of detail.


Let me know if either a) or b) is fine for you. Thanks and sorry for a complications.

photo
1

Hi Menion,


thanks for pointing this out. That explains, what happened. At the moment i'm not sure what solution will be best for me, so i'll try them both and see, what's best choice for me.


Will it be possible (in future versions) to automatically split the database in several files when reaching the file size limit? I think this would be nice, because Locus has the option to download the map for an entire country, which will reach epic dimensions based on selected maximum zoom level. :-D


Again, thank you very much for your help and your time (it's weekend, do you ever sleep? ;-) )! Now i know the problem and can act accordingly.


Kind regards

Sven

photo
1

Good day,

you are welcome!


Option to split map files is really not planned. To be true, I'm not a big fan of huge downloading of raster maps like you do. Such maps are huge, downloading is really slow and map detail is limited. I really suggest to download with a few clicks, LoMaps from our store. First three are for free and you have simply and quickly big map with tiny details that cover huge areas.


Hope you will find solution that satisfy your needs! Feel free to ask if there will be any problem.


Have a nice weekend,

Menion

Replies have been locked on this page!