Created
July 9, 2019 05:15
-
-
Save shnhrtkyk/8faa67723c25b0bbcb947b6172aa5c69 to your computer and use it in GitHub Desktop.
las形式のx, y, z, 強度,リターンナンバー,クラスの情報を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
@echo off | |
for %%a in (G:\path\to\*.las) do ( | |
call :sub "%%a" | |
) | |
goto :EOF | |
:sub | |
set BEFORE=%~1 | |
set FILENAME=%~n1 | |
set EXTENSION=%~x1 | |
set AFTER=%BEFORE:~3%%EXTENSION% | |
echo "%BEFORE:~-0,-4%.txt" | |
C:\path\to\LAStools\bin\las2txt.exe -i %BEFORE% -o "%BEFORE:~-0,-4%.txt" -parse xyzirc | |
goto :EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment