diff options
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -244,7 +244,7 @@ alias sample_image='curl https://file-examples-com.github.io/uploads/2017/10/fil | |||
244 | taiwan_dem() { | 244 | taiwan_dem() { |
245 | <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ | 245 | <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ |
246 | xargs curl -Lo taiwan_dem.zip | 246 | xargs curl -Lo taiwan_dem.zip |
247 | unzip -p taiwan_dem.zip 20m.tif >20m.tif | 247 | unzip -p taiwan_dem.zip dem_20m.tif >20m.tif |
248 | } | 248 | } |
249 | 249 | ||
250 | # data file | 250 | # data file |