[gdal-dev] DTED Elevations with Java and gdal

Roger Viton wsureshoot at fastmail.fm
Wed Oct 19 16:23:39 EDT 2011


There have been other threads on this topic.  The threads seem to die with no
clear solution presented. 

Does anyone have a Java example on how to get elevations from a DTED file? 


org.gdal.gdal.Dataset dataset = org.gdal.gdal.gdal.Open(<some dted file>,
org.gdal.gdalconst.gdalconst.GA_ReadOnly);


With an x y point how can the elevation be derived?


We have been able to run GDALtest.java against a DTED file with no problem. 
There does not seem to be any reference to any elevation in DTEDtest.java

Just want to get the elevation at a point.



Thanks,

Roger





--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/DTED-Elevations-with-Java-and-gdal-tp6910385p6910385.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list