diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-10-27 22:01:52 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-10-27 22:01:52 +0800 |
| commit | e10890694f738d7c74fd1a88bb7ae2b4c5639a49 (patch) | |
| tree | 862243b231c68e81f92ac38a4d8a27e57d3e524e /alias | |
| parent | 115ec269573e090a0759bb8ef076b14d887f574f (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 28 |
1 files changed, 14 insertions, 14 deletions
| @@ -259,20 +259,20 @@ alias oo='ogr2ogr' | |||
| 259 | alias oi='ogrinfo -al -so' | 259 | alias oi='ogrinfo -al -so' |
| 260 | 260 | ||
| 261 | # sample file | 261 | # sample file |
| 262 | alias sample_gpx='curl -O https://docs.mapbox.com/help/data/run.gpx' | 262 | alias sample.gpx='curl -O https://docs.mapbox.com/help/data/run.gpx' |
| 263 | alias sample_geojson='curl -O https://docs.mapbox.com/help/data/stations.geojson' | 263 | alias sample.geojson='curl -O https://docs.mapbox.com/help/data/stations.geojson' |
| 264 | alias sample_shapefile='curl -O https://docs.mapbox.com/help/data/stations.zip && unzip stations.zip' | 264 | alias sample.shapefile='curl -O https://docs.mapbox.com/help/data/stations.zip && unzip stations.zip' |
| 265 | alias sample_geotiff='curl -O https://docs.mapbox.com/help/data/landsat.tif' | 265 | alias sample.geotiff='curl -O https://docs.mapbox.com/help/data/landsat.tif' |
| 266 | alias sample_csv='curl -O https://docs.mapbox.com/help/data/airports.csv' | 266 | alias sample.csv='curl -O https://docs.mapbox.com/help/data/airports.csv' |
| 267 | alias sample_svg='curl -O https://docs.mapbox.com/help/data/bicycle-24.svg' | 267 | alias sample.svg='curl -O https://docs.mapbox.com/help/data/bicycle-24.svg' |
| 268 | alias sample_mbtiles='curl -O https://docs.mapbox.com/help/data/trails.mbtiles' | 268 | alias sample.mbtiles='curl -O https://docs.mapbox.com/help/data/trails.mbtiles' |
| 269 | alias sample_kml='curl -O https://docs.mapbox.com/help/data/farmers_markets.kml' | 269 | alias sample.kml='curl -O https://docs.mapbox.com/help/data/farmers_markets.kml' |
| 270 | alias sample_osm='curl https://api.openstreetmap.org/api/0.6/node/3428095932' | 270 | alias sample.osm='curl https://api.openstreetmap.org/api/0.6/node/3428095932' |
| 271 | alias sample_poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' | 271 | alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' |
| 272 | alias sample_image='curl -O https://file-examples-com.github.io/uploads/2017/10/file_example_JPG_100kB.jpg' | 272 | alias sample.image='curl -O https://file-examples-com.github.io/uploads/2017/10/file_example_JPG_100kB.jpg' |
| 273 | alias proto_mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' | 273 | alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' |
| 274 | alias proto_osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' | 274 | alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' |
| 275 | alias proto_geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' | 275 | alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' |
| 276 | taiwan_dem() { | 276 | taiwan_dem() { |
| 277 | <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ | 277 | <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ |
| 278 | xargs curl -Lo taiwan_dem.zip | 278 | xargs curl -Lo taiwan_dem.zip |