Skip to content

Commit 21e1da6

Browse files
committed
Completed TOC
1 parent 6faf2f4 commit 21e1da6

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
* [Description](#description)
66
* [System Requirements](#sys-requirements)
77
* [How to Install](#install)
8-
8+
* [How to use](#how-to)
9+
* [Tutorial: Generating a grid and its Plus Codes](#tutorial)
910

1011
## <a name="description"></a>Description
1112

@@ -23,7 +24,7 @@ The open location code library for Python must be installed in your python envir
2324

2425
## <a name="install"></a>How to Install
2526

26-
## Clone your Python Environment
27+
### Clone your Python Environment
2728

2829
Open ArcGIS Pro, and bring up the menu. That will let you access your Python options, and create a new Python environment. We need that since we need to install the open location code API, and that won't be allowed in ArcGIS Pro's default environment.
2930
- Open ArcGIS Pro
@@ -39,7 +40,7 @@ Once cloning is over, select your new environment as your default environment wh
3940
![SelectEnvironemnt](images/select-python-environment.png)
4041

4142

42-
## Install the open location code API
43+
### Install the open location code API
4344

4445
Open a command line prompt, and use the `cd` command to navigate in the subdirectory of your newly created environment. In my case: `D:\arcgis-pro-envs\arcgispro-py3-plus-code\Scripts`. Then run the following command line:
4546

@@ -51,7 +52,7 @@ Once it is done, the command line should look like that.
5152

5253
For more instructions about the open location code API, go to: https://github.com/google/open-location-code/tree/master/python
5354

54-
# Creating a folder connection to the tool:
55+
### Creating a folder connection to the tool:
5556

5657
Create a folder connection, as per the screenshot below, and navigate where you have downloaded and extracted the tool.
5758

@@ -61,7 +62,7 @@ You will then be able to access the tool
6162

6263
![pip](images/folder-connection-2.png)
6364

64-
# How to use
65+
## <a name="how-to"></a>How to use
6566

6667
Use the tool box in ArcGIS Pro. There is built-in help in the tool metadata, and the tool is configured to guide you and minimize input errors.
6768

@@ -105,11 +106,9 @@ level=5 will force the grid precision to be eleven digit OLC codes (.000025° x
105106
level=6 will force the grid precision to be twelve digit OLC codes (.000005° x 0.0000078125°);
106107
```
107108

108-
# Tutorial - Generate a Grid at level 3 and compute the Plus Codes of the polygons
109-
110-
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.
109+
## <a name="tutorial"></a>Tutorial - Generate a Grid at level 3 and compute the Plus Codes of the polygons
111110

112-
## Generate the grid
111+
ArcGIS Pro is a powerful piece of software. 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.
113112

114113
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
115114

images/add-field.png

903 KB
Loading

images/create-fishnet.png

1.16 MB
Loading

images/fishnet-gcs.png

18.6 KB
Loading

images/fishnet-output.png

876 KB
Loading

images/run-tool.png

897 KB
Loading

images/tool-result-labels.png

550 KB
Loading

0 commit comments

Comments
 (0)