You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/tutorial-ev-routing.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ In this tutorial, you will:
33
33
34
34
* An [Azure Maps account]
35
35
* A [subscription key]
36
+
- An [Azure storage account]
36
37
37
38
> [!NOTE]
38
39
> For more information on authentication in Azure Maps, see [manage authentication in Azure Maps].
@@ -163,9 +164,9 @@ for loc in range(len(searchPolyResponse["results"])):
163
164
reachableLocations.append(location)
164
165
```
165
166
166
-
## Upload the reachable range and charging points to Azure Maps Data service
167
+
## Upload the reachable range and charging points
167
168
168
-
It's helpful to visualize the charging stations and the boundary for the maximum reachable range of the electric vehicle on a map. To do so, upload the boundary data and charging stations data as geojson objects to Azure Maps Data service. Use the [Data Upload API].
169
+
It's helpful to visualize the charging stations and the boundary for the maximum reachable range of the electric vehicle on a map. Follow the steps outlined in the [How to create data registry] article to upload the boundary data and charging stations data as geojson objects to your [Azure storage account] then register them in your Azure Maps account. Make sure to make a note of the unique identifier (`udid`) value, you will need it. The `udid` is is how you reference the geojson objects you uploaded into your Azure storage account from your source code.
169
170
170
171
To upload the boundary and charging point data to Azure Maps Data service, run the following two cells:
171
172
@@ -231,7 +232,7 @@ poiUdid = getPoiUdid["udid"]
231
232
232
233
## Render the charging stations and reachable range on a map
233
234
234
-
After you've uploaded the data to the data service, call the Azure Maps [Get Map Image service]. This service is used to render the charging points and maximum reachable boundary on the static map image by running the following script:
235
+
After you've uploaded the data to the Azure storage account, call the Azure Maps [Get Map Image service]. This service is used to render the charging points and maximum reachable boundary on the static map image by running the following script:
235
236
236
237
```python
237
238
# Get boundaries for the bounding box.
@@ -327,7 +328,7 @@ routeData = {
327
328
328
329
## Visualize the route
329
330
330
-
To help visualize the route, you first upload the route data as a geojson object to Azure Maps Data service. To do so, use the Azure Maps [Data Upload API]. Then, call the rendering service, [Get Map Image API]), to render the route on the map, and visualize it.
331
+
To help visualize the route, follow the steps outlined in the [How to create data registry] article to upload the route data as a geojson object to your [Azure storage account] then register it in your Azure Maps account. Make sure to make a note of the unique identifier (`udid`) value, you will need it. The `udid` is is how you reference the geojson objects you uploaded into your Azure storage account from your source code. Then, call the rendering service, [Get Map Image API], to render the route on the map, and visualize it.
331
332
332
333
To get an image for the rendered route on the map, run the following script:
333
334
@@ -384,7 +385,6 @@ To explore the Azure Maps APIs that are used in this tutorial, see:
384
385
385
386
*[Get Route Range]
386
387
*[Post Search Inside Geometry]
387
-
*[Data Upload]
388
388
*[Render - Get Map Image]
389
389
*[Post Route Matrix]
390
390
*[Get Route Directions]
@@ -405,8 +405,8 @@ To learn more about Azure Notebooks, see
0 commit comments