Sample terrain profile
post
http://127.0.0.1:8787/api/v1/terrain/profileSamples the WGS84 geodesic between two coordinates, returning distance, forward azimuth, and per-sample elevation in MSL and HAE.
Request
application/jsonThis endpoint expects an object.
fromLatLonRequiredtoLatLonRequiredsamplesintegerOptionalClamped to the range.
2 to 4096 · Defaults to 256
Response
200 · application/jsonSampled profile. Returns a TerrainProfile object.
distance_mnumberOptionalTotal geodesic distance.
azimuth_degnumberOptionalForward azimuth.
sampleslist of objectOptionalErrors
400
Problem
Malformed request.
