Skip to content

Commit d52ada6

Browse files
committed
Proposition @asteiner-swistopo about <time> param
1 parent efc3640 commit d52ada6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/3d-tiles.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use the following parameters to define your request:
1010
| --------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1111
| layerName | ch.swisstopo.swissbuildings3d.3d | The technical name of the 3D layer. Possible values are: `ch.swisstopo.swissbuildings3d.3d`, `ch.swisstopo.swisstlm3d.3d`, `ch.swisstopo.swissnames3d.3d`, `ch.swisstopo.vegetation.3d` |
1212
| Version | v1 | API version. `v1` means tiles generated with 3D Tiles |
13-
| Time | 20250501 | Date of tileset generation in ISO-8601 (YYYYMMDD) |
13+
| Time (optional) | 20250501 | Date of tileset generation in ISO-8601 (YYYYMMDD). If you omit this parameter, the most recent tile is returned. |
1414
| Z | 7 | Zoom level |
1515
| X | 54 | Tile column index |
1616
| Y | 21 | Tile row index |
@@ -28,11 +28,10 @@ It can be used directly by [CesiumJS](https://github.com/CesiumGS/cesium).
2828

2929
<ApiCodeBlock url="https://3d.geo.admin.ch/<LayerName>/<Version>/<Time>/tileset.json" method="GET" />
3030

31-
f you always want the most rectent cesium tiles, you can leave `/<Time>` away in the path towards `tileset.json`.
3231

3332
| Parameter | Example | Description |
3433
| --------------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35-
| Time (optional) | 20250728 | Date of tile generation in ISO-8601 (YYYYMMDD). |
34+
| Time (optional) | 20250728 | Date of tilegeneration in ISO-8601(YYYYMMDD). If you omit this parameter, the most recent tile is returned. |
3635
| layerName | ch.swisstopo.swissbuildings3d.3d | The technical name of the 3D layer. Possible values are: `ch.swisstopo.swissbuildings3d.3d`, `ch.swisstopo.swisstlm3d.3d`, `ch.swisstopo.swissnames3d.3d`, `ch.swisstopo.vegetation.3d` |
3736

3837
A metadata request for the Vegetation dataset:

docs/terrain-service.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ The `layer.json` file provides metadata that describes the availability and stru
2828

2929
<ApiCodeBlock url="https://3d.geo.admin.ch/ch.swisstopo.terrain.3d/v1/<Time>/layer.json" method="GET" />
3030

31-
If you always want the most rectent terrain tiles, you can leave `/<Time>` away in the path towards `layer.json`.
3231

3332

3433
| Parameter | Example | Description |
3534
| --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------- |
36-
| Time (optional) | | Date of tile generation in ISO-8601 (YYYYMMDD). If no date is provided, it returns the metadata for the most recent terrain tiles. |
35+
| Time (optional) | | Date of tile generation in ISO-8601 (YYYYMMDD). If you omit this parameter, the most recent tile is returned. |
3736

3837
Example of a metadata request for the date `20250101`:
3938

0 commit comments

Comments
 (0)