Skip to main content
Question

DEM: How to fill sinks?

  • May 3, 2022
  • 2 replies
  • 82 views

michiedem
Contributor
Forum|alt.badge.img+7

I want to calculate the volume of ditches. It is do-able to determine the shore heights of these ditches, but it is not very precise. A better way would be to do a fill sink analysis. As far as I know FME has no way of doing this?

2 replies

rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • 359 replies
  • May 3, 2022

Hi @michiedem​ 

Have tried the DonutHoleExtractor transformer?

The Outershell port should give you desired result.

Donut_Hole_Extractor


michiedem
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 52 replies
  • May 4, 2022

Hi @michiedem​ 

Have tried the DonutHoleExtractor transformer?

The Outershell port should give you desired result.

Donut_Hole_Extractor

Hello @rahulsharma​ 

 

I think you must have misunderstood me. My source is a DEM (raster/Geotiff) of an area with ditches. in Arcmap/Qgis you can do a fill sink analyses that will result in a raster with all depressions filled. I want to do something comparable in FME.

 

I did write a custom tranformer yesterday that looks at all surrounding cells, if they are all higher it lifts the cell to the lowest hight, I then loop back to do the same again. This seems to work, but obvioulsy is incredibly slow.