Skip to content

Instantly share code, notes, and snippets.

@dalekunce
Last active February 19, 2016 16:21
Show Gist options
  • Save dalekunce/e641cdfbc390c906691a to your computer and use it in GitHub Desktop.
Save dalekunce/e641cdfbc390c906691a to your computer and use it in GitHub Desktop.
getsrtm.sh
# SRTM OpenTerrain downloader
# look up desired srtm30 tiles here https://gist.github.com/dalekunce/f9157ded57e8e7e6c4f5
# save to a file with each url being a new line
#run by using ./srtm.sh <file>
for line in `cat $1`;do
echo $line
s3cmd get $line
unzip $line
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment