How to remove a waterway from the heightmap

From Tygron Preview Support Wiki
Jump to navigation Jump to search

This How-to contains the steps on how to create a set of Grid Overlays that calculate a leveled terrain height around waterways. The resulting Grid Overlay can be used to either directly adjust the terrain height of the Current Situation, or applied to the Future Design with a Measure using Grid Spatials

The strategy is as followed:

  • Add a Heightmap Overlay
  • Add an Average Overlay to create a region around water terrains.
  • Add a Combo Overlay to change the region to No Data, and height values otherwise.
  • Add an Average Overlay to interpolate the No Data values with surrounding height values.


How to remove a waterway from the heightmap:
  1. Open a project in the Editor
  2. Select Current Situation
  3. In the ribbon bar, hover over Overlays and under Topography, select Digital Terrain Model
  4. Again, in the ribbon bar, hover over Overlays and under Grid Calculation, select Avg and Interpolation.
  5. With the Average Overlay selected, rename it to Waterway within Margin
  6. Under Select Input, set the option to Specific Layer and select the TERRAINS layer type.
  7. Set the Cell average distance to 10 meters
  8. Click on the Select button and select the WATER attribute from the list of Terrain attributes.
  9. Hover over Overlays in the ribbon bar and under Grid Calculation, select Combo Overlay
  10. With the Combo Overlay selected, name it to Waterway to NO DATA using the Detail Panel
  11. For Grid A, select the overlay named Waterway within margin
  12. For Grid B, select the Digital Terrain Model Overlay named Heightmap
  13. Provide the following formula: IF(GT(A, 0), NO_DATA, B)
  14. Hover over Overlays in the ribbon bar and under Grid Calculation, select Avg and Interpolation
  15. Rename the Average Overlay to Interpolated Waterway.
  16. Under Select Input, set the option to Grid: Input Overlay and select the Overlay Waterway to NO DATA.
  17. Set the Average distance to around twice as large as the distance of the Waterway within Margin Overlay. In our case we set it to 20 meters.