소스 검색

r.in.lidar: file list generation to documenetation (author: Doug Newcomb, closes https://trac.osgeo.org/grass/ticket/3026)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68403 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 년 전
부모
커밋
a9e1a9f04f
1개의 변경된 파일33개의 추가작업 그리고 1개의 파일을 삭제
  1. 33 1
      raster/r.in.lidar/r.in.lidar.html

+ 33 - 1
raster/r.in.lidar/r.in.lidar.html

@@ -259,12 +259,44 @@ raster cell (the ground elevation is given by the raster map
 
 
 <div class="code"><pre>
 <div class="code"><pre>
 g.region raster=elevation -p
 g.region raster=elevation -p
-r.in.lidar input=points.las output=height_above_ground base_raster=elevation
+r.in.lidar input=points.las output=mean_height_above_ground base_raster=elevation method=mean
 </pre></div>
 </pre></div>
 
 
 In this type of computation, it might be advantageous to change the resolution
 In this type of computation, it might be advantageous to change the resolution
 to match the precision of the points rather than deriving it from the base raster.
 to match the precision of the points rather than deriving it from the base raster.
 <!-- TODO: say how -->
 <!-- TODO: say how -->
+<h3>Multiple file input</h3>
+
+The file option requres a file that contains a list of file names with the full 
+path. For example, a list of files in the directory /home/user/data:
+<div class="code"><pre>
+points1.laz
+points2.laz
+points3.laz
+</pre></div>
+
+would be lised in the file as:
+<div class="code"><pre>
+/home/user/data/points1.laz
+/home/user/data/points2.laz
+/home/user/data/points3.laz
+</pre></div>
+On Linux and OSX, this file can be automatically generated with the command:
+<div class="code"><pre>
+ls /home/user/data/*.laz > /home/user/data/filelist.txt
+</pre></div>
+On Windows:
+<div class="code"><pre>
+dir /b c:\users\user\data\*.laz > c:\users\user\data\filelist.txt
+</pre></div>
+
+The mean height above ground example above would then be:
+
+<div class="code"><pre>
+g.region raster=elevation -p
+r.in.lidar file=/home/user/data/filelist.txt output=mean_height_above_ground base_raster=elevation method=mean
+</pre></div>
+
 
 
 <h2>TODO</h2>
 <h2>TODO</h2>