Skip to content

Commit 38d60a7

Browse files
authored
add docs on /woodychange (#27)
* add docs on /woodychange * add /woodychangeyears
1 parent d015109 commit 38d60a7

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

afm_tile.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,42 @@ curl -X GET \
105105
"https://tiles.afm.cibolabs.com/nbar/20250821/7/115/74"
106106
```
107107

108+
### /woodychange
109+
110+
Get an image of woody change. This is a thematic image where
111+
each class relates to a different kind of woody change. See the response
112+
from the `/legend` endpoint for `woodychange` for information on
113+
which numbers relate to what woody change type and the colours to be
114+
used.
115+
116+
Note that the first path parameter is a year. Valid years can be
117+
retrieved using the `/woodychangeyears` endpoint (below).
118+
119+
GET https://tiles.afm.cibolabs.com/woodychange/2022/11/1879/1193
120+
121+
```bash
122+
curl -X GET \
123+
--output "woody_change_2022_11_1879_1193.png" \
124+
-H "Authorization: Bearer ${TOKEN}" \
125+
-H "Accept: image/png" \
126+
"https://tiles.afm.cibolabs.com/woodychange/2022/11/1879/1193"
127+
```
128+
129+
### /woodychangeyears
130+
131+
Get a list of valid years that can be used with the `/woodychange`
132+
endpoint
133+
134+
GET https://tiles.afm.cibolabs.com/woodychangeyears
135+
136+
```bash
137+
curl -X GET \
138+
--output "woody_change_years.json" \
139+
-H "Authorization: Bearer ${TOKEN}" \
140+
-H "Accept: application/json" \
141+
"https://tiles.afm.cibolabs.com/woodychangeyears"
142+
```
143+
108144

109145
### /legend
110146

0 commit comments

Comments
 (0)