EcohydroLib  1.29
GetGAAustraliaDEMForBoundingBox Namespace Reference

Query OGC WCS web services provided by Geoscience Australia (http://www.ga.gov.au/data-pubs/web-services/ga-web-services) for digital elevation model (DEM) data. More...

Detailed Description

Query OGC WCS web services provided by Geoscience Australia (http://www.ga.gov.au/data-pubs/web-services/ga-web-services) for digital elevation model (DEM) data.

Will get '1 second SRTM Digital Elevation Model of Australia' by default, see –help for other choices.

This software is provided free of charge under the New BSD License. Please see the following license information:

Copyright (c) 2014, University of North Carolina at Chapel Hill All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Author
Brian Miles brian.nosp@m._mil.nosp@m.es@un.nosp@m.c.ed.nosp@m.u

Pre conditions

  1. Configuration file must define the following sections and values: 'GDAL/OGR', 'PATH_OF_GDAL_WARP'
  2. The following metadata entry(ies) must be present in the study area section of the metadata associated with the project directory: bbox_wgs84

Post conditions

  1. Will write the following entry(ies) to the manifest section of metadata associated with the project directory: dem [the name of the DEM raster]
  2. Will write the following entry(ies) to the study area section of metadata associated with the project directory: dem_res_x [X resolution of the DEM raster in units of the raster's projection] dem_res_y [Y resolution of the DEM raster in units of the raster's projection] dem_srs [spatial reference system of the DEM, in EPSG:<nnnn> format] dem_columns [number of pixels in the X direction] dem_rows [number of pixels in the Y direction]

Usage:

1 GetGAAustraliaDEMForBoundingbox.py -p /path/to/project_dir -s 3 3
Note
EcohydroLib configuration file must be specified by environmental variable 'ECOHYDROWORKFLOW_CFG', or -i option must be specified.
If option -t is not specified, UTM projection (WGS 84 coordinate system) will be inferred from bounding box center.