For a given coordinate, determines the elevation at that coordinate.
More...
|
|
static ElevationService * | s_primary_service |
| | The singleton primary elevation service instance.
|
For a given coordinate, determines the elevation at that coordinate.
Definition at line 41 of file ElevationService.h.
◆ ConvertToLatLon()
Converts the coordinate locations in the given request to latitude/longitude values.
- Parameters
-
| [in] | request | The elevation request whose locations will be converted. |
- Returns
- A new ElevationRequest with locations expressed in latitude/longitude coordinates.
◆ postRequest()
Posts an asynchronous elevation request to the service for processing.
- Parameters
-
| [in] | request | The elevation request containing locations and callback information. |
Implemented in GeoTiffElevationService, and OpenElevationService.
◆ PrimaryService()
◆ SetPrimaryService()
| void ElevationService::SetPrimaryService |
( |
ElevationService * | elevation_service | ) |
|
|
static |
◆ SplitRequestsIfNeeded()
Splits polyline elevation requests that exceed the maximum sample count into smaller sub-requests.
- Parameters
-
| [in] | requests | The polyline elevation requests to potentially split. |
| [in] | max_samples | The maximum number of samples allowed per individual request. |
- Returns
- A buffer of LineElevationRequest objects, each within the max_samples limit.
- Note
- It is unclear whether the split requests are subdivided by polyline segment or by sample count redistribution across the original polyline geometry.
The documentation for this class was generated from the following file: