ORSElevation extension

on

Methods

elevationLinePost({required Object geometry, required String formatIn, String formatOut = 'geojson', String dataset = 'srtm'}) Future<ElevationData>
Fetches the ElevationData by taking planar 2D line objects geometry and enriching them with elevation from a variety of datasets.
elevationPointGet({required ORSCoordinate geometry, String formatOut = 'geojson', String dataset = 'srtm'}) Future<ElevationData>
Fetches the ElevationData by taking a 2D geometry and enriching it with elevation from a variety of datasets. Uses the GET method for the endpoint.
elevationPointPost({required ORSCoordinate geometry, String formatIn = 'point', String formatOut = 'geojson', String dataset = 'srtm'}) Future<ElevationData>
Fetches the ElevationData by taking a 2D coordinate and enriching it with elevation from a variety of datasets. Uses the POST method for the endpoint.