Opened 15 years ago

Closed 15 years ago

#3109 closed enhancement (fixed)

New modes for gdaldem

Reported by: CYesson Owned by: Even 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 (2)

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

Download all attachments as: .zip

Change History (4)

by CYesson, 15 years ago

Attachment: gdaldem.cpp added

cpp code for the utility gdaldem

by CYesson, 15 years ago

Attachment: gdal_utilities.dox added

documentation for gdal utilities including new modes for gdaldem

comment:1 by Even Rouault, 15 years ago

Owner: changed from warmerdam to Even Rouault

comment:2 by Even Rouault, 15 years ago

Milestone: 1.7.0
Resolution: fixed
Status: newclosed

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.