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: docs/user_guide/tutorials/01-intro/index.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,15 @@ We will explore the JupyterGIS user interface to help you become familiar with i
42
42
43
43
The elements shown in the figure above are:
44
44
45
-
1.The application Launcher helps you to select which application you want to start e.g. a Notebook, a Console, and another application such as a Terminal or open a GIS file (which can be either a JupyterGIS file or a QGIS file).
46
-
2. Left Sidebar which contains a file browser, a list of tabs in the main work and of running kernels and terminals, the command palette, the table of contents, the extension manager, and the JupyterGIS extension which allows you to see the GIS layers list.
47
-
3. GIS Layers List / Browser Panel
48
-
4. Right Sidebar showing the property inspector (active in notebooks), the debugger, and GIS object properties, annotation and filters.
45
+
1.Application Launcher: Where you select which application you want to start - e.g. a Notebook, a Console, another application such as a Terminal, or open a GIS file (which can be either a JupyterGIS file or a QGIS file).
46
+
2. Left Sidebar: Contains a file browser, panels that show a list of open tabs in the main work space and for running kernels and terminals, collaboration features, the table of contents (for notebooks or other files with headers), the extension manager, and the JupyterGIS extension which allows you to see the GIS layers list.
47
+
3. GIS Layers List / Browser Panel.
48
+
4. Right Sidebar: Contains the property inspector (active in notebooks), kernal usage, the debugger, and GIS object properties, annotation and filters.
49
49
5. The GIS object properties, annotations and filters of a selected GIS layer.
50
-
6. The Jupyter toolbar menu which you will use with Jupyter Notebooks.
51
-
7. The Log console (which you can use for debugging).
50
+
6. The Jupyter Toolbar Menu: Used with Jupyter Notebooks.
51
+
7. The Log Console: Used for debugging.
52
52
53
-
## Adding your first layers
53
+
## Adding Your First Layers
54
54
55
55
We will start the JupyterGIS application and create a basic map.
56
56
@@ -62,7 +62,7 @@ Launch JupyterGIS from your terminal or start an online version of JupyterGIS de
62
62
jupyter lab
63
63
```
64
64
65
-
### Add a vector Layer
65
+
### Add a Vector Layer
66
66
67
67
Follow along to add a vector layer available online.
68
68
@@ -72,11 +72,11 @@ Follow along to add a vector layer available online.
72
72
:class: attention
73
73
If you don't see **GIS File** (under the JupyterGIS icon) in the **Other** section of the application launcher, you may have an issue with the JupyterGIS installation or may have forgotten to install it. Please refer to the prerequisites at the top of this tutorial to continue.
74
74
:::
75
-
2. Open Layer Browser (see image below) and select for instance _OpenStreetMap.Mapnik_. An interactive map will appear and you will be able to zoom in and zoom out with your mouse.
75
+
2. Open Layer Browser (see image below) and select _OpenStreetMap.Mapnik_. An interactive map will appear and you will be able to zoom in and zoom out with your mouse.
3. Click on the **+** to add a user-defined layer and select "New Shapefile Layer" to add a new vector layer (stored as a shapefile).
78
78

79
-
4. Set the path of the new shapefile Layer to `https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-united-states-of-america-county/exports/shp` and click **Ok**.
79
+
4. Set the path of the new Shapefile Layer to an open source dataset of counties in the US - `https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-united-states-of-america-county/exports/shp` - and click **Ok**.
5. You will see the new Shapefile Layer on the map. When clicking on the **Custom Shapefile Layer** (see figure below), you will also see the details of the object properties on the right of the map. You can pan and zoom to focus on your area of interest, or automatically focus on your new data layer by right-clicking on the **Custom Shapefile Layer** and selecting "Zoom to Layer".
@@ -92,7 +92,7 @@ Let's rename the source called 'Custom Shapefile Source' to 'US Counties' so tha
92
92
:label: Rename-layer
93
93
:nonumber:
94
94
95
-
Rename the **Custom Shapefile Layer** with a meaningful name e.g., **US Counties** for the US County Shapefile Layer.
95
+
Rename the **Custom Shapefile Layer** with a meaningful name - e.g., **US Counties** for the US County Shapefile Layer.
96
96
97
97
```
98
98
@@ -103,11 +103,11 @@ Rename the **Custom Shapefile Layer** with a meaningful name e.g., **US Counties
103
103
104
104
:::{admonition} Ordering in the list of Sources versus Layers
105
105
:class: warning
106
-
Did you notice in the figures above that in the list of sources, the source for 'US Counties' appears before the source for 'OpenStreetMap.Mapmik'? In contrast, you can see the reverse order in the list of Layers.
106
+
Did you notice in the figures above that in the list of sources, the source for 'US Counties' appears before the source for 'OpenStreetMap.Mapmik'? By contrast, you can see the reverse order in the list of Layers.
107
107
The reason is that sources are ordered alphabetically, while layers are ordered based on the order in which they are added, with the top layer being the most recently added to your map.
108
108
:::
109
109
110
-
## Adding a new layer on top of an existing one
110
+
## Adding a New Layer on Top of an Existing One
111
111
112
112
Let's do an exercise to practice adding a new layer.
113
113
@@ -122,9 +122,9 @@ Let's do an exercise to practice adding a new layer.
122
122
```
123
123
2. Zoom over New-York (USA) and check if you can see the newly added layer.
124
124
3. Rename both the newly added layer and its corresponding source, e.g. 'NYC Roads'.
125
-
4. Let's customize this new layer by changing the color. In the GIS Layer/Browser Panel, select the top layer (corresponds to the last layer you added) and right click to **Edit Symbology**. Then change the **Stroke Color** to a color of your choice. You can also change the Stroke Width and check the result after pressing \*_OK_.
125
+
4. Let's customize this new layer by changing the color. In the GIS Layer/Browser Panel, select the top layer (corresponds to the last layer you added) and right click to **Edit Symbology**. Then change the **Stroke Color** to a color of your choice. You can also change the Stroke Width and check the result after clicking **Ok**.
126
126
5. In a similar way, you can edit the symbology of the 'US Counties' Shapefile Layer we added earlier and change the **Fill Color**, **Stroke Color** and **Stroke Width**.
127
-
6. Do you still see the roads in New-York? Try to adjust the **Opacity** value (default is 1) to a lower value for this Shapefile Layer. Can you see all your layers now?
127
+
6. Do you still see the roads in NewYork? Try to adjust the **Opacity** value (default is 1) to a lower value for this Shapefile Layer. Can you see all your layers now?
128
128
129
129
```{exercise-end}
130
130
@@ -133,7 +133,7 @@ Let's do an exercise to practice adding a new layer.
133
133
```{solution} add-vector-layer
134
134
:class: dropdown
135
135
136
-
After adding the new Shapefile Layer and zooming over New-York, you should have the following map:
136
+
After adding the new Shapefile Layer and zooming over NewYork, you should have the following map:
137
137

138
138
139
139
When you right click to edit the symbology, you should get the following pop-up menu:
0 commit comments