INI: Demo Ini File

Description Usage Format

Description

The example control file provides all necessary settings for using the perfectPeak package

[Pathes]
workhome='/home/MOC/aGIS/Rpeak' # project root directory
rawdata='./data' # data directrory relative to 'workhome'
runtimedata='run' # runtime directory relative to 'workhome'
src='./src' # script directory relative to 'workhome'
[Files]
peaklist='peaklist.txt' # output fname for ASCII peaklist
fndem='stubai.asc' # input DEM (has to be GDAL conform)
[Projection]
targetepsg='31254' # EPSG code for Austian DEM data NOTE you have to use the targetproj4 string for all projections
targetproj4='+proj=tmerc +lat_0=0 +lon_0=10.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m +no_defs' # in this case the CORRECT proj4 string for Austrian DEM data set, usually the corresponding proj4 string
latlonproj4='+proj=longlat +datum=WGS84 +no_defs' # common geographic coordinates =EPSG:4326
[Params]
makepeakmode=3 # 1=simple local minmax, 2=wood 3=fuzzylandforms
filterkernelsize=9 # size of filter for makepeak=1; range 3-30; default=9
externalpeaks='osm' # 'harry'= Harrys Peaklist PeakList osm= OSM peak data
mergemode=1 # merging peak names from harry/OSM/user data 1=distance (default) 2=costpath (slow)
exactenough=5 # treshold of vertical matching exactness (meter) during prominence analysis
domthres=100 # threshold of minimum dominance distance (makepeak=2&3)

[Wood] # Wood parameters refers to SAGA
WSIZE=11
TOL_SLOPE=14.000000
TOL_CURVE=0.00001
EXPONENT=0.000000
ZSCALE=1.000000

[FuzzyLf] # FuzzyLandforms parameters refers to SAGA
SLOPETODEG=0
T_SLOPE_MIN=0.0000001
T_SLOPE_MAX=25.000000
T_CURVE_MIN=0.00000001
T_CURVE_MAX=0.001

# The below SYSPath for Linux/Windows are correct according to http://giswerk.org/doku.php?id=projekte:gis-software:gis-distros

[SysPath] wossaga='C:/MyApps/GIS_ToGo/QGIS_portable_Chugiak_24_32bit/QGIS/apps/saga'
wsagamodules='C:/MyApps/GIS_ToGo/QGIS_portable_Chugiak_24_32bit/QGIS/apps/saga/modules'
wgrassgisbase='C:/MyApps/GIS_ToGo/GRASSGIS643/bin'
lossaga='/home/creu/SAGA-2.1.0-fixed/initial/bin'
lsagamodules='/home/creu/SAGA-2.1.0-fixed/initial/lib/saga'
lgrassgisbase='/usr/lib/grass64'

Usage

1
iniparse('demo.ini')

Format

Windows style INI file


gisma/perfectPeak documentation built on May 17, 2019, 5:27 a.m.