Skip to content

Commit

Permalink
Modified billing information and updated examples (Azure#18041)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Rocha <daroch@microsoft.com>
  • Loading branch information
2 people authored and FredericHeem committed Mar 7, 2022
1 parent 20dbac7 commit a541fc5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
10 changes: 5 additions & 5 deletions specification/maps/data-plane/DEM/preview/1.0/elevation.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"/elevation/point/{format}": {
"get": {
"summary": "Get Elevation Data on One or More Points",
"description": "**Applies to**: S1 pricing tier.\n\n The Get Data for Points API provides elevation data for one or more points. A point is defined in lat,long coordinate format.\n\n Due to the URL character length limit of 2048, it's not possible to pass more than 100 coordinates as a pipeline delimited string in a URL GET request. If you intend to pass more than 100 coordinates as a pipeline delimited string, use the [POST Data\n For Points](https://docs.microsoft.com/rest/api/maps/elevation/postdataforpoints).\n\n The result will be in the same sequence of points listed in the request.",
"description": "**Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier).\n\n The Get Data for Points API provides elevation data for one or more points. A point is defined in lat,long coordinate format.\n\n Due to the URL character length limit of 2048, it's not possible to pass more than 100 coordinates as a pipeline delimited string in a URL GET request. If you intend to pass more than 100 coordinates as a pipeline delimited string, use the [POST Data\n For Points](https://docs.microsoft.com/rest/api/maps/elevation/postdataforpoints).\n\n The result will be in the same sequence of points listed in the request.",
"operationId": "Elevation_GetDataForPoints",
"x-ms-examples": {
"Successfully retrieve elevation data for one or more points using get": {
Expand Down Expand Up @@ -110,7 +110,7 @@
},
"post": {
"summary": "Query Elevation Data for Multiple Points",
"description": "**Applies to**: S1 pricing tier.\n\n The Post Data for Points API provides elevation data for multiple points. A point is defined lon/lat coordinate format.\n\n Use the POST endpoint only if you intend to pass multiple points in the request. If you intend to pass a single coordinate into the API, use the [GET Data For Points API](https://docs.microsoft.com/rest/api/maps/elevation/getdataforpoints).\n\n The result will be in the same sequence of points listed in the request.",
"description": "**Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier).\n\n The Post Data for Points API provides elevation data for multiple points. A point is defined lon/lat coordinate format.\n\n Use the POST endpoint only if you intend to pass multiple points in the request. If you intend to pass a single coordinate into the API, use the [GET Data For Points API](https://docs.microsoft.com/rest/api/maps/elevation/getdataforpoints).\n\n The result will be in the same sequence of points listed in the request.",
"operationId": "Elevation_PostDataForPoints",
"x-ms-examples": {
"Successfully retrieve elevation data for multiple points using post": {
Expand Down Expand Up @@ -153,7 +153,7 @@
"/elevation/line/{format}": {
"get": {
"summary": "Get Elevation Data Along a Polyline",
"description": "**Applies to**: S1 pricing tier.\n\n The Get Data for Polyline API provides elevation data along a polyline.\n\n A polyline is defined by passing in between 2 and N endpoint coordinates separated by a pipe ('|') character. In addition to passing in endpoints, customers can specify the number of sample points that will be used to divide polyline into equally spaced segments.\n\n Elevation data at both start and endpoints, as well as equally spaced points along the polyline will be returned. The results will be listed in the direction from the first endpoint towards the last endpoint. A line between two endpoints is a straight Cartesian line, the shortest line between those two points in the coordinate reference system. Note that the point is chosen based on Euclidean distance and may markedly differ from the geodesic path along the curved surface of the reference ellipsoid.",
"description": "**Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier).\n\n The Get Data for Polyline API provides elevation data along a polyline.\n\n A polyline is defined by passing in between 2 and N endpoint coordinates separated by a pipe ('|') character. In addition to passing in endpoints, customers can specify the number of sample points that will be used to divide polyline into equally spaced segments.\n\n Elevation data at both start and endpoints, as well as equally spaced points along the polyline will be returned. The results will be listed in the direction from the first endpoint towards the last endpoint. A line between two endpoints is a straight Cartesian line, the shortest line between those two points in the coordinate reference system. Note that the point is chosen based on Euclidean distance and may markedly differ from the geodesic path along the curved surface of the reference ellipsoid.",
"operationId": "Elevation_GetDataForPolyline",
"x-ms-examples": {
"Successfully retrieve elevation data along a polyline using get": {
Expand Down Expand Up @@ -206,7 +206,7 @@
},
"post": {
"summary": "Query Elevation Data Along a Polyline",
"description": "**Applies to**: S1 pricing tier.\n\n The Post Data for Polyline API provides elevation data along a polyline.\n\n A polyline is defined by passing in between 2 and N endpoint coordinates separated by a pipe ('|') character. In addition to passing in endpoints, customers can specify the number of sample points that will be used to divide polyline into equally spaced segments.\n\n Elevation data at both start and end points, as well as equally spaced points along the polyline will be returned. The results will be listed in the direction from the first endpoint towards the last endpoint. A line between two endpoints is a straight Cartesian line, the shortest line between those two points in the coordinate reference system. Note that the point is chosen based on Euclidean distance and may markedly differ from the geodesic path along the curved surface of the reference ellipsoid.",
"description": "**Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier).\n\n The Post Data for Polyline API provides elevation data along a polyline.\n\n A polyline is defined by passing in between 2 and N endpoint coordinates separated by a pipe ('|') character. In addition to passing in endpoints, customers can specify the number of sample points that will be used to divide polyline into equally spaced segments.\n\n Elevation data at both start and end points, as well as equally spaced points along the polyline will be returned. The results will be listed in the direction from the first endpoint towards the last endpoint. A line between two endpoints is a straight Cartesian line, the shortest line between those two points in the coordinate reference system. Note that the point is chosen based on Euclidean distance and may markedly differ from the geodesic path along the curved surface of the reference ellipsoid.",
"operationId": "Elevation_PostDataForPolyline",
"x-ms-examples": {
"Successfully retrieve elevation data along a polyline using post": {
Expand Down Expand Up @@ -257,7 +257,7 @@
"/elevation/lattice/{format}": {
"get": {
"summary": "Get Elevation Data at Equally Spaced Locations Within a Bounding Box",
"description": "**Applies to**: S1 pricing tier.\n\nThe Get Data for Bounding Box API provides elevation data at equally spaced locations within a bounding box. A bounding box is defined by the coordinates for two corners (southwest, northeast) and then subsequently divided into rows and columns.\n\n Elevations are returned for the vertices of the grid created by the rows and columns. Up to 2,000 elevations can be returned in a single request. The returned elevation values are ordered, starting at the southwest corner, and then proceeding west to east along the row. At the end of the row, it moves north to the next row, and repeats the process until it reaches the far northeast corner.",
"description": "**Applies to:** see pricing [tiers](https://aka.ms/AzureMapsPricingTier).\n\nThe Get Data for Bounding Box API provides elevation data at equally spaced locations within a bounding box. A bounding box is defined by the coordinates for two corners (southwest, northeast) and then subsequently divided into rows and columns.\n\n Elevations are returned for the vertices of the grid created by the rows and columns. Up to 2,000 elevations can be returned in a single request. The returned elevation values are ordered, starting at the southwest corner, and then proceeding west to east along the row. At the end of the row, it moves north to the next row, and repeats the process until it reaches the far northeast corner.",
"operationId": "Elevation_GetDataForBoundingBox",
"x-ms-examples": {
"Successfully retrieve elevation data within a bounding box": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"parameters": {
"format": "json",
"api-version": "1.0",
"bounds": "-121.66853362143818, 46.84646479863713,-121.65853362143818, 46.85646479863713",
"bounds": [
-121.66853362143818,
46.84646479863713,
-121.65853362143818,
46.85646479863713
],
"rows": 2,
"columns": 3
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"parameters": {
"format": "json",
"api-version": "1.0",
"points": "-121.66853362143818, 46.84646479863713|-121.68853362143818, 46.856464798637127"
"points": [
"-121.66853362143818, 46.84646479863713|-121.68853362143818, 46.856464798637127"
]
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"parameters": {
"format": "json",
"api-version": "1.0",
"lines": "-121.66853362143818, 46.84646479863713|-121.67853362143818, 46.85646479863713",
"lines": [
"-121.66853362143818, 46.84646479863713|-121.67853362143818, 46.85646479863713"
],
"samples": 5
},
"responses": {
Expand Down

0 comments on commit a541fc5

Please sign in to comment.