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
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Azure Maps is a portfolio of geospatial service APIs that are natively integrate
17
17
18
18
The Azure Maps REST APIs can be called from languages such as Python and R to enable geospatial data analysis and machine learning scenarios. Azure Maps offers a robust set of [routing APIs](https://docs.microsoft.com/rest/api/maps/route) that allow users to calculate routes between several data points. The calculations are based on various conditions, such as vehicle type or reachable area.
19
19
20
-
In this tutorial, you walk through a scenario to help a driver whose electric vehicle battery charge is lowto find the closest possible charging station, based on the drive time from the vehicle's location.
20
+
In this tutorial, you walk help a driver whose electric vehicle battery is low. The driver needs to find the closest possible charging station from the vehicle's location.
21
21
22
22
In this tutorial, you will:
23
23
@@ -34,7 +34,7 @@ In this tutorial, you will:
34
34
35
35
To complete this tutorial, you first need to create an Azure Maps account and get your primary key (subscription key).
36
36
37
-
To create an Azure Maps account subscription in the S1 pricing tier, follow instructions in [Create an account](quick-demo-map-app.md#create-an-account-with-azure-maps) to create an Azure Maps account subscription with S1 pricing tier.
37
+
To create an Azure Maps account subscription, follow instructions in [Create an account](quick-demo-map-app.md#create-an-account-with-azure-maps). You need an Azure Maps account subscription with the S1 price tier.
38
38
39
39
To get the primary subscription key for your account, follow the instructions in [get primary key](quick-demo-map-app.md#get-the-primary-key-for-your-account).
40
40
@@ -59,15 +59,15 @@ To follow along with this tutorial, you need to create an Azure notebook project
59
59
60
60
1. Select **Create**.
61
61
62
-
1. After your project is created, download the[Jupyter notebook document file](https://github.com/Azure-Samples/Azure-Maps-Jupyter-Notebook/blob/master/AzureMapsJupyterSamples/Tutorials/EV%20Routing%20and%20Reachable%20Range/EVrouting.ipynb) from the [Azure Maps Jupyter notebook repository](https://github.com/Azure-Samples/Azure-Maps-Jupyter-Notebook).
62
+
1. After your project is created, download this[Jupyter notebook document file](https://github.com/Azure-Samples/Azure-Maps-Jupyter-Notebook/blob/master/AzureMapsJupyterSamples/Tutorials/EV%20Routing%20and%20Reachable%20Range/EVrouting.ipynb) from the [Azure Maps Jupyter notebook repository](https://github.com/Azure-Samples/Azure-Maps-Jupyter-Notebook).
63
63
64
64
1. In the projects list on the **My Projects** page, select your project, and then select **Upload** to upload the Jupyter notebook document file.
1. Upload the file from your computer, and then select **Done**.
69
69
70
-
1. After the upload has finished successfully, your file is displayed on your project page. Select the file to open it as a Jupyter notebook.
70
+
1. After the upload has finished successfully, your file is displayed on your project page. Double-click on the file to open it as a Jupyter notebook.
71
71
72
72
To help you better understand the functionality that's implemented in the notebook file, we recommend that you run the code in the notebook one cell at a time. You can run the code in each cell by selecting the **Run** button at the top of the notebook app.
73
73
@@ -90,14 +90,15 @@ To run the code in the notebook, install packages at the project level by doing
90
90
91
91
## Load the required modules and frameworks
92
92
93
-
To load all the required modules and frameworks, run the following script:
93
+
To load all the required modules and frameworks, run the following script inside the Python interpreter. The Python interpreter inside Azure Notebooks can be accessed from the terminal icon inside your project. Once the terminal starts, type "python" to enter the Python interpreter. Notice "python" is typed in all lower-cased letters. The python version inside the interpreter must be version 3.5.3 or higher, aiohttp is only compatible with Python 3.5.3 or higher.
94
94
95
95
```python
96
96
import time
97
97
import aiohttp
98
98
import urllib.parse
99
99
from IPython.display import Image, display
100
100
```
101
+
After your run the script, enter "Ctrl" and "Z" together, to leave the Python interpreter and go back to the console.
0 commit comments