Changes between Version 12 and Version 13 of Help/DEM_scripts


Ignore:
Timestamp:
Feb 11, 2012, 2:29:49 PM (12 years ago)
Author:
adbe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/DEM_scripts

    v12 v13  
    33   '''lidardem.sh'''[[BR]]
    44   '''asterdem.sh'''[[BR]]
    5    '''nextmapdem.sh'''[[BR]]
    65   '''lidar_aster_dem.sh'''
    76The scripts listed are written in bash.
     
    161160[[BR]]
    162161Arguments:[[BR]]
     162   -a:   Directory containing ASTER tiles only. If not given then script needs to be run within a project[[BR]]
    163163   (Optional)[[BR]]
    164164      -h:   Display usage and exit[[BR]]
    165165      -o:   Final output filename for DEM, defaults to leaving in grass database[[BR]]
    166166      -j:   Filename to output a jpeg image of the DEM[[BR]]
    167       -a:   Directory containing ASTER tiles only. If not given then script needs to be run within a project[[BR]]
    168167      -g:   Grass database to use, defaults to creating one[[BR]]
    169168      -p:   Projection of output tiles: proj4 string or UTM[utm_num(zero padded)](N|S) or UKBNG or ll[[BR]]
     
    193192     *  {{{asterdem.sh -a aster_tiles/ -p UKBNG -r 2.0 -o a_dem_filename.dem}}}
    194193
     194=== Creating a DEM from LiDAR data using ''lidardem.sh'' script ===
     195==== Configuring lidardem.sh ====
     196To run lidardem.sh on your system the files listed above need to be configured in the script to point to the correct places.
     197For 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.
     198Variables that need to be changed:
     199  *  TEMPLATE_GRASS_DATABASE=/users/rsg/arsf/usr/share/grass_db_template/
     200  *  WGS84LL_SEPARATION_FILE=/users/rsg/arsf/dems/aster/separation_files/uk_separation_file_WGS84LL.dem
     201  *  GRASS_VERSION=grass63
     202I would advise that the grass version be 6.3 as the script was written to work with this grass version.
     203
     204==== Using asterdem.sh ====
     205The 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:
     206
     207lidardem.sh[[BR]]
     208[[BR]]
     209Generates a binary LiDAR DEM from LAS/ASCII files[[BR]]
     210[[BR]]
     211Arguments:[[BR]]
     212   -d:      Directory containing LiDAR data[[BR]]
     213   or[[BR]]
     214   -f:      LiDAR file to create DEM from[[BR]]
     215   (Optional)[[BR]]
     216      -h:   Display usage and exit[[BR]]
     217      -o:   Final output filename for DEM, defulats to leaving in grass database[[BR]]
     218      -c:   Whether to use points of classification 7, defaults to just points of classification 1[[BR]]
     219      -a:   Whether to use all returns, defaults to using first return only[[BR]]
     220      -r:   Resolution to input LiDAR files with, defaults to 2[[BR]]
     221      -R:   Resolution to output LiDAR files with, defaults to calculating from input resolution[[BR]]
     222      -j:   Create a jpg image of the DEM[[BR]]
     223      -g:   Grass database to use, defaults to creating a GRASS database locally[[BR]]
     224      -t:   Whether to use ASCII files to create the DEM, defaults to using LAS files[[BR]]
     225      -z:   Specify an input projection[[BR]]
     226      -p:   Projection to output DEM in: proj4 string or UKBNG or ll or UTM[zero_padded_number](N|S)[[BR]]
     227      -s:   geoid-spheroid separation file[[BR]]
     228      -m:   Maximum size of output DEM in GB, will be overridden by specified resolution[[BR]]
     229      -i:   Navigation file to use[[BR]]
     230      -N:   North buffer, defaults to 2000[[BR]]
     231      -S:   South buffer, defaults to 2000[[BR]]
     232      -E:   East buffer, defaults to 2000[[BR]]
     233      -W:   West buffer, defaults to 2000[[BR]]
     234      -F:   Do not filter the DEM[[BR]]
     235      -E:   Extrapolate the DEM, followed by the resolution to extrapolate at[[BR]]
     236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
     249
     250
     251
     252
     253
    195254
    196255