Changes between Version 15 and Version 16 of Help/DEM_scripts


Ignore:
Timestamp:
Feb 11, 2012 3:32:03 PM (8 years ago)
Author:
adbe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/DEM_scripts

    v15 v16  
    202202I would advise that the grass version be 6.3 as the script was written to work with this grass version.
    203203
    204 ==== Using asterdem.sh ====
     204==== Using lidardem.sh ====
    205205The script is partly configured to be used in-house and so some options that are available are not applicable, as for example the navigation file is used to calculate the tiles to use by default. So here is a usage for out of house usage:
    206206
     
    252252     *  {{{lidardem.sh -f las_file -E 50}}}
    253253
    254 
    255 
     254=== Creating a DEM from LiDAR and ASTER data using ''lidar_aster_dem.sh'' script ===
     255==== Configuring lidar_aster_dem.sh ====
     256To run lidar_aster_dem.sh on your system the files listed above need to be configured in the script to point to the correct places.
     257For example, the template grass database in the script points to a place in the arsf directory and this needs to be changed to point to where your template grass database is located.
     258Variables that need to be changed:
     259  *  TEMPLATE_GRASS_DATABASE=/users/rsg/arsf/usr/share/grass_db_template/
     260  *  WGS84LL_SEPARATION_FILE=/users/rsg/arsf/dems/aster/separation_files/uk_separation_file_WGS84LL.dem
     261  *  GRASS_VERSION=grass63
     262I would advise that the grass version be 6.3 as the script was written to work with this grass version.
     263
     264==== Using lidar_aster_dem.sh ====
     265This is a wrapper script for asterdem.sh and lidardem.sh, so the options are similar to those above. The script is configured for internal use, so here is a out of house usage:
     266lidar_aster_dem.sh[[BR]]
     267[[BR]]
     268Generates a binary LiDAR ASTER DEM[[BR]]
     269[[BR]]
     270Arguments:[[BR]]
     271   -d:      Directory containing LiDAR data
     272or
     273   -f:      LiDAR file to create DEM from
     274   -A:   Directory containing raw unzipped ASTER data.[[BR]]
     275   (Optional)[[BR]]
     276      -h:   Display usage and exit[[BR]]
     277      -o:   Final output filename for DEM, defulats to leaving in grass database[[BR]]
     278      -c:   Whether to use points of classification 7, defaults to just points of classification 1[[BR]]
     279      -a:   Whether to use all returns, defaults to using first return only[[BR]]
     280      -r:   Resolution to input LiDAR files with[[BR]]
     281      -R:   Resolution of output DEM, defaults to 2[[BR]]
     282      -j:   Create a jpg image of the DEM[[BR]]
     283      -g:   Grass database to use, defaults to creating a GRASS database locally[[BR]]
     284      -t:   Whether to use ASCII files to create the DEM, defaults to using LAS files. It is suggested to use this option if the las file are very large[[BR]]
     285      -z:   Specify an input projection of the LiDAR files[[BR]]
     286      -p:   Projection to output DEM in: input proj4 string or UKBNG or ll or UTM[zero_padded_number](N|S)[[BR]]
     287      -n:   North buffer, defaults to 2000[[BR]]
     288      -s:   South buffer, defaults to 2000[[BR]]
     289      -e:   East buffer, defaults to 2000[[BR]]
     290      -w:   West buffer, defaults to 2000[[BR]]
     291      -S    geoid-spheroid seperation file[[BR]]
     292
     293Examples:
     294  *  Create a LiDAR ASTER DEM from tiles in directory aster_tiles and UKBNG las files in las1.0 and output to a file called dem.dem (Uses default buffer size of 2000 in all directions
     295     *  {{{lidar_aster_dem.sh -d las1.0 -A aster_tiles -o a_dem_filename.dem}}}
     296  *  Create a LiDAR ASTER DEM from tiles in directory aster_tiles and utm30N las files in las1.0 and output to a file called dem.dem (Uses default buffer size of 2000 in all directions
     297     *  {{{lidar_aster_dem.sh -d las1.0 -z UTM30N -A aster_tiles -o a_dem_filename.dem}}}
     298  *  Create a LiDAR ASTER DEM from tiles in directory aster_tiles and las files in las1.0 and output to a file called dem.dem, use buffer size of 100 in all directions
     299     *  {{{lidar_aster_dem.sh -d las1.0 -A aster_tiles -N 100 -S 100 -E 100 -W 100-o a_dem_filename.dem}}}
    256300
    257301