Skip to content

Commit 3afeb16

Browse files
authored
Merge pull request #31 from UCSB-Library-Research-Data-Services/fix/28
Fix/28
2 parents f04b503 + 244e0fb commit 3afeb16

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:"
138138
Repeat 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

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

151151
### Add a layer via Groups
152152

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

156156
### Reorder layers
@@ -174,7 +174,7 @@ For our map, the recommended order from top to bottom should be:
174174

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

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

179179

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

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

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

200200

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

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

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

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

236236
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.
237237

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

241241

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

336336
### Drawing points in a sketch layer
337337

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

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

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

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

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

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

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

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

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

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

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

414415
For exporting the map you have two options:
415416

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)