How to adjust the height map with a Combo Overlay: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


{{Editor steps|title=adjust the height map with a combo overlay
{{Editor steps|title=adjust the height map with a combo overlay
| video=https://youtu.be/wqpsp143LVM
  | Add a [[Digital Terrain Model Overlay]] to your project.
  | Add a [[Digital Terrain Model Overlay]] to your project.
  | Add an [[Average Overlay]] that selects a specified attibute. This can be a custom attribute or a more general one, such as NWB_ID.
  | Add an [[Average Overlay]] that selects a specified attibute. This can be a custom attribute or a more general one, such as NWB_ID.

Revision as of 12:17, 17 November 2023

For some use-cases, especially related to hydrological calculations, it can be important to have a well-defined height map. When a grid-dataset exists which defines exact heights on the desired reoslution, it is trivial to load in that data. However, sometimes some additional calculations are desired to create or refine the required adjustments.

For these situations, it is possible to use a Grid Overlay to redefine the elevation model in a Project. This is an operation which effects a one-time change of the elevation model, by taking the data of the indicated Overlay and adjusting the elevation model accordingly.


The modification described here will simulate kerbs of 20cm high, by lowering all roads by that amount.

How to adjust the height map with a combo overlay:
Watch the video: 
YoutubeLogo1.jpg
  1. Add a Digital Terrain Model Overlay to your project.
  2. Add an Average Overlay that selects a specified attibute. This can be a custom attribute or a more general one, such as NWB_ID.
  3. Add a Combo Overlay with the Height Map Overlay as input A, the Avg Overlay as input B, and with the formula: IF(GT(B, 0), SUB(A, 0.2), A).
  4. This Combo Overlay displays a height map with all roads 20 cm lower, and all other areas as they were.
  5. Go to Current Situation → Terrain → Select Elevation Grid Overlay
  6. Select the Combo Overlay and confirm the operation.



Notes

  • This operation is considered irreversible. Changes to the elevation model overwrite the terrain heights data directly, and are not stored as seperate pieces of data which can be removed later on to restore the original elevation model.
  • The effected change is a single operation, not a permanent connection. After performing this operation, if the results of the used Grid Overlay change, the Project's elevation model is not modified automatically.