Skip to content

Commit efc3640

Browse files
committed
Feedback to 3D from ltrea
1 parent 28d76bc commit efc3640

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

docs/3d-tiles.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ 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 | 20240501 | Date of tileset generation in (ISO-8601, e.g. YYYYMMDD) |
13+
| Time | 20250501 | Date of tileset generation in ISO-8601 (YYYYMMDD) |
1414
| Z | 7 | Zoom level |
1515
| X | 54 | Tile column index |
1616
| Y | 21 | Tile row index |
1717

1818
A 3D tile request for swissBUILDINGS3D dataset:
1919

2020
```http
21-
curl -o demo.b3dm https://3d.geo.admin.ch/ch.swisstopo.swissbuildings3d.3d/v1/20240501/7/54/21.b3dm
21+
curl -o demo.b3dm https://3d.geo.admin.ch/ch.swisstopo.swissbuildings3d.3d/v1/20250501/11/799/503.b3dm
2222
```
2323

2424
## Metadata
@@ -28,9 +28,11 @@ 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`.
32+
3133
| Parameter | Example | Description |
3234
| --------------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
33-
| Time (optional) | 20201203 | Date of tile generation in (ISO-8601). |
35+
| Time (optional) | 20250728 | Date of tile generation in ISO-8601 (YYYYMMDD). |
3436
| 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` |
3537

3638
A metadata request for the Vegetation dataset:

docs/terrain-service.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Use the following parameters to define your request:
1111
| ---------- | --------------- | -------------------------------------------------- |
1212
| ServerName | 3d.geo.admin.ch | |
1313
| Version | v1 | v1 means terrain tiles generated with cesium tiles |
14-
| Time | 20201203 | Date of tile generation in (ISO-8601). |
14+
| Time | 20250101 | Date of tile generation in ISO-8601 (YYYYMMDD). |
1515
| Zoom | 12 | Zoom level |
1616
| X | 4309 | The longitude index |
1717
| Y | 3111 | The latitude index |
1818

1919
An example of a terrain tile request:
2020

2121
```http
22-
curl -o demo.terrain https://3d.geo.admin.ch/ch.swisstopo.terrain.3d/v1/20201203/7/136/98.terrain?v=3924.0.0
22+
curl -o demo.terrain https://3d.geo.admin.ch/ch.swisstopo.terrain.3d/v1/20250101/11/2130/1550.terrain?v=1.43646.0
2323
```
2424

2525
## Metadata
@@ -28,14 +28,17 @@ 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`.
32+
33+
3134
| Parameter | Example | Description |
3235
| --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------- |
33-
| Time (optional) | 20201203 | Date of tile generation in (ISO-8601). If no date is provided, it returns the metadata for the most recent terrain tiles. |
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. |
3437

35-
Example of a metadata request for the date `20201203`:
38+
Example of a metadata request for the date `20250101`:
3639

3740
<ExampleCodeBlock
38-
request="curl --compressed https://3d.geo.admin.ch/ch.swisstopo.terrain.3d/v1/20201203/layer.json"
41+
request="curl --compressed https://3d.geo.admin.ch/ch.swisstopo.terrain.3d/v1/20250101/layer.json"
3942
example='{
4043
"attribution": "Put something there",
4144
"available": [...],

0 commit comments

Comments
 (0)