From 57c9241118d4dd2375300b1b245c27fc18722753 Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Sun, 29 Dec 2024 13:23:52 +0100 Subject: [PATCH] use HTTPS for S3 terrain tile download --- planetutils/elevation_tile_downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetutils/elevation_tile_downloader.py b/planetutils/elevation_tile_downloader.py index c03613e..a3636c2 100644 --- a/planetutils/elevation_tile_downloader.py +++ b/planetutils/elevation_tile_downloader.py @@ -50,7 +50,7 @@ def download_tile(self, bucket, prefix, z, x, y, suffix=''): makedirs(os.path.join(self.outpath, *od[:-1])) if prefix: od = [prefix]+od - url = 'http://s3.amazonaws.com/%s/%s%s'%(bucket, '/'.join(od), suffix) + url = 'https://s3.amazonaws.com/%s/%s%s'%(bucket, '/'.join(od), suffix) log.info("downloading %s to %s"%(url, op)) self._download(url, op)