Go to the source code of this file.
|
#define | SAMPLES_PER_AXIS 1201 |
|
#define | SAMPLES_PER_TILE (SAMPLES_PER_AXIS*SAMPLES_PER_AXIS) |
|
- Author
- JMendyk
- Date
- 21.01.18
RealTile* RealTile__from_hgt_file |
( |
const char * |
filename | ) |
|
Create RealTile from HGT file, deducing tile's coordinates based on filename
- Parameters
-
[in] | filename | path to HGT file |
- Returns
- NULL if HGT file does not exists or other errors happened, otherwise a valid pointer to RealTile
RealTile* RealTile__from_hgt_file |
( |
const char * |
filename, |
|
|
const int & |
lat, |
|
|
const int & |
lon |
|
) |
| |
Create RealTile from HGT file
- Parameters
-
[in] | filename | path to HGT file |
[in] | lat | bottom-left corner's latitude of loaded tile |
[in] | lon | bottom-left corner's longitude of loaded tile |
- Returns
- NULL if HGT file does not exists or other errors happened, otherwise a valid pointer to RealTile
RealTile* RealTile__from_hgt_file_batch |
( |
const char * |
folder_path, |
|
|
const int & |
lat_min, |
|
|
const int & |
lon_min, |
|
|
const int & |
lat_max, |
|
|
const int & |
lon_max |
|
) |
| |
Load set of HGT file and merge them into one RealTile For files to be loaded in batch, they must match standard pattern, ex. N49E014.hgt.
- Parameters
-
[in] | folder_path | path prefix for HGT files |
[in] | lat_min | latitude of first tile to load |
[in] | lon_min | longitude of first tile to load |
[in] | lat_max | latitude of last tile to load |
[in] | lon_max | longitude of last tile to load |
- Returns
- NULL if any HGT file does not exist or other errors happened, otherwise a valid pointer to RealTile