I'm looking for some algorithm/script that allows the automatic extraction of peaks from DTMs into a point shapefile (including their morphologic characteristics such as key col, prominence, and isolation, as indicated in the image). I've tried r.geomorphon but it returns only a raster with morphologic characteristics of the entire DTM.

I've always done it manually, but it's really time-consuming for thousands of features.

enter image description here

  • So ideally you can get the pixel coordinate of the peak points and can calculate x,y coordinate and write it to shp file with pygis script. I am not sure about morphologic characteristics as I am really not familiar with those terms. Altitude is your pixel value? Isolation between altitude and what? And what is key col? Maybe I would understand if you tell how you usually manually extract those infos – Nil Jan 27 at 10:29
  • 1
  • As @babel pointed out, isolation and prominence are calculated as explained in those links. The altitude is the highest pixel value of a neighbourhood of pixels. Ideally yes, if a script/algorithm could detect "peak pixels", write them an x,y coordinate shapefile set of points, and determines all their topographic features, it would be great – NorthSon Jan 27 at 12:42
  • I found your problem quite interesting and would love to help. I also needed for a project to get the x,y of the pixel with the highest value. I read the wiki however it would be helpful for me to now how you manually are doing. Any you mentioned about r.geomorphon. Does it give you all the parameter you need to but for entire DEM? Because if you have the shape file of the peaks and then you can use the shp file to get info from the output raster of r.geomorphon @NorthSon – Nil Jan 28 at 7:53
  • 1
    Some of the responses here might help. – Micha Jan 28 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.