Ticket #3109 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

New modes for gdaldem

Reported by: CYesson Owned by: rouault
Priority: normal Milestone: 1.7.0
Component: Utilities Version: unspecified
Severity: normal Keywords:
Cc:

Description

I have added three new outputs by cloning the slope code and changing the formulas. I have implemented three simple derived terrain measures, which are useful to habitat suitability modelling. These measures are TRI - Terrain Ruggedness Index, TPI - Topographic Position Index, and Roughness as defined in Wilson et al (2007) ( http://www2.unil.ch/biomapper/Download/Wilson-MarGeo-2007.pdf)

I include the code for gdaldem.cpp and the utilities documentation gdal_utilities.dox

- Chris Yesson

Attachments

gdaldem.cpp Download (66.1 KB) - added by CYesson 4 years ago.
cpp code for the utility gdaldem
gdal_utilities.dox Download (68.8 KB) - added by CYesson 4 years ago.
documentation for gdal utilities including new modes for gdaldem

Change History

Changed 4 years ago by CYesson

cpp code for the utility gdaldem

Changed 4 years ago by CYesson

documentation for gdal utilities including new modes for gdaldem

Changed 4 years ago by rouault

  • owner changed from warmerdam to rouault

Changed 4 years ago by rouault

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 1.7.0

Thanks for the patch. Applied in r17577 /trunk/gdal/apps/ (gdal_utilities.dox gdaldem.cpp): gdaldem: add 3 new mode : TRI, TPI, roughness. Patch contributed by Chriss Yesson (#3109) and restructured to factor general 3x3 processing for much better readability&maintainability

Note: See TracTickets for help on using tickets.