2017-02-23 22:08:40 +00:00
|
|
|
# GRASS scripts
|
|
|
|
# odm_grass
|
2017-05-02 22:48:06 +00:00
|
|
|
Generates contour and textured relief maps.
|
2017-02-23 22:08:40 +00:00
|
|
|
|
|
|
|
## Requirements
|
2017-05-02 22:23:56 +00:00
|
|
|
* Compile and install GRASS 7 version or higher, https://grasswiki.osgeo.org/wiki/Compile_and_Install
|
2017-02-23 22:08:40 +00:00
|
|
|
* Environment variables:
|
|
|
|
* PYTHONHOME set to the location of Python
|
|
|
|
* PYTHONPATH set to the location of GRASS Python libs
|
|
|
|
* PATH includes GRASS bin and lib directories
|
|
|
|
* GISBASE set to the location of GRASS
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
python odm_grass.py <project-path>
|
|
|
|
|
2017-05-02 22:48:06 +00:00
|
|
|
Output is `<project-path>/odm_georeferencing/odm_contour.shp` and `<project-path>/odm_orthophoto/odm_relief.tif`.
|