elevation

Along-route elevation profile endpoint (see module docs).

post/elevation/along

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/elevation/along
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key

Request body

object required

Response

{samples: [{distance_m, lat, lon, elevation_m, source, resolution_m, grade_percent}], total_distance_m, total_ascent_m, total_descent_m, coverage_fraction, sample_count}. grade_percent on sample i is the percent grade of the segment ending at i (null on sample 0, and whenever either endpoint lacks elevation). total_ascent_m/total_descent_m are null (not 0) when no consecutive pair of samples both have elevation

object required

Changes

No recorded changes to this operation across all 1 revision of this API.