ThinkGeo.com    |     Documentation    |     Premium Support

How to retrieve the terrain height

Hi,


I'm evaluating Map Suite for a project that involves interaction with terrain. In my application, I want to retrieve the  terrain height for an arbitrary coordinate in the following manner:


User clicks somewhere on the map => I get the (xWorld, yWorld) mouse click coordinate => I get the terrain height in (xWorld, yWorld)


The "terrain" is defined by a well-known format, such as DTED, ESRI shapefile, ASCII, etc. The actual "terrain height" for a coordinate is an approximation that is calculated from the source data.


Is there any support in Map Suite for implementing what I described? I am aware of the FDO extension, but to my understanding it only allows to get the raw data from data files. So for example, it is possible get all features from a shapefile that represent elevation data for an area, but I have to calculate myself the elevation of coordinates in that area.


Thanks in advance



Uri,


Thanks for your post and interests in MapSuite component.
 
I just want to make sure what you mean for “terrain height” is shown as in the following screenshot. If yes, then I say that some FDO formats data (as I know S57 is one of them) should contain all this kinds of terrain height information.


While I am sorry to say that currently, we have not full support this kind of data reading(like S57), as you said, we only read the raw data out from it without any calculation, we will enhance it somehow later. And we do not support the built in calculation as you described.
 
Any more questions just feel free to let me know.
 
Thanks.
 
Yale