The resulting DEM can be obtained as a LatLonGrid. Because no resampling or projection is actually done, this is useful only for areas the size of a USGS Quad; for larger areas, you may not like the error characteristic.
Public Member Functions | |
SdtsDem (const std::string &prefix) | |
An example of the category file name is /tmp/co/1183CATD.DDF. | |
SmartPtr< DataType > | getData () |
The data are approximated into a LatLonGrid. | |
SmartPtr< LatLonGrid > | getLatLonGrid () |
code::SdtsDem::SdtsDem | ( | const std::string & | prefix | ) |
An example of the category file name is /tmp/co/1183CATD.DDF.
You would then pass in /tmp/co/1183.
All the other files including the CEL0 files that are part of the transfer should be in the same directory.
The data are approximated into a LatLonGrid.
If the data are originally in a meters grid, the grid values and the coverage of the grid are retained. No resampling is done, so there will be some association error.
SmartPtr< LatLonGrid > code::SdtsDem::getLatLonGrid | ( | ) |