-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSeedling_180618.txt
71 lines (47 loc) · 3.45 KB
/
Seedling_180618.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# 18 06 18
MergeData S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar\fullLAZ\filelist.txt S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar\LAS\Seedling_merge.las
# 18 06 19
set LIDAR_DIR=S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar
set LASTOOL_DIR=C:\Users\PyroGeo\Downloads\laszip\LAStools\bin
c:
cd %LASTOOL_DIR%
lasindex -i %LIDAR_DIR%\LAS\Seedling_merge.las
lastile -i %LIDAR_DIR%\LAS\Seedling_merge.las -o %LIDAR_DIR%\LAS\Tiles\tile.las -refine 20000000 -cores 6
lastile -i %LIDAR_DIR%\LAS\Tile\*.las -o %LIDAR_DIR%\LAS\Tiles2\tile.las -refine_tiles 20000000 -cores 6
s:
cd %LIDAR_DIR%
catalog /density:5,5,10 %LIDAR_DIR%\LAS\Seedling_merge.las merge_cat
dir/s/b %LIDAR_DIR%\LAS\Tiles\*.las > %LIDAR_DIR%\LAS\TileList.txt
GroundFilter /smooth:8 %LIDAR_DIR%\LAS\Ground\ground.las 1 %LIDAR_DIR%\LAS\TileList.txt
GridSurfaceCreate /smooth:5 %LIDAR_DIR%\LAS\Ground\MoscowMtn_dtm.dtm 1 F F 2 11 2 0 %LIDAR_DIR%\LAS\Ground\ground.las
DTM2ASC %LIDAR_DIR%\LAS\Ground\ground.las
CanopyModel /ascii surfacefile 1 F F 2 11 2 0 %LIDAR_DIR%\LAS\TileList.txt
"C:\LAStools\bin\lastile.exe" -v -i "S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar\LAS\Seedling_merge.las" -tile_size 500 -olas -o "MoscowMtn" -odir "S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar\LAS\Tiles3"
ClipData /shape:0 /index %LIDAR_DIR%\LAS\TileList.txt %LIDAR_DIR%\LAS\MoscowClip [2380566 1893900 2381332 1894822]
ClipData /shape:0 /index [switches] %LIDAR_DIR%\LAS\TileList.txt %LIDAR_DIR%\LAS\MoscowClip [2380000 1890968 2382682 1895922]
# 18 06 19 - 2
set LIDAR_DIR=S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar
s:
cd %LIDAR_DIR%
MergeData %LIDAR_DIR%\fullLAZ\filelist.txt %LIDAR_DIR%\LAS\Seedling_merge.las
catalog /density:5,5,10 %LIDAR_DIR%\LAS\Seedling_merge.las merge_cat
:: begin lastile using arcgis on server
"C:\LAStools\bin\lastile.exe" -v -i "S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar\LAS\Seedling_merge.las" -tile_size 500 -olas -o "MoscowMtn" -odir "S:\COS\PyroGeog\amartinez\UAV_seedlings\Lidar\LAS\Tiles3"
:: end lastile
dir/s/b %LIDAR_DIR%\LAS\Tiles\*.las > %LIDAR_DIR%\LAS\TileList.txt
GroundFilter /smooth:8 %LIDAR_DIR%\LAS\Ground\ground.las 1 %LIDAR_DIR%\LAS\TileList.txt
ClipData /shape:0 /index %LIDAR_DIR%\LAS\TileList.txt %LIDAR_DIR%\LAS\MoscowClip [2380566 1893900 2381332 1894822]
GridSurfaceCreate /smooth:5 %LIDAR_DIR%\LAS\Ground\MoscowMtn_dtm.dtm 1 F F 2 11 2 0 %LIDAR_DIR%\LAS\Ground\ground.las
DTM2ASCII %LIDAR_DIR%\LAS\Ground\MoscowMtn_dtm.dtm
CanopyModel /ascii %LIDAR_DIR%\LAS\chm\chm.dtm 1 F F 2 11 2 0 %LIDAR_DIR%\LAS\TileList.txt
GroundFilter /smooth:8 %LIDAR_DIR%\LAS\Ground\ground_clip.las 1 %LIDAR_DIR%\LAS\MoscowClip.las
GridSurfaceCreate /smooth:5 %LIDAR_DIR%\LAS\Ground\MoscowMtn_clip_dtm.dtm 1 F F 2 11 2 0 %LIDAR_DIR%\LAS\Ground\ground_clip.las
DTM2ASCII %LIDAR_DIR%\LAS\Ground\MoscowMtn_clip_dtm.dtm
ClipData /shape:0 /index /dtm:%LIDAR_DIR%\LAS\Ground\MoscowMtn_clip_dtm.dtm %LIDAR_DIR%\LAS\MoscowClip.las %LIDAR_DIR%\LAS\MoscowClip_norm [2380000 1890968 2382682 1895922]
CanopyModel /ascii %LIDAR_DIR%\LAS\chm\chm_norm.dtm 1 F F 2 11 2 0 %LIDAR_DIR%\LAS\MoscowClip_norm.las
FileName MoscowMtn_2380500_1894500.las
FileName MoscowMtn_2381000_1894500.las
FileName MoscowMtn_2380500_1894000.las
FileName MoscowMtn_2381000_1894000.las
C:/Fusion/groundfilter.exe /gparam:0 /wparam:1 /tolerance:1 /iterations:10 S:/COS/PyroGeog/amartinez/UAV_seedlings/Lidar/LAS//Ground/MoscowMtn_clip2_groundpts.las 0.5 S:/COS/PyroGeog/amartinez/UAV_seedlings/Lidar/LAS//MoscowMtn_clip2.las
2380665 1893999 2381231 1894722