This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# unzipして、orthoディレクトリをつくる | |
unzip ./'*.zip' | |
mkdir ortho | |
# mvで、tifとtfwをortho配下に移動 | |
find . -type f -name "*.tf*" -exec mv {} ./ortho \; | |
find . -type f -name "*.tif" -exec mv {} ./ortho \; | |
cd ./ortho |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Geofabrikから、Chubu地域のpbf(ina.osm chubu-latest-internal.osm.pbf)をダウンロードする | |
# JOSMで伊那市のバウンダリをダウンロードして、ina.osmとして保存 | |
# 伊那市の部分だけを抽出 | |
osmium extract -p ina.osm chubu-latest-internal.osm.pbf -o ina2016.osm.pbf | |
# 2016年から、2022年4月4日までのデータを抽出して、"ina-new2016.osm"として保存 | |
osmium time-filter ina2016.osm.pbf -f osm 2016-01-01T00:00:00Z 2022-04-01T00:00:00Z -o ina-new2016.osm | |
# buildingタグをもったウェイを抽出 | |
osmium tags-filter ina-new2016.osm w/building -O -o ina-building-2016.osm |
OlderNewer