Skip to content

ritogk/speedio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speedio

峠道を抽出するスクリプト

抽出したワインディング

image image

app setup

cp .base.env .env
conda env create -f environment.yml

conda run

conda activate touge-searcher

data setup

# 1. 基盤地図情報DLページから全国のdem10DL(gml)をDLする。
# 2. gmlはjpd2000とjpd2011が混じってる状態なのでスクリプトで仕分ける

grep -rl '<gml:Envelope srsName="fguuid:jgd2011.bl">' . | xargs -I {} mv {} ./jgd2011 grep -rl '<gml:Envelope srsName="fguuid:jgd2000.bl">' . | xargs -I {} mv {} ./jgd2000

# 3. 株式会社エコリスのソフトで全国のtifに変換する。
# 4. tifをepsg:4326に変換

python3 convert_tif_epsg_4326.py

# 5. tifをマージ

python3 merge_tif.py

# 6. elevation.tifにリネームしてプロジェクトのルートにおく

run

python3 run.py

conda env update

conda env export -n touge-searcher > environment.yml