Last active
July 8, 2019 02:20
-
-
Save shnhrtkyk/537bae6280c498ba9df438f1ca65898e to your computer and use it in GitHub Desktop.
FWLiDARのlas形式を一括でtxtに変換する
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
#!/bin/sh | |
dir_path="/PATH/*" | |
dirs=`find $dir_path -maxdepth 2 -type f -name *.las` | |
for dir in $dirs; | |
do | |
echo $dir | |
echo ${dir%.*}.txt | |
# ここから実行処理を記述 | |
/path/to/lastools/las2txt -i $dir -o ${dir%.*}.txt -parse xyzWV | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment