Custom search

Montag, 21. November 2016

Riverine landscape width of an alpine river from the source to the outlet ... an open attempt

The riverine landscape width of alpine rivers is permanently changing from the source to the outlet due to geomorphology and neighboring land use.

Let's try to get the riverine landscape width along the river course of the alpine river Inn running through the the federal state of Tyrol.

river Inn through the federal state of Tyrol; backgroud by basemap.at
Open ingredients:
Workflow:
  • extract the river Inn vector line from the river network by v.extract
  • calculate sample points e.g. every 10m along the river course by v.fixed.segmentpoints; the distance from source downstream is uploaded automatically to the attribute table
  • calculate transect lines right and left of the river e.g. every 10m along the river course by v.transects
  • upload the fitting distance from source downstream included in the sample points to the attribute table of the transect lines by v.distance
  • extract habitat map types typically for alpine rivers (e.g. alluvial forests, gravel bars, willow thickets, ...) from the habitat mapping vector data by v.extract
  • dissolve this extracted polygones by v.dissolve
  • clip the transect lines by the dissolved habitat vector map by v.overlay
  • upload the vector length of the clipped transect lines to the attribute table by v.to.db
  • export the clipped transect lines attribute table as a csv file by v.db.select
  • import the csv file into R and do some maths
Some preliminary results:

histogram of the riverine landscape width along the alpine river Inn in the federal state of Tyrol
kernel density plot of the riverine landscape width along the alpine river Inn in the federal state of Tyrol
riverine landscape width vs. distance from source downstream (km)
The riverine landscape width of the alpine river Inn seems to be quite uniform along the course within the federal state of Tyrol, with some increasing width downstream and maybe noisy artefacts.

Let's do some visual checks:

transects every 10m along the river course measuring the riverine landscape width; background basemap.at
transects every 10m along the river course measuring the riverine landscape width; background basemap.at
transects every 10m along the river course measuring the riverine landscape width; background basemap.at
transects every 10m along the river course measuring the riverine landscape width; background basemap.at
transects every 10m along the river course measuring the riverine landscape width; background basemap.at
The visual checks shows more or less the uniformity of the riverine landscape width along the river Inn in this area. 

Open data and open software may enable such analysis over a large area, though pre- and postprocessing cleaning steps are needed to reduce noise and artefacts.

Samstag, 30. Januar 2016

Alpine gravel-bed rivers ... seen from far above in the orbit

River ecosystems are connected on large spatial scales, have varied drivers, strong, and often conflicting, societal interests, and interacting management processes. Rivers and riverine landscapes are ecosystems significantly shaped by recurrent natural disturbances. These dynamic processes initiate a complex mosaic of  habitats resulting in a remarkable high diversity of aquatic, amphibious and terrestrial organisms linked

Alpine gravel-bed rivers are of European interest due to 2 directives: Habitats Directive and Water Framework Directive. Regarding Habitats Directive three typical habitats are listed and can be seen as a succession from highly dynamic (3220 Alpine rivers and the herbaceous vegetation along their banks) to medium dynamic (3230 Alpine rivers and their ligneous vegetation with Myricaria germanica) and moderately dynamic (3240 Alpine rivers and their ligneous vegetation with Salix elaeagnos) pioneer sites.

Let's have a look from the orbit at one of the last near natural alpine gravel-bed rivers in the Eastern Alps: Tagliamento.

View to North from Monte Ragogna over Tagliamento's riverine landscape (photo: H. Kudrnovsky)
Ingedients:
Landsat 8 Operational Land Imager (OLI) and Thermal Infrared Sensor (TIRS) images consist of nine spectral bands with a spatial resolution of 30 meters for Bands 1 to 7 and 9. New band 1 (ultra-blue) is useful for coastal and aerosol studies. New band 9 is useful for cirrus cloud detection. The resolution for Band 8 (panchromatic) is 15 meters. Thermal bands 10 and 11 are useful in providing more accurate surface temperatures and are collected at 100 meters. Approximate scene size is 170 km north-south by 183 km east-west.

Landsat 8 data is available for download at no charge (e.g. Earth Explorer) and with no user restrictions.

First download Landsat 8 data and do a data check by gdalinfo:
Driver: GTiff/GeoTIFF
Files: LC81920282015221LGN00_B1.TIF
Size is 7651, 7771
Coordinate System is:
PROJCS["WGS 84 / UTM zone 32N",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",9],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","32632"]]
Landsat 8 data is organized in UTM zones; here along the catchment of river Tagliamento UTM zone 32N. Import or link the data into a GRASS location created with EPSG: 32632 (UTM zone 32N).

Band 8 – Panchromatic (resolution 15m x 15m)
Let's have a look at the Landsat data within GRASS GIS:
i.landsat.toar -p input=LC81920282015221LGN00_B output=landsat_toar metfile=LC81920282015221LGN00_MTL.txt lsatmet=number,creation,date,sun_elev,sensor,bands,sunaz,time
number=8
creation=2015-08-09
date=2015-08-09
sun_elev=55.616710
sensor=OLI/TIRS
bands=11
sunaz=144.774232
The -p flag of the i.landsat.toar tool prints metadata info like sun azimuth, sun zenit (=elevation) and others.

Further i.landsat.toar is used to transform the calibrated digital number of Landsat imagery products to top-of-atmosphere radiance or top-of-atmosphere reflectance and temperature. Optionally, it can be used to calculate the at-surface radiance or reflectance with atmospheric correction (DOS method).  Atmospheric correction could also be done later by the dedicated i.atcorr tool.

Let's do the transformation with an atmospheric correction:
i.landsat.toar --verbose input=LC81920282015221LGN00_B output=dos1_corr_toar metfile=LC81920282015221LGN00_MTL.txt sensor=oli8 method=dos1
By i.colors.enhance an auto-balancing of colors for RGB images is performed.
i.colors.enhance red=dos1_corr_toar4 green=dos1_corr_toar3 blue=dos1_corr_toar2
RGB image (resolution 30m x 30m)
Habitat 3220 Alpine rivers and the herbaceous vegetation along their banks is typical for slightly vegetated gravel banks. Such sites often shows a high albedo. i.albedo computes broad band albedo from surface reflectance. In order to speed up computation time, e.g. the river (e.g. extracted from Natural Earth) can be buffered and a mask set by this buffer.
i.albedo -l -c --verbose input=dos1_corr_toar2,dos1_corr_toar3,dos1_corr_toar4,dos1_corr_toar5,dos1_corr_toar6,dos1_corr_toar7 output=tag_albedo_aggressivemode
i.albedo result; albedo raster values above a manually chosen threshold (here e.g. 0.19) clumped and vectorized
vectorized albedo above threshold 0.19 overlayed over a RGB image
The normalized difference vegetation index (NDVI) is a simple graphical indicator that can be used to analyze remote sensing measurements and assess whether the target being observed contains live green vegetation or not.
i.vi red=dos1_corr_toar4 output=vi_nvdi viname=nvdi nir=dos1_corr_toar5 green=dos1_corr_toar3 blue=dos1_corr_toar2 band5=dos1_corr_toar6t band7=dos1_corr_toar7
vectorized albedo above threshold 0.19 overlayed over a  NDVI map
vectorized albedo above threshold 0.19 overlayed over a panchromatic Landsat 8 image
linking albedo analysis with nature

As the Landsat 8 satellite images the entire Earth every 16 days in an 8-day offset from Landsat 7, temporal and spatial analysis of alpine rivers and their gravel bed riverine landscape may be viable over large scale.

Combining available open source software (e.g. GRASS GIS, QGIS, Orfeo ToolBox) with open data (e.g. Landsat, Sentinel) tweaked by ground proofing may support to fulfill the targets of the EU directives (Habitats Directive, Water Framework Directive): sustainable water use and biodiversity preservation.

Donnerstag, 28. Januar 2016

Les Dolomites - an open GIS view on a World Heritage site

The United Nations Educational, Scientific and Cultural Organization (UNESCO) seeks to encourage the identification, protection and preservation of cultural and natural heritage around the world considered to be of outstanding value to humanity.

The Alpine Convention, an international treaty between the Alpine Countries (Austria, France, Germany, Italy, Liechtenstein, Monaco, Slovenia and Switzerland) as well as the EU for the sustainable development and protection of the Alps, had a working group UNESCO world heritage.

In June 2009 UNESCO listed the Dolomites as a World Heritage Site for the aesthetic value of its landscape and for the scientific importance of its geology and geomorphology.

Nine so called systems within the World Heritage Site:
  • Pelmo, Croda da Lago
  • Marmolada
  • Pale di San Martino, San Lucano, Dolomiti Bellunesi, Vette Feltrine
  • Dolomiti Friulane and d’Oltre Piave 
  • Dolomiti settentrionali 
  • Puez-Odle
  • Sciliar-Catinaccio, Latemar
  • Bletterbach
  • Dolomiti di Brenta
It's worth to visit them in nature!

The free and open pieces:
Download ASTER GDEM tiles freely from e.g. EarthExplorer and build a VRT from a list of the tiles by gdalbuildvrt.  
# GDAL
gdalbuildvrt asterv2.vrt -input_file_list aster_file_list.txt
Import the VRT into GRASS GIS.
 # GRASS GIS
r.in.gdal input=asterv2.vrt output=asterv2
Go to the ProtectedPlanet website and search for Italy to download the GIS data of italian protected areas; then search for Dolomites to get the related WDPA ID.
# GRASS GIS - import GIS data of  protected area with WDPA ID 478641 (Dolomites)
v.in.ogr input=WDPA_Jan2016_ITA-shapefile-polygons.shp layer=WDPA_Jan2016_ITA-shapefile-polygons output=world_heritage_site_les_dolomites where=WDPA_PID=478641
Import and reproject the Alpine Convention perimeter:
# GRASS GIS - reproject from EPSG 3035 while importing in a EPSG 4326 (WGS84) location
v.import input=AC-perimeter_ifuplan_16072007.shp output=world_heritage_site_les_dolomites epsg=3035
And then enjoy open data of a world heritage site and open GIS.
location of the world heritage site Dolomites within the perimeter of the Alpine Convention
ASTER GDEM of the southern Alps and world heritage site Dolomites
Smoothing the ASTER GDEM:
# GRASS GIS
r.neighbors input=asterv output=asterv2_rneigh_average_3x3 method=average size=3
ASTER GDEM and world heritage site Dolomites in 3D view (GRASS GIS) from southeast
ASTER GDEM and world heritage site Dolomites in 3D view (GRASS GIS) from southwest
As the Dolomites are known for their rich geomorphology, zoom in a bit.
ASTER GDEM and world heritage site Dolomites in 3D view (GRASS GIS) zoomed in
 ASTER GDEM and world heritage site Dolomites in a grey 3D view (GRASS GIS) zoomed in
ASTER GDEM and world heritage site Dolomites in 3D view (GRASS GIS) zoomed into slope map