libosmscout
0.1
|
Read elevation data in hgt format. More...
#include <SRTM.h>
Public Member Functions | |
int32_t | GetHeightAtLocation (const GeoCoord &coord) |
return the height at (latitude,longitude) or SRTM::nodata if no data at the location More... | |
SRTMDataRef | GetHeightInBoundingBox (const GeoBox &boundingBox) |
SRTM (const std::string &path) | |
virtual | ~SRTM () |
Static Public Attributes | |
static const int32_t | nodata =-32768 |
Read elevation data in hgt format.
|
explicit |
|
virtual |
int32_t osmscout::SRTM::GetHeightAtLocation | ( | const GeoCoord & | coord | ) |
return the height at (latitude,longitude) or SRTM::nodata if no data at the location
References osmscout::Log::Debug(), osmscout::GeoCoord::GetDisplayText(), osmscout::GeoCoord::GetLat(), osmscout::GeoCoord::GetLon(), osmscout::log, and nodata.
SRTMDataRef osmscout::SRTM::GetHeightInBoundingBox | ( | const GeoBox & | boundingBox | ) |
|
static |
Referenced by osmscout::MapPainter::DrawContourLines(), GetHeightAtLocation(), and GetHeightInBoundingBox().