Search the Knowledgebase |
Browse by Category |
|
|
|
| When I attach a HeightField to a DEM or GRD file, how do I set the Scale so that the HeightField matches the Z axis? |
| User Opinions |
75%
25%
|
|
Thank you for rating this answer.
|
Use the following equation to calculate the HeightField Scale:
Scale = (DataMax - DataMin) / (0.5 * sqrt((xMax-xMin)^2 + (yMax-yMin)^2))
To
adjust for the offset of the DataMin value, insert a Transform module
between the Gridder output and the HeightField input and offset the Z
axis by the DataMin value.
Terminology note: DataMax and DataMin are referring to Zmax and Zmin
See attached Excel file for an example of the equation.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|