Skip to content

Commit c144031

Browse files
authored
Update post_processing.md (#138)
changed instructions to work with ArcGIS Pro
1 parent bb0fa2b commit c144031

File tree

1 file changed

+33
-43
lines changed

1 file changed

+33
-43
lines changed

docs/beginner_guide/post_processing.md

+33-43
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ species-level kelp extent from outputs from the Kelp-O-Matic tool. Final outputs
55
consist of polygon features (.shp) that contain species-level classification of
66
emergent canopy kelp present in drone imagery.
77

8-
These instructions assume a basic level of experience with the ArcMAP GIS interface. For
8+
These instructions assume a basic level of experience with ArcGIS Pro. For
99
questions,
1010
please contact [Luba Reshitnyk](email:luba.reshitnyk@hakai.org) at
1111
the [Hakai Institute](https://hakai.org).
@@ -20,7 +20,7 @@ the [Hakai Institute](https://hakai.org).
2020

2121
```mermaid
2222
graph TB
23-
A[/"Raw KoM output (.tif)"/]-- Open in ArcGIS -->B["Convert to polygon feature (raster to polygon)"];
23+
A[/"Raw KoM output (.tif)"/]-- Open in ArcGIS Pro -->B["Convert to polygon feature (raster to polygon)"];
2424
B-->edit
2525
subgraph edit [Edit]
2626
direction TB
@@ -35,10 +35,10 @@ graph TB
3535

3636
This section assumes that you have obtained output from the Kelp-O-Matic (.tif) and have
3737
a new
38-
instance of ArcMap (version 10.8). These same steps can be done using other GIS
38+
instance of ArcGIS Pro (3.4). These same steps can be done using other GIS
3939
software (e.g. QGIS)
4040

41-
??? tip "Tip: ArcMap Keyboard Shortcuts"
41+
??? tip "Tip: ArcGIS Pro Keyboard Shortcuts"
4242

4343
Keyboard shortcuts can make the editing process much faster. To enable some, go
4444
to `Customize > Customize Mode > Keyboard…`.
@@ -57,7 +57,7 @@ software (e.g. QGIS)
5757

5858
### Load Kelp-O-Matic Raster
5959

60-
Load the output `.tif` file from Kelp-O-Matic into ArcMap. The raster will have the
60+
Load the output `.tif` file from Kelp-O-Matic into ArcGIS Pro. The raster will have the
6161
following
6262
attributes:
6363

@@ -70,56 +70,48 @@ attributes:
7070

7171
### Convert to Polygons
7272

73-
Convert this raster into polygons using the `Raster to Polygon` tool in ArcMap.
73+
Convert this raster into polygons using the `Raster to Polygon` tool in ArcGIS Pro.
7474

75-
1. Uncheck "simplify polygons"
75+
1. Uncheck `simplify polygons`
7676
2. Leave the other defaults as they are
7777

7878
### Add New Attributes to Polygons
79-
80-
1. Add a new "area" field
81-
1. Right click layer in the table of contents
82-
2. Select `Open attribute table > Table options > Add field`
83-
1. Name = "area"
84-
2. Type = "float"
85-
3. Click `OK`
79+
#### Note - if you are exporting to GDB you don't need to calculate area
80+
81+
1. Add a new `area` and `species` field
82+
1. Right-click the layer in the Contents pane
83+
2. Select `Attribute Table`
84+
3. Click the `New Field` button in the Fields tab of the ribbon
85+
1. Name = `area`, Type = `Double`
86+
2. Name = `species`, Type = `Text`
87+
3. Click `Save` on the fields tab of the ribbon
8688
2. Calculate the area for each polygon
87-
1. Right-click the "area" header in the attribute table,
89+
1. Right-click the `area` header in the attribute table,
8890
select `Calculate Geometry...`
89-
1. Property = "area"
90-
2. Units = "square meters"
91+
1. Property = `area`
92+
2. Units = `square meters`
9193
3. Coordinate system = choose an appropriate projection that preserves area (
9294
e.g. NAD83 BC
9395
Albers Equal Area EPSG = 3005)
94-
4. Click "OK"
95-
3. Add a new "species" field
96-
1. Right click layer in the table of contents
97-
2. Select `Open attribute table > Table options > Add field`
98-
1. Name = "species"
99-
2. Type = "text"
100-
3. Click `OK`
96+
4. Click `OK`
10197

10298
### Editing and Data Cleaning
10399

104100
#### Delete small polygons that are unlikely to be kelp
105101

106-
1. Start editing this feature polygon layer
107-
1. In the Editor toolbar click `Editor > start editing`. Select the feature layer
108-
you will be
109-
editing
110-
2. Right click layer in the table of contents, Select `Open attribute table`.
102+
1. Right click layer in the table of contents, Select `Open attribute table`.
111103
Click `Select by attribute`
112-
3. Select features < 0.2 m2 by typing: `"area" < 0.2`
113-
4. Right click highlighted features in attribute table and click `Delete Selected`
114-
5. Save edits
104+
2. Select features < 0.2 m2 by typing: `"area" < 0.2`
105+
3. Right click highlighted features in attribute table and click `Delete Selected`
106+
4. Save edits
115107

116108
#### Manually delete non-kelp polygons
117109

118110
There may be areas where KoM classifier falsely detected kelp and these polygons need to
119111
be removed
120112
manually.
121113

122-
1. Select using the edit tool or Select by Lasso tool
114+
1. Select using the edit tool or `Select by Lasso` tool
123115
2. Delete the selected polygon(s)
124116
3. Save edits.
125117

@@ -144,24 +136,22 @@ worry about
144136
this step.
145137

146138
1. Select all polygon features classified as giant kelp by opening the attribute table
147-
and “select
148-
by attribute”. Select features representing giant kelp by typing: `"gridcode" = 2`.
149-
At the bottom
150-
of the attribute table click on the "Show selected records" tab.
151-
2. Right-click the "species" field you created earlier. Select "Field Calculator".
152-
3. In the text box enter "Macrocystis pyrifera" (with quotes included) and click OK.
139+
and `select by attribute`. Select features representing giant kelp by typing: `"gridcode" = 2`.
140+
At the bottom of the attribute table click on the `Show selected records` tab.
141+
2. Right-click the `species` field you created earlier. Select `Field Calculator`.
142+
3. In the text box enter `Macrocystis pyrifera` (with quotes included) and click OK.
153143
This will fill
154144
out that attribute for all the selected polygons.
155145

156-
Repeat steps 1 - 3 for bull kelp by using `"gridcode" = 3` and "Nereocystis luetkeana".
146+
Repeat steps 1 - 3 for bull kelp by using `"gridcode" = 3` and `Nereocystis luetkeana`.
157147

158148
1. Review all the polygon species classification and manually change ones that the KoM
159149
classifier
160-
misclassified by changing the text in the "species" field for that polygon feature.
150+
misclassified by changing the text in the `species` field for that polygon feature.
161151
2. Save edits.
162-
3. Delete the "gridcode" attribute once you are done.
152+
3. Delete the `gridcode` attribute once you are done.
163153
4. Save edits.
164154

165155
### Export Data
166156

167-
That's it! You can now export your data a shapefile and give it an appropriate name.
157+
That's it! You can now export your data a shapefile or gdb feature class and give it an appropriate name.

0 commit comments

Comments
 (0)