Loading Geo-Ref plates

GRT_Jeff
Posts: 802
Joined: Tue Dec 11, 2012 12:11 am

Re: Loading Geo-Ref plates

Post by GRT_Jeff »

The latest script version is 4.4.3 because the FAA changed to HTTPS-only for the index file. It looks like at least one link to the script is outdated. I haven't tried it recently though. As you can see in the script development log the FAA sometimes changes the download site a little and that breaks the script. The script is just a downloader that looks for the current plates or only ones that changed, only downloads what the EFIS can use, and puts them in the right folders with more useful names.
murf64
Posts: 3
Joined: Thu Apr 16, 2020 10:36 pm

Re: Loading Geo-Ref plates

Post by murf64 »

I loaded the plates the other day with the DownloadPlates.pl script, and it took forever so I abandoned the download. Took a while to find a work around, but the following worked. I work in Linux, but I imagine it would work in windows, if you had it working before. Make a backup copy of DownloadPlates.pl first.

Basically, The wget app in the Perl script times out for every plate, even though it successfully downloads the plate.
To fix this open DownloadPlates.pl script in a text editor and change the timeout to 1 sec.

i.e. find this line:
#my $wgetCmd = "wget --tries=8 -T 30 --progress=bar:force -nv -O ";
and replace it with this line:
#my $wgetCmd = "wget --tries=8 -T 1 --progress=bar:force -nv -O ";

I changed it in 4 places, but I think the third one counts.

Save the changes, and try to run the script again. Good luck.
GRT_Jeff
Posts: 802
Joined: Tue Dec 11, 2012 12:11 am

Re: Loading Geo-Ref plates

Post by GRT_Jeff »

I changed my version of the Windows mode to use curl a while ago because the included wget was old and having trouble making connections. The FAA also changed to using HTTPS so I changed the links. I haven't tested it in a while so maybe there's some other issue now. Every once in a while they change something on their web server and it breaks the download process.

downloadplates-4.4.3.zip updated 2018-12-20
Post Reply