inasafe: Natural hazard impact estimator.

Usage:
    inasafe --hazard=HAZARD_FILE (--download --layers=LAYER_NAME [LAYER_NAME...] | --exposure=EXP_FILE)
            --impact-function=IF_ID --report-template=TEMPLATE --output-file=FILE [--extent=XMIN:YMIN:XMAX:YMAX]
    inasafe (--version | --list-functions)
    inasafe --download --layers=LAYER_NAME [LAYER_NAME...] --extent=XMIN:YMIN:XMAX:YMAX

Options:
    -l --list-functions        List the available impact functions and exit. Can be used along
                            with --exposure and --hazard options to produce a filtered list of
                            Impact Functions that will work with the specified hazard
                            and exposure layers.
    -v --version            Print the current version of InaSAFE.
    -h --help               Print this help text.
    -d --download           Download resource.

Arguments:
    HAZARD_FILE             Hazard layer file such as a shapefile or tif containing flood, tsunami,
                            volcano, earthquake data. The layer should be accompanied with an appropriate
                            keywords file.
    EXP_FILE                Exposure layer file such as a shapefile or tif containing population,
                            structures (e.g. buildings), roads, etc. data. The layer should be accompanied with
                            an appropriate keywords file.
    XMIN,YMIN,XMAX,YMAX     A quartet of decimal degrees values representing the analysis extent that
                            should be used. The order of the values is significant, representing XMIN, YMIN,
                            XMAX, YMAX. If omitted the union of the hazard and exposure layer extents should be used.
    AG_FILE                 Path to an aggregation layer such as a shapefile or tif containing village,
                            boundaries, town subdivisions etc. data. The layer should be accompanied with
                            an appropriate keywords file.
    TEMPLATE                QGIS .qpt template file to be used for generating the PDF report.
                            If omitted, no PDF will be generated.  PDF output file will follow
                            prefix rules (see below).
    PREFIX_PATH             Prefix for the impact layer and associated products.  If omitted, a randomly
                            generated letter sequence will be used that is guaranteed to be unique.
    IF_ID                   Use one of the IDs given by the --list option.
    FILE                    Output path for the impact layer and associated products.  If omitted,
                            the impact layer will be written into the current working directory.
    LAYER_NAME              Any of the following keywords: roads,buildings, building-points,
                            potential-idp, boundary-x(x:1-11)

# INSTALL on Ubuntu with:
# chmod ug+x inasafe
# sudo ln -s `pwd`/inasafe  /usr/bin