Skip to content

Commit d015109

Browse files
authored
update to afm.cibolabs.com (#26)
1 parent 8315309 commit d015109

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

afm_tile.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ Use the AFM Tile API to retrieve web map tiles using the
66
CiboLabs's [National Comparison app](https://www.cibolabs.com.au/products/national-comparison/)
77
demonstrates what is possible with the AFM Tile API.
88

9-
See our [online AFM Tile API docs](https://tiles.national.cibolabs.com/swagger)
9+
See our [online AFM Tile API docs](https://tiles.afm.cibolabs.com/swagger)
1010
for the list of endpoints.
1111

12+
**Note:** The older https://tiles.national.cibolabs.com/ end URL is still available
13+
but will be retired soon in favour of the newer https://tiles.afm.cibolabs.com. Existing
14+
code should be updated.
15+
1216
## Examples
1317

1418
These examples use the curl program in a Linux terminal
@@ -42,14 +46,14 @@ See [/getimagedates](afm.md#getimagedates) for details.
4246
Get a Total Standing Dry Matter (TSDM) web map tile for 21 August 2025 at
4347
zoom level 7 and tile grid X=115, Y=74.
4448

45-
GET https://tiles.national.cibolabs.com/tsdm/20250821/7/115/74
49+
GET https://tiles.afm.cibolabs.com/tsdm/20250821/7/115/74
4650

4751
```bash
4852
curl -X GET \
4953
--output "tsdm_20250821_7_115_74.png" \
5054
-H "Authorization: Bearer ${TOKEN}" \
5155
-H "Accept: image/png" \
52-
"https://tiles.national.cibolabs.com/tsdm/20250821/7/115/74"
56+
"https://tiles.afm.cibolabs.com/tsdm/20250821/7/115/74"
5357
```
5458

5559
### /percentiletsdm
@@ -58,14 +62,14 @@ Get an image tile of the TSDM decile. Each pixel is coloured according
5862
to its decile rank (compared to a reference dataset) of
5963
Total Standing Dry Matter (TSDM).
6064

61-
GET https://tiles.national.cibolabs.com/percentiletsdm/20250821/7/115/74
65+
GET https://tiles.afm.cibolabs.com/percentiletsdm/20250821/7/115/74
6266

6367
```bash
6468
curl -X GET \
6569
--output "percentiletsdm_20250821_7_115_74.png" \
6670
-H "Authorization: Bearer ${TOKEN}" \
6771
-H "Accept: image/png" \
68-
"https://tiles.national.cibolabs.com/percentiletsdm/20250821/7/115/74"
72+
"https://tiles.afm.cibolabs.com/percentiletsdm/20250821/7/115/74"
6973
```
7074

7175
### /fractionalcover
@@ -76,29 +80,29 @@ the proportions of these three fractions:
7680
- green: fraction of green vegetation cover
7781
- blue: fraction of dead vegetation cover
7882

79-
GET https://tiles.national.cibolabs.com/fractionalcover/20250821/7/115/74
83+
GET https://tiles.afm.cibolabs.com/fractionalcover/20250821/7/115/74
8084

8185
```bash
8286
curl -X GET \
8387
--output "fractionalcover_20250821_7_115_74.png" \
8488
-H "Authorization: Bearer ${TOKEN}" \
8589
-H "Accept: image/png" \
86-
"https://tiles.national.cibolabs.com/fractionalcover/20250821/7/115/74"
90+
"https://tiles.afm.cibolabs.com/fractionalcover/20250821/7/115/74"
8791
```
8892

8993
### /nbar
9094

9195
Get an image tile of image reflectance. NBAR is a technical term meaning
9296
nadir-view, BRDF-adjusted surface reflectance.
9397

94-
GET https://tiles.national.cibolabs.com/nbar/20250821/7/115/74
98+
GET https://tiles.afm.cibolabs.com/nbar/20250821/7/115/74
9599

96100
```bash
97101
curl -X GET \
98102
--output "nbar_20250821_7_115_74.png" \
99103
-H "Authorization: Bearer ${TOKEN}" \
100104
-H "Accept: image/png" \
101-
"https://tiles.national.cibolabs.com/nbar/20250821/7/115/74"
105+
"https://tiles.afm.cibolabs.com/nbar/20250821/7/115/74"
102106
```
103107

104108

@@ -120,15 +124,15 @@ No colour table is required because it is a reflectance image.
120124

121125
**request**
122126

123-
GET https://tiles.national.cibolabs.com/legend/tsdm
127+
GET https://tiles.afm.cibolabs.com/legend/tsdm
124128

125129

126130
```bash
127131
curl -X GET \
128132
--output "tsdm_legend.json" \
129133
-H "Authorization: Bearer ${TOKEN}" \
130134
-H "Accept: application/json" \
131-
"https://tiles.national.cibolabs.com/legend/tsdm"
135+
"https://tiles.afm.cibolabs.com/legend/tsdm"
132136
```
133137

134138
**response**

0 commit comments

Comments
 (0)