Skip to content

Commit c493407

Browse files
committed
Add information about where to get a bbox for GFW script
1 parent 8574d48 commit c493407

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

f/connectors/globalforestwatch/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ curl -X POST "https://data-api.globalforestwatch.org/auth/apikey" \
4848
> [!NOTE]
4949
> The API key expires after one year. You will need to retrieve a new key afterwards. In the future, we can look at doing this programmatically.
5050
51+
## Getting a Bounding Box
52+
53+
Your bounding box needs to be in a three-ring format:
54+
55+
```json
56+
[[[-180, -90], [-180, 90], [180, 90], [180, -90], [-180, -90]]]
57+
```
58+
59+
If you don't already have a bounding box, you can use the following tool to get one: https://boundingbox.klokantech.com/
60+
61+
Draw a box on the map, and then change the format (in the dropdown on the bottom left corner) to "GeoJSON" and copy the coordinates.
62+
5163
## 📚 Reference
5264

5365
* Available datasets from the GFW API Documentation: https://data-api.globalforestwatch.org/datasets

0 commit comments

Comments
 (0)