9#ifndef libosmscout_SRTM_h
10#define libosmscout_SRTM_h
70 std::string currentFilename;
71 osmscout::GeoBox fileBoundingBox;
78 bool AssureCorrectFileLoaded(
double latitude,
81 std::string CalculateHGTFilename(
int patchLat,
84 int32_t GetHeight(
size_t column,
size_t row)
const;
87 explicit SRTM(
const std::string& path);
#define OSMSCOUT_API
Definition CoreImportExport.h:45
std::vector< int32_t > heights
Definition SRTM.h:50
GeoBox boundingBox
Definition SRTM.h:47
size_t columns
Definition SRTM.h:49
int32_t GetHeight(size_t x, size_t y) const
Definition SRTM.h:52
size_t rows
Definition SRTM.h:48
static const int32_t nodata
Definition SRTM.h:66
int32_t GetHeightAtLocation(const GeoCoord &coord)
SRTMDataRef GetHeightInBoundingBox(const GeoBox &boundingBox)
SRTM(const std::string &path)
std::shared_ptr< SRTMData > SRTMDataRef
Definition SRTM.h:58
std::shared_ptr< SRTM > SRTMRef
Definition SRTM.h:95