How to resume downloading offline tiles after hitting daily limit?

Mark Haun shared this question 2 years ago
Answered

I set an area to download USGS scanned topographic map tiles at fairly high resolution. There is a limit of 10000 tiles/day, and my download request was larger than that. Now the download window is just stuck with the message that I have hit the limit and have to wait. But that was a couple days ago, and it is not resuming by itself.


Is there any way to download a map area with more than 10000 tiles, by downloading up the limit each day? Or do I have to reduce the covered area and/or the resolution, so the entire map can be downloaded at once?


Thanks,

Mark

Comments (30)

photo
1

Once the upload produces this message, just confirm it.

If you go to download the same map type again later, it will resume.

In preparation process to download you can also chose extending an existing map.

Enjoy.

Michael

photo
1

Dear Mark,

as Michael wrote you can confirm and close this "warning" window. You can even close the Locus app. Next day open the app > go to the Menu > Map > online > USGS and choose "Download". Locus shows dialog that there is unfinished downloading. You can abort it or continue.

Thank you for understanding

Best regards

Petr

photo
1

Something must have gone wrong then. I don't have a warning/confirmation window, just the same window that showed the download progress, and an "X" in the upper right-hand corner to cancel. I went ahead and canceled it, then decided to exit Locus and restart. When I tried to exit it still warned me about the map download in progress, so I had to click the square "stop" icon, then it let me exit.


When I restart Locus, it gets stuck at "Initializing... Personal maps" where it hangs forever (well, at least ten minutes so far) with the progress bar not moving.

photo
1

More info: after killing Locus the hard way (nothing else worked), I restarted it a second time. This time it starts without complaint, and I can go into Maps->online->USGS->Download where it displays the resume dialog you described. I chose to resume the download, but it doesn't seem to be doing anything. I can independently (on my router) see that there is no network activity. I suppose it is possible that the USGS site happens to be down at the moment.

photo
1

Hello Mark,

thank you for info and sorry for troubles. Honestly really weird issue. It seems that partially downloaded map is probably broken. I guess that the easiest solution would be to start whole downloading again.

Please remove the broken map in the first step. Use arbitrary file manager > go to the folder /Locus/maps . Delete files that have the name as name of downloaded map <name_map>.sqlitedb and sqlitedb-journal (if exists).

After that start Locus and start new downloading via Maps > Online > USGS...


Please let me know about progress

Thank you

Best regards

Petr

photo
1

...would you confirm, if I continue download next day or so, it will only download again the rest of the area I had chosen, not the whole map.

Thank you.

Peter

photo
1

Confirmed. IF you select the right sqlite file to store into (Advanced, Download type, Supplementary download)

photo
1

Hi Michael

thank you so much, but...

...that sounds complicated for a non-expert, as I am. What is a sqlite file? I have the German version, and I can only find the list of available maps from which I choose the one I started with and in its drop-down menue I can only find "download" "details" "Locus Store" and "Übernehmen gültig für" "Zwischenspeicher leeren" and "ausblenden". None of them, even translated, sounds like the points you listed: Advanced, Download type, Supplementary download. Where do I find them?


photo
1

OK, dann weiter in deutsch :-)

- mache einfach weiter bei Download (klick)

- dann sollte das Angebot kommen zum Fortsetzen, falls noch nicht gestoppt (manuell oder wenn vollständig)

- ODER es kommt erst eine Auswahl der Download-Fläche, per Aktuele Ansicht, etc., etc.

- sobald die Flächenwahl getroffen ist, kommt eine Seite für den Namen, die Zoom-Levels, und unter Erweitert (ganz unten) auch der Download-Typ, u.a. "Bestehende Karte erweitern"

- damit kommt man zu einer Art Dateimanager und muss die bestehende Karte suchen

- und dort findest Du Dateien, die den Suffix sqlite tragen (darin sind die Offline-Maps)

photo
1

Hallo Michael

Also, ich habe es probiert: Wenn ich bei der entsprechenden Karte auf "download" tippe, dann kommt, wie Du gesagt hast, die MItteilung, dass schon etwas heruntergeladen wurde, und ob es fortgesetzt werden soll, und wenn ich das bejahe, dann lädt es down und zwar wirklich nur den anfänglich ausgewählten Teil der Karte. Super, danke! Aber... ich hätte noch soviele Fragen:

Kann man vielleicht auch die Google Map unterlegen?

Wie kann ich während der Navigation eine Adresse, einen Punkt auf der Karte o.ä. abfragen u. dorthin navigieren?

Was hat es mit der Gültigkeit der Karten auf sich?

Was heißt Karte neu initialisieren? (Was ich mich natürlich nicht traue, weil da steht "own risk"

Ist es in Ordnung, dass wir hier auf deutsch kommunizieren ?

Nerve ich mit meinen dummen Fragen?

Gruß

Peter

photo
1

Hi Peter,

siehe hier:

http://forum.locusmap.eu/index.php?topic=5104.new#new

Deutschsprachiges Locus-Forum; wir setzen dort fort.

photo
1

Hallo Michael

ich bin Dir gerne gefolgt zu dem deutschsprachigen Forum, (Leuten wie Dir würde ich fast überall hin folgen ,-) finde dort aber keine Möglichkeit Dir zu antworten. Muss ich mich da neu registrieren? Meinen Benutzernamen von hier kennen sie da nämlich nicht.

photo
1

Ja, das Forum ist ein getrenntes System.

Hatte ich ganz vergessen - denn der Browser merkt sich das dann ja :-)

photo
photo
1

whow, was für ein Service in Deutsch, aber Dein Name klingt ja auch ziemlich deutsch, wie mir jetzt erst auffällt.

Danke für Deine Anweisungen. Ich werde es versuchen, aber momentan scheitert das an der Meldung "download limit erreicht, Fortsetzung erst wieder nach 10:54 m möglich" I will be back in due time. ;-) und hoffe, dass Du dann auch wieder da bist...

photo
1

It turns out I didn't have to delete the old files (yet). I powered my tablet off and back on, then started Locus again, and this time when I ask to resume the download it complies. I'm not sure what is going on, if there is a problem with my version of Android (a non-standard Kitkat ROM), or ??? But in any case, it seems that after enough attempts, it will resume the download for me.


I left it downloading the last (?) chunk this morning and hopefully it will have succeeded in creating the map while I am away.

photo
1

Well restart of phone is sometimes the best solution. There was also question about suplementary download. Please see doc http://docs.locusmap.eu/doku.php?id=manual:user_guide:maps_download#advanced_options_and_confirmation

Supplementary download enables to download new data into already existed map. You can define area as usualy and on next screen choose Supplementary download > select map you want to extend and Locus download and merge new data with selected map.

Best regards

Petr

photo
1

I am having the same/similar issue. I have five android devices, various versions. Two have Locus Pro, the other I installed the free version to test.


On all of the devices, I am trying to download a portion of the USGS topo maps of the US state of Maine. The download starts fine, and has managed to complete the daily allotment and restart the next day. But at some point on all five devices the download hangs and will not resume.


Cycling power did not fix the issue. I do not want to delete the files as I've got about a week to finish the download before my trip.


Thanks

Pete

photo
1

If I recall correctly, Locus keeps track of an unfinished job. When you restart, it will ask if you want to continue, right ?

And does it get stuck then again ?

If yes, then the provider of the maps my police the download limit. Does your IP address change every night ? (Typical with DSL, not typical for T1 or FTTH) ?

photo
1

Thanks for the thoughts. I have resumed downloads the next day after reaching the 10k tile limit. On some of the devices the download hangs during the first attempt, on other I have gotten a couple days worth. Locus always resumes, but there is no progress.


I aborted the current download and let locus "finish", then moved the two files in the Maps folder elsewhere. Started a new download for a different area, which now appears to have hung at ~500 tiles downloaded. It has returned ":Error: 3, Problem with map tiles downloading".


I'm new to this type of mapping software, having just purchased Locus in the beginning of the summer. I'd be more than happy to download the tiles outside of Locus, but I have not come across any reference as to where or what files I need to use. USGS seems to have quite the variety of formats which doesn't help matters.


Pete

photo
1

Hi,


I can see that you have custom solution for this issue. However, if you would investigate the reason: please try yo create debug log, when Locus shows Error 3. How to create debug log: http://docs.locusmap.eu/doku.php?id=manual:faq:how_to_create_debug_log


I also suggest to download maps to zoom level <=15 . I think that zoomlevel = 16 is not cached on server side and it can cause some troubles.


Petr

photo
1

Will do. After using MOBAC, I have a theory. There were a lot of tiles that could not be downloaded. I do not know how Locus handles this, but MOBAC can be instructed to skip them and continue. Is it possible that Locus keeps trying for that tile, and when it times out, the download stop?

photo
1

Hi,


Locus tries to download tiles 2 times. But download stops in case that two attempts fails. This is probably the difference between Locus and Mobac. On the other hand you can be sure that map is complete when downloading is finished. However as I wrote I suggest to limit the zoom-levels that you want to download

Best regards

Petr

photo
1

That is probably the issue then. MOBAC was reporting missing files at the last four or five levels. Perhaps an enhancement to Locus would be to give the user the option of continuing the download with the missing tile?

photo
1

Hello Pete,


I've discussed your question with the main developer. Basically this solution wasn't needed for last year. And for both of us is more important if map is completely downloaded. Sorry but we decided to decline it.

Thank you

Petr

photo
photo
1

I typically use MOBAC on the PC and upload the result to my Android.

In MOBAC you can use USGS sources. Only base and topo work for me, and their max ZL is 15.

When you create a "New" map, give a useful name for the map, then chose Big Plant SQLite as a format - this is usable with Locus.

I attach the map source file that you can "Load" into MOBAC. It stops at ZL 13, which is good enough for car rides, but not for hiking.

You can add additional areas by selecting the ZL (up to 15 for USGS) and define the area by mouse drawing.

While I was writing the text, the map crating has finished ZL 11 (80 MB resulting file size), and now is at 30% for ZL 12.

Their server is not the fastest, BTW ...

In following sessions, MOBAC will only download missing files. Also, you can amend an existing SQLite file, as long as it sits in the "atlases" folder under MOBAC.

Enjoy :-) !

photo
1

PS: if you are interested in the wider world, too, here are some files that show the whole globe up to level 8 resp. 9:

http://www.openandromaps.org/en/downloads/general-maps

Also built using MOBAC, BTW.

photo
1

Thanks! I had tried MOBAC at home, but it did not work well at all on linux. I'm trying it on my work PC and it is acting as it should.

photo
1

Cool. Out of curiosity I let the map creation continue to run. 140 MB so far with 80% of ZL 13 done. 13,000 tiles in total, and I am already beyond the 10k ...

Good luck. Feel free to ask if there are problems.

photo
1

Did a trial, downloaded a low zoom of the area, copied the result to Locus' maps folder. Worked great! I'll take the pc home this weekend and let it run. Thanks again Michael!

photo
1

Completed. 360 MB map ZL 5 to 13. And it showed 89 unrecoverable download errors. Hence: no real Locus issue that you saw, I suppose (we could discuss more resilience for Locus, but I think it is not meant to be a primary download tool ...)