[gdal-dev] Re: DTED Elevations with Java and gdal

2011-10-20 Thread Roger Viton
Grateful for your replies. Am not fluent yet in all the coordinate systems. Will learn them though. We have a DTED dt0 file that has 121*121 data points. Used geotools to get the elevation at point (1,1). When gdallocationinfo.exe was run at the same point (1,1) gdallocationinfo returned the sam

[gdal-dev] DTED Elevations with Java and gdal

2011-10-19 Thread Roger Viton
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(, org.gdal.gdalconst.gdalconst.GA_ReadOnly); With an x y