Informations to the program zg2s.exe
====================================

General informations
--------------------
Copyright (C) 2005-2010 LANUV NRW, Germany

zg2s is free software under the GNU PUBLIC LICENCE (see gpl.txt).
zg2s comes with ABSOLUTELY NO WARRANTY.
There are more informations to the GPL at
http://www.gnu.org/licenses/gpl.html.


Description
-----------
The slopes (unit: cm/m) are calculated from the terrain heights (unit: m).
The terrain heights are read in from a file with format DMNA, Atkis
(X, Y, height; without field names) or ArcInfo. The slopes are written
to a file with format DMNA, ArcInfo or a table (X, Y, height, slope;
with field names).

The terrain heights of z(i-1,j) with z(i+1,j) and z(i,j-1) with z(i,j+1)
are compared. The greater slope value is assigned to the point with
index z(i,j).

There are not enough values to determine the slopes for the points
at the edge of the area. For this reason no slopes for these points
can be found in the file.

The maximum value of the created file is equivelent to the value
that is reported by AUSTAL2000 at the protocol file in brackets
(comparison of the point after next).

The version of this program is 2010-07-21.


Installation
------------
Copy the program into a directory of your own choice.


Usage
-----
Open a console and start the program.
When the program is started without any further parameters,
you will receive the following output:

zg2s, version 2010-07-21
Determination of slope by given terrain height
Copyright (C) 2005-2010  LANUV NRW, Germany
zg2s comes with ABSOLUTELY NO WARRANTY
zg2s is free software under the GNU PUBLIC LICENCE

Usage         zg2s <file> [<options>]
<file>        input file of type ArcInfo, DMNA or Atkis
<options>
-f<a|d|t>     output format: a=ArcInfo, d=DMNA (default), t=table
-o<file name> output file name, default: <input file name>_s

