Knowledgebase Home | Contact Knowledgebase Home| Contact
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% thumbs up 25% thumbs down

How would you rate this answer?
Helpful
Not helpful
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
Related Questions
Attachments
Post Comment for "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?"
To post a comment for this question, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
Continue
Powered by ActiveKB Knowledgebase Software

Home * Products * Gallery * Support * About Us * Register * Order * Demos