Skip to main content

Relief Visualization Toolbox python library. It helps scientist visualize raster elevation model datasets.

Project description

Relief Visualization Toolbox in Python

Relief Visualization Toolbox was produced to help scientist visualize raster elevation model datasets. We have narrowed down the selection to include techniques that have proven to be effective for identification of small scale features. Default settings therefore assume working with high resolution digital elevation models, derived from airborne laser scanning missions (lidar).

Despite this, techniques are also used for different other purposes. Sky-view factor, for example, can be efficiently used in numerous studies where digital elevation model visualizations and automatic feature extraction techniques are indispensable, e.g. in geography, archeology, geomorphology, cartography, hydrology, glaciology, forestry and disaster management. It can be used even in engineering applications, such as, predicting the availability of the GPS signal in urban areas.

Methods currently implemented are:

  • hillshading,
  • hillshading from multiple directions,
  • slope gradient,
  • simple local relief model,
  • sky illumination,
  • sky-view factor (as developed by our team),
  • anisotropic sky-view factor,
  • positive and negative openness,
  • local dominance.

For a more detailed description see references given at each method in the manual and a comparative paper describing them (e.g. Kokalj and Hesse 2017, see below).

RVT python library called rvt contains 3 modules: vis (rvt.vis), blend (rvt.blend) and default (rvt.default). Modules contains:

  • vis - visualization functions (mentioned above), for computing visualizations;
  • blend - blender (mixer), for blending visualizations;
  • default - default values, class for defining default parameters with methods to compute and save visualization functions using set parameters.

For every visualization function directory also contains Python Esri raster functions for ArcGIS Pro (rvt_esri_*.py).

References

When using the tools, please cite:

  • Kokalj, Ž., Somrak, M. 2019. Why Not a Single Image? Combining Visualizations to Facilitate Fieldwork and On-Screen Mapping. Remote Sensing 11(7): 747.
  • Zakšek, K., Oštir, K., Kokalj, Ž. 2011. Sky-View Factor as a Relief Visualization Technique. Remote Sensing 3: 398-415.
  • Kokalj, Ž., Zakšek, K., Oštir, K. 2011. Application of Sky-View Factor for the Visualization of Historic Landscape Features in Lidar-Derived Relief Models. Antiquity 85, 327: 263-273.

Installation

First install libraries listed below. We suggest using an Anaconda environment (easiest gdal installation) and Python 3.6 or higher. Required libraries with tested versions (could also work with other versions):

  • numpy 1.19.2
  • scipy 1.5.2
  • gdal 3.0.2

After you have successfully installed required libraries you can install rvt-py from pypi (pypi rvt-py):

pip install rvt-py

Or you can clone the repository (github rvt_py).

You can use rvt-py in Python scripts, Jupyter Notebooks and in ArcGIS Pro.

Documentation

Documentation of the package and its usage is available at Read the Docs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please report any bugs and suggestions for improvements.

Acknowledgment

Development of RVT was part financed by the European Commission's Culture Programme through the ArchaeoLandscapes Europe project and by the Slovenian Research Agency core funding No. P2-0406, and by research projects No. J6-7085 and No. J6-9395.

License

This project is licensed under the terms of the Apache License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rvt_py-1.0.0a4.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rvt_py-1.0.0a4-py3-none-any.whl (55.3 kB view details)

Uploaded Python 3

File details

Details for the file rvt_py-1.0.0a4.tar.gz.

File metadata

  • Download URL: rvt_py-1.0.0a4.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.7

File hashes

Hashes for rvt_py-1.0.0a4.tar.gz
Algorithm Hash digest
SHA256 8e8b68bf2436d4da8113fe295796b708f96dea229647fbc4cd3b2e959035d6a2
MD5 fc6966655cd447601909109919b07be8
BLAKE2b-256 6e5dc3397322b00926b1f4d9704e285be495cd4a21cae63b9c3fbf475a0b541c

See more details on using hashes here.

File details

Details for the file rvt_py-1.0.0a4-py3-none-any.whl.

File metadata

  • Download URL: rvt_py-1.0.0a4-py3-none-any.whl
  • Upload date:
  • Size: 55.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.7

File hashes

Hashes for rvt_py-1.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 9d33d7ee23a81b5f7f7aa9ba84ef208e7653344b62ebff86c93ffd193963141c
MD5 108bc566e4005ba3809de632e96879ea
BLAKE2b-256 93a4ea3636e6c290ab306a3c5d6de6c52fa2d5187e0bab6e49eebded19a24553

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page