Skip to content

Commit 9ab8a86

Browse files
committed
Added a tutorial
1 parent a46ca36 commit 9ab8a86

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ In order to use the tool, double click on the tool `Get Plus Code`
6565

6666
The tool with then guide you through the list of parameters to provide:
6767

68-
![pip](images/parameters.png)
68+
![params](images/parameters.png)
6969

7070

7171

@@ -97,4 +97,39 @@ level=3 will force the grid precision to be eight digit OLC codes (.0025° x .00
9797
level=4 will force the grid precision to be ten digit OLC codes (.000125° x .000125°). This is the default house level precision;
9898
level=5 will force the grid precision to be eleven digit OLC codes (.000025° x .00003125°);
9999
level=6 will force the grid precision to be twelve digit OLC codes (.000005° x 0.0000078125°);
100-
```
100+
```
101+
102+
# Tutorial - Generate a Grid at level 3 and compute the Plus Codes of the polygons
103+
104+
ArcGIS Pro is a powerful tool. You can use some built-in tools to generate a grid representing plus codes areas and compute the plus code for the centroid of each polygon using the tool we provide.
105+
106+
## Generate the grid
107+
108+
We're going to use the tool `Create Fishnet`. The full documentation can be found here: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-fishnet.htm
109+
110+
In our tutorial, let's generate a level 3 grid for Ottawa, ON, Canada.
111+
112+
![fishnet-input](images/create-fishnet.png)
113+
114+
Be sure in the section `Environments` to search your spheroid to be WGS84 (you can search by wkid, using the code 4326)
115+
116+
![gcs](images/fishnet-gcs.png)
117+
118+
This will generate our grid for Ottawa:
119+
120+
![fishnet-output](images/fishnet-output.png)
121+
122+
Use the Add Field tool. Here we have level 3 polygon, so the encoding requires 8 characters, and an additional character `+`. So our field length is 9:
123+
124+
![add-field](images/add-field.png)
125+
126+
Then use our tool to populate the new field named `PLUS_CODE`:
127+
128+
![run-tool](images/run-tool.png)
129+
130+
Then turn on labelling to admire the results:
131+
132+
![tool-result-labels](images/tool-result-labels.png)
133+
134+
135+

0 commit comments

Comments
 (0)