Skip to content

Commit f6ac443

Browse files
Merge pull request #250977 from stevemunk/tutorial-ev-routing-depricated
tutorial-ev-routing: Replace data upload instructions with data registry instructions.
2 parents b4ed596 + d032db6 commit f6ac443

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/azure-maps/tutorial-ev-routing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ In this tutorial, you will:
3333

3434
* An [Azure Maps account]
3535
* A [subscription key]
36+
- An [Azure storage account]
3637

3738
> [!NOTE]
3839
> 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"])):
163164
reachableLocations.append(location)
164165
```
165166

166-
## Upload the reachable range and charging points to Azure Maps Data service
167+
## Upload the reachable range and charging points
167168

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.
169170

170171
To upload the boundary and charging point data to Azure Maps Data service, run the following two cells:
171172

@@ -231,7 +232,7 @@ poiUdid = getPoiUdid["udid"]
231232

232233
## Render the charging stations and reachable range on a map
233234

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:
235236

236237
```python
237238
# Get boundaries for the bounding box.
@@ -327,7 +328,7 @@ routeData = {
327328

328329
## Visualize the route
329330

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.
331332

332333
To get an image for the rendered route on the map, run the following script:
333334

@@ -384,7 +385,6 @@ To explore the Azure Maps APIs that are used in this tutorial, see:
384385

385386
* [Get Route Range]
386387
* [Post Search Inside Geometry]
387-
* [Data Upload]
388388
* [Render - Get Map Image]
389389
* [Post Route Matrix]
390390
* [Get Route Directions]
@@ -405,8 +405,8 @@ To learn more about Azure Notebooks, see
405405
[Azure Maps Jupyter Notebook repository]: https://github.com/Azure-Samples/Azure-Maps-Jupyter-Notebook
406406
[Azure Maps REST APIs]: /rest/api/maps
407407
[Azure Notebooks]: https://notebooks.azure.com
408-
[Data Upload API]: /rest/api/maps/data-v2/upload
409-
[Data Upload]: /rest/api/maps/data-v2/upload
408+
[Azure storage account]: /azure/storage/common/storage-account-create?tabs=azure-portal
409+
[How to create data registry]: how-to-create-data-registries.md
410410
[Get Map Image API]: /rest/api/maps/render/getmapimage
411411
[Get Map Image service]: /rest/api/maps/render/getmapimage
412412
[Get Route Directions API]: /rest/api/maps/route/getroutedirections

0 commit comments

Comments
 (0)