Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#4753 closed enhancement (fixed)

[PATCH] Combined hillshading support (combined oblique and vertical [slope] illumination)

Reported by: andrey Owned by: warmerdam
Priority: normal Milestone: 1.10.0
Component: Utilities Version: unspecified
Severity: normal Keywords: gdaldem hillshade
Cc:

Description

Very useful hillshading that can enhance topographic detail. This method is implemented, for example, in the SAGA GIS (src\modules_terrain_analysis\terrain_analysis\ta_lighting\HillShade.cpp).
This could be an additional option (e.g. -combined) to gdaldem hillshade utility.

Attachments (5)

_standard.png (68.8 KB ) - added by andrey 10 years ago.
standart shading (generated by gdaldem hillshade)
_combined.png (162.8 KB ) - added by andrey 10 years ago.
combined shading (generated by SAGA)
standard_hillshade.PNG (252.0 KB ) - added by andrey 10 years ago.
standard hillshading
combined_hillshade.PNG (208.9 KB ) - added by andrey 10 years ago.
combined hillshading (new, patch file)
gdaldem.patch (6.3 KB ) - added by andrey 10 years ago.

Download all attachments as: .zip

Change History (12)

by andrey, 10 years ago

Attachment: _standard.png added

standart shading (generated by gdaldem hillshade)

by andrey, 10 years ago

Attachment: _combined.png added

combined shading (generated by SAGA)

comment:1 by andrey, 10 years ago

standart shading (generated by gdaldem hillshade): standart shading (generated by gdaldem hillshade)

combined shading (generated by SAGA): combined shading (generated by SAGA)

comment:2 by andrey, 10 years ago

Summary: Combined hillshading support (combined oblique and vertical [slope] illumination)[PATCH] Combined hillshading support (combined oblique and vertical [slope] illumination)

by andrey, 10 years ago

Attachment: standard_hillshade.PNG added

standard hillshading

by andrey, 10 years ago

Attachment: combined_hillshade.PNG added

combined hillshading (new, patch file)

comment:3 by andrey, 10 years ago

standard hillshading (generated by gdaldem hillshade with default options): standard hillshading

combined hillshading (generated by gdaldem hillshade with patch and default options): combined hillshading (new, patch file)

comment:4 by Even Rouault, 10 years ago

Looks nice. Updating apps/gdal_utilities.dox with the documentation for the new option would also be appropriate. I'm wondering how one can explains the effect of -combine with words in English... Is there some reference in the scientific litterature about this algorithm that could be refered to ?

by andrey, 10 years ago

Attachment: gdaldem.patch added

comment:5 by Even Rouault, 10 years ago

Milestone: 2.0.0
Resolution: fixed
Status: newclosed

r24794 /trunk/ (3 files in 2 dirs): gdaldem: add a -combined option to the hillshade mode to compute combined hillshading (#4753, patch by andrey)

in reply to:  4 ; comment:6 by snorris, 8 years ago

Replying to rouault:

Looks nice. Updating apps/gdal_utilities.dox with the documentation for the new option would also be appropriate. I'm wondering how one can explains the effect of -combine with words in English... Is there some reference in the scientific litterature about this algorithm that could be refered to ?

Was any references for this provided? I don't see anything here http://www.gdal.org/gdaldem.html#gdaldem_hillshade and google isn't super helpful.

in reply to:  6 comment:7 by Even Rouault, 8 years ago

Was any references for this provided?

Looks like not unfortunately...

I don't see anything here http://www.gdal.org/gdaldem.html#gdaldem_hillshade and google isn't super helpful.

Note: See TracTickets for help on using tickets.