Skip to content

Commit 6eb1a29

Browse files
author
Jon Jablonski
committed
Merge branch 'main' of github.com:UCSB-Library-Research-Data-Services/from-maps-to-analysis
2 parents fb1d676 + 3afeb16 commit 6eb1a29

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

01_make_map.qmd

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We will end up with a map something like this:
2626
this](https://arcg.is/0iD4jS0){target="_blank"}
2727

2828
![Preliminary version of the possible
29-
result](images/export-finish-map.png){width="90%" fig-align="center"}
29+
result](images/export-finish-map.png){#fig-prelim width="90%" fig-align="center"}
3030

3131
(it would be nice if we could put our map into an iframe, but github
3232
doesn't support that)
@@ -50,7 +50,7 @@ A brief tour of the interface.
5050

5151
**Sign on with your UCSB NetID**. You may need to enter "ucsb" into the url box. **Do not use the ArcGIS login!** This is for users who do NOT have a UCSB Net ID.
5252

53-
![ArcGIS Online login page for UCSB users](images/arcgis-login.png){width=40% fig-align="center"}
53+
![ArcGIS Online login page for UCSB users](images/arcgis-login.png){#fig-arcgis width=40% fig-align="center"}
5454

5555
You should have a similar landing page indicating that you are using the ArcGIS online under the UCSB license. _You may need to authenticate with DUO on your phone_.
5656

@@ -62,7 +62,7 @@ content published by users on your campus.
6262

6363
Along the top of the page, is the main tool bar.
6464

65-
![ArcGIS Online main menu bar](images/main-menu-bar.png){width="90%" fig-align="center"}
65+
![ArcGIS Online main menu bar](images/main-menu-bar.png){#fig-menubar width="90%" fig-align="center"}
6666

6767
- `Home` will take you to the main landing page when you first sign
6868
in.
@@ -89,7 +89,7 @@ Along the top of the page, is the main tool bar.
8989

9090
Open a new, empty map by clicking `Map` on your top menu bar.
9191

92-
![Opening a new empty map](images/new_empty_map.png){size="50%" fig-align="center"}
92+
![Opening a new empty map](images/new_empty_map.png){#fig-emptymap size="50%" fig-align="center"}
9393

9494
### Map main components
9595

@@ -104,7 +104,7 @@ In the Map Viewer there is a menu bar in the left column. This is where you can
104104

105105
The goal of a basemap, is to provide some context in terms of location and/or thematic. In ArcGIS online, a new map will always open with a basemap. Esri has about 20 different basemaps available. We will start with the default: the **Topographic** basemap.
106106

107-
![Default basemap](images/current-basemap.png){width="90%" fig-align="center"}
107+
![Default basemap](images/current-basemap.png){#fig-defaultmap width="90%" fig-align="center"}
108108

109109
In general, make sure you choose a basemap that is easy to follow and is accurate in relation to the goal of your map. Avoid using busy basemaps that provide a lot of information not be relevant to the purpose of your map and can become confusing as you add your other layers on top of it.
110110

@@ -132,15 +132,15 @@ With that introduction, you now have the opportunity to start creating your own
132132
From the **Layers** panel, click on the add layer button. Search
133133
`My organization` for 'UCSB OSM Paths'. There should be only one result.
134134

135-
![Adding a layer](images/Workshop1/Step1/add-a-layer.gif){width="90%"}
135+
![Adding a layer](images/Workshop1/Step1/add-a-layer.gif){#fig-addinglayer width="90%"}
136136

137137
::: {.callout-tip collapse="true" title="Challenge: Repeat
138138
the above steps to add the feature layer `bike_racks_ucsb` to
139139
your map."}
140140

141141
### Import points layer (bike racks)
142142

143-
![Add UCSB bike racks layer](images/Workshop1/Step1/select-feature-point-layer.png){width="90%"}
143+
![Add UCSB bike racks layer](images/Workshop1/Step1/select-feature-point-layer.png){#fig-bikeracks width="90%"}
144144
:::
145145

146146

@@ -149,7 +149,7 @@ the `UCSB Campus Buildings` layer from there."}
149149

150150
### Add a layer via Groups
151151

152-
![Add UCSB buildings layer](images/Workshop1/Step1/select-feature-polygon-layer.png){width="90%"}
152+
![Add UCSB buildings layer](images/Workshop1/Step1/select-feature-polygon-layer.png){#fig-buildinglayers width="90%"}
153153
:::
154154

155155
### Reorder layers
@@ -173,7 +173,7 @@ For our map, the recommended order from top to bottom should be:
173173

174174
To reorder the layers, click and hold on a layer name in the Layers panel, drag it to the desired position, and release.
175175

176-
![Reorder feature layers](images/Workshop1/Step1/reorder-layers.gif){width="90%" fig-align="center"}
176+
![Reorder feature layers](images/Workshop1/Step1/reorder-layers.gif){#fig-reorderlayers width="90%" fig-align="center"}
177177

178178

179179
### Accessing the underlying data
@@ -183,7 +183,7 @@ To reorder the layers, click and hold on a layer name in the Layers panel, drag
183183
For example, if you click on the three dots on the right of a feature layer
184184
you can access their *attribute table* by selecting `Show table`.
185185

186-
![Attribute table of UCSB buildings layer](images/Workshop1/Step1/attribute-table.png){width="90%"}
186+
![Attribute table of UCSB buildings layer](images/Workshop1/Step1/attribute-table.png){#fig-attribute width="90%"}
187187

188188
We will see later how you can leverage these attributes to set the
189189
symbology of a layer according to categories or quantities provided by
@@ -197,7 +197,7 @@ the folder icon in the left menu bar and then selecting the `Save as`
197197
option.
198198

199199

200-
![Save as dialog in ArcGIS Online](images/Workshop1/Step1/save-as.png){width="40%" fig-align="center"}
200+
![Save as dialog in ArcGIS Online](images/Workshop1/Step1/save-as.png){#fig-saveas width="40%" fig-align="center"}
201201

202202
In there, you can add a title, tags, and a short description of your map.
203203
:::
@@ -221,7 +221,7 @@ From the menu, we can select several categories of symbols. Let's select
221221
the `Government` category and look for a bike parking icon. Click on the
222222
`Done` button to apply the changes and return to the symbol style panel.
223223

224-
![Selecting a bike parking symbol from the Government category](images/Workshop1/Step2/symbology-select-symbol.png){width="90%"
224+
![Selecting a bike parking symbol from the Government category](images/Workshop1/Step2/symbology-select-symbol.png){#fig-bikeparking width="90%"
225225
fig-align="center"}
226226

227227
To change the size of the symbol, we can use the `Size` slider to reduce
@@ -234,7 +234,7 @@ our case, we selected 5.68 px.
234234

235235
In ArcGIS Online, every time you select the "Adjust size automatically" option, it will reset the size slider to a default value. So make sure to select your desired size **after** enabling that option.
236236

237-
![Symbol size settings with adjust size automatically option](images/Workshop1/Step2/symbology-point-size.png){width="70%"}
237+
![Symbol size settings with adjust size automatically option](images/Workshop1/Step2/symbology-point-size.png){#fig-symbolsize width="70%"}
238238
:::
239239

240240

@@ -252,13 +252,13 @@ by changing the style of the `UCSB Campus Buildings` layer.
252252
- Select the attribute `b_use`, which stands for building use, and
253253
click on `Add`.
254254

255-
![Adjusting symbology style by attribute](images/Workshop1/Step2/symbology-by-attribute.png){width="90%" fig-align="center"}
255+
![Adjusting symbology style by attribute](images/Workshop1/Step2/symbology-by-attribute.png){#fig-symbolstyle width="90%" fig-align="center"}
256256

257257
As a result, you will see that the buildings are now filled with
258258
different colors based on their use. You can further customize the
259259
colors by clicking on the color ramp and selecting a different one.
260260

261-
![Buildings colored by their use category](images/Workshop1/Step2/symbology-by-attribute-result.png){width="90%" fig-align="center"}
261+
![Buildings colored by their use category](images/Workshop1/Step2/symbology-by-attribute-result.png){#fig-buildingscolor width="90%" fig-align="center"}
262262

263263
::: {.callout-warning collapse="true" title="b_temp? b_phase"}
264264

@@ -286,12 +286,12 @@ To increase the visibility of the bike paths, we can increase the width
286286
of the lines by editing the `Width` slider on the `Symbol style` panel.
287287
We selected 3.75 px for this example.
288288

289-
![Setting transparency by maxspeed attribute](images/Workshop1/Step2/symbology-transparency-by-attribute.png){width="90%"
289+
![Setting transparency by maxspeed attribute](images/Workshop1/Step2/symbology-transparency-by-attribute.png){#fig-transparency width="90%"
290290
fig-align="center"}
291291

292292
Here is the final result of our symbology adjustments:
293293

294-
![Map with all symbology adjustments applied](images/Workshop1/Step2/symbology-final-result.png){width="90%"
294+
![Map with all symbology adjustments applied](images/Workshop1/Step2/symbology-final-result.png){#fig-allsymbols width="90%"
295295
fig-align="center"}
296296

297297
### Select a better basemap
@@ -301,14 +301,14 @@ almost ready map. However, the current basemap (Topographic) is a bit
301301
too busy and makes it hard to see the features we added. Let's change it
302302
to a simpler basemap using the `Basemap` option in the left menu bar.
303303

304-
![Basemap option in the left menu bar](images/Workshop1/Step2/basemap-menu-location.png){width="40%"
304+
![Basemap option in the left menu bar](images/Workshop1/Step2/basemap-menu-location.png){#fig-basemapoption width="40%"
305305
fig-align="center"}
306306

307307
From the basemap gallery, we can select a simpler basemap. For this
308308
example, we selected the `Light Gray Canvas` basemap, which provides a
309309
clean background that makes our features stand out.
310310

311-
![Map with Light Gray Canvas basemap](images/Workshop1/Step2/basemap-light-gray-canvas.png){width="90%"
311+
![Map with Light Gray Canvas basemap](images/Workshop1/Step2/basemap-light-gray-canvas.png){#fig-lightgray width="90%"
312312
fig-align="center"}
313313

314314
**Don't forget to save your map after making these changes!**
@@ -324,13 +324,13 @@ purposes here, though, we will take the more straightforward approach of
324324
simply drawing on the map. The hand-drawn features will appear in what
325325
ArcGIS Online calls a "sketch layer."
326326

327-
![Sketch layer option in the left menu](images/Workshop1/Step3/drawing-sketch-layer-menu.png){width="20%"
327+
![Sketch layer option in the left menu](images/Workshop1/Step3/drawing-sketch-layer-menu.png){#fig-sketchlayer width="40%"
328328
fig-align="center"}
329329

330330
After adding the sketch layer to your workspace, a new menu will appear
331331
in the right column with drawing tools and configuration options.
332332

333-
![Sketch layer drawing tools menu](images/Workshop1/Step3/drawing-sketch-bar-menu.png){width="40%" fig-align="center"}
333+
![Sketch layer drawing tools menu](images/Workshop1/Step3/drawing-sketch-bar-menu.png){#fig-drawingtools width="40%" fig-align="center"}
334334

335335
### Drawing points in a sketch layer
336336

@@ -346,7 +346,7 @@ In our example, we add the following settings to the point symbol:
346346
- Size: 48 px
347347
- Vector marker (background): Blue (#2132cf)
348348

349-
![Point symbol customization settings](images/Workshop1/Step3/drawing-point-vector.png){width="90%" fig-align="center"}
349+
![Point symbol customization settings](images/Workshop1/Step3/drawing-point-vector.png){#fig-pointsymbol width="90%" fig-align="center"}
350350

351351
### Challenge: Drawing lines and circles in a sketch layer
352352

@@ -356,7 +356,7 @@ From the sketch layer menu, select the line drawing tool. Click on the
356356
map to start drawing the line, and click again to add vertices.
357357
Double-click to finish the line.
358358

359-
![Drawing a line on the map](images/Workshop1/Step3/drawing-line-vector.gif){width="90%" fig-align="center"}
359+
![Drawing a line on the map](images/Workshop1/Step3/drawing-line-vector.gif){#fig-drawingline width="90%" fig-align="center"}
360360

361361
You can customize the line symbol in the sketch layer menu before adding
362362
it to the map. In our example, we add the following settings to the line
@@ -366,7 +366,7 @@ symbol:
366366
- Dotted line pattern
367367
- Color: Light blue (#00c8ff)
368368

369-
![Line symbol customization settings](images/Workshop1/Step3/drawing-line-style.png){width="90%" fig-align="center"}
369+
![Line symbol customization settings](images/Workshop1/Step3/drawing-line-style.png){#fig-linesymbol width="90%" fig-align="center"}
370370

371371
- Draw a circle where you think there should be a bike parking lot but
372372
isn't.
@@ -382,7 +382,7 @@ as in the animated figure.
382382
- Fill color: Red (#d13434)
383383
- Fill transparency: 38%
384384

385-
![Drawing a circle on the map](images/Workshop1/Step3/drawing-circle-vector.gif){width="90%"
385+
![Drawing a circle on the map](images/Workshop1/Step3/drawing-circle-vector.gif){#fig-drawingcircle width="90%"
386386
fig-align="center"}
387387

388388
Finally, let's rename the sketch layer to "Annotations" to better
@@ -408,7 +408,8 @@ layer to reduce visual clutter.
408408
To do that, you need to look for the `Print` option in the left menu
409409
bar.
410410

411-
![Print option in the left menu bar](images/Workshop1/Step4/export-print-menu.png){fig-align="center"}
411+
![Print option in the left menu bar](images/Workshop1/Step4/export-print-menu.png){#fig-printoption width="40%"
412+
fig-align="center"}
412413

413414
For exporting the map you have two options:
414415

@@ -437,7 +438,7 @@ and select to include legend, north arrow, and scale bar.
437438
Adjust the zoom and position of the map in the preview window to ensure
438439
everything is visible and well-framed.
439440

440-
![Map export layout configuration panel](images/Workshop1/Step4/export-layout-menu.png){width="90%"
441+
![Map export layout configuration panel](images/Workshop1/Step4/export-layout-menu.png){#fig-exportlayout width="90%"
441442
fig-align="center"}
442443

443444
## Step 5: Share your map
@@ -450,15 +451,15 @@ The result will be list on the `Exports` panel, where you can save the
450451
file to your computer by clicking on the three dots next to the export
451452
and selecting `Save as`.
452453

453-
![Saving exported map from the Exports panel](images/Workshop1/Step4/export-save-as.png){width="40%"
454+
![Saving exported map from the Exports panel](images/Workshop1/Step4/export-save-as.png){#fig-savingmap width="40%"
454455
fig-align="center"}
455456

456457
This will save the exported map to you ArcGIS Online content. You can
457458
access it later from the `Content` menu in the top menu bar. The new
458459
item will be available as an Image file that you can download to your
459460
computer.
460461

461-
![Downloading the exported map image from ArcGIS Online content](images/Workshop1/Step4/export-download-image.png){width="90%"
462+
![Downloading the exported map image from ArcGIS Online content](images/Workshop1/Step4/export-download-image.png){#fig-downloadmap width="90%"
462463
fig-align="center"}
463464

464465
**NOTE**: Public sharing is a little more complicated, it requires that all of

0 commit comments

Comments
 (0)