ORSElevation extension
Methods
-
elevationLinePost(
{required Object geometry, required String formatIn, String formatOut = 'geojson', String dataset = 'srtm'}) → Future< ElevationData> -
Fetches the
ElevationData
by taking planar 2D line objectsgeometry
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 2Dgeometry
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 2Dcoordinate
and enriching it with elevation from a variety of datasets. Uses the POST method for the endpoint.