Re: Scripted download of maps on Linux

2019-06-09 Thread Poutnik Fornntp
Attaching my Bash script for illustrative and inspirative purposes. Note that I am not particularly good at Linux scripting, so it is surely possible to write in in more elegant or more powerful way. I have just written it recently, so updates are expected. Dne 9. Ĩervna 2019 17:33:45

Re: Scripted download of maps on Linux

2019-06-09 Thread 'Sabine Mayer' via Osmand
Hi, thats a cute script and does look much better than one I currently use! But I also to download the srtm-files and the wiki files but the links do no longer work. srtm used to be at http://download.osmand.net/srtm-countries/ and wiki at http://download.osmand.net/wiki/ do you know where

Re: Scripted download of maps on Linux

2018-03-15 Thread CP
You cannot cache HTTPS traffic. That goes against the design of HTTPS. I you want to distribute maps locally and automatically , your best option is some kind of p2p setup (syncthing/torrent) CP Op 15-03-18 om 00:16 schreef Rob: For some time I've been thinking to do something like this

Re: Scripted download of maps on Linux

2018-03-14 Thread Rob
For some time I've been thinking to do something like this but never got round to it. I was planning to set up a caching proxy and configure my home router to redirect only traffic for the Osmand map server there. Similar idea but less overhead - just download the maps on one device and they

Re: Scripted download of maps on Linux

2018-03-13 Thread CP
Op 13-03-18 om 09:27 schreef We Ka: Hey, that is a pretty cute script. Thank you very much! :) You're welcome. Yet, there are a few things that needed to be corrected to make it work: 1. the URL's hostname needs to be "download", not "dl3", in order to be resolved. (I guess there's some

Re: Scripted download of maps on Linux

2018-03-13 Thread Poutnik
I see this batch version uses an obsolete wget version from Gnuwin32 project. Windows users of cygwin can easily switch to the cygwin wget version. Dne 13/03/2018 v 09:36 Poutnik napsal(a): > As I once wrote and occasionally use > a cygwin/wget based batch for maps download in Windows, > I do not

Re: Scripted download of maps on Linux

2018-03-13 Thread Poutnik
As I once wrote and occasionally use a cygwin/wget based batch for maps download in Windows, I do not see a big deal in writing a script for Linux. As inspiration ( older, but should work, even if not checked for a while ) Github : /Brouter-profiles/master/OSMANd_wget_maps

Re: Scripted download of maps on Linux

2018-03-13 Thread We Ka
Hey, that is a pretty cute script. Thank you very much! :) Yet, there are a few things that needed to be corrected to make it work: 1. the URL's hostname needs to be "download", not "dl3", in order to be resolved. (I guess there's some load balancing happening there.) 2. the line containing

Re: Scripted download of maps on Linux

2018-03-11 Thread CP
BASE_URL='http://dl3.osmand.net/download.php?standard=yes=' STOR=/mnt/vol1/algemeen/OsmAnd/maps COUNTRIES="Italy Germany Austria Netherlands Switzerland Us_new-york Us_south-carolina" curl http://download.osmand.net/list.php | sed -e 's//\'$'\n/g' > osm_maps.html for COUNTRY in ${COUNTRIES};

Scripted download of maps on Linux

2018-03-11 Thread We Ka
Hello, I am using Osmand+ (paid version) on several devices and I think it's highly inefficient to download each map on each device, unnecessary increasing data usage. Therefore, I'd like to download updated maps to my pc and copy them onto the sdcards afterwards. I know I can do "wget