Skip to content

Commit 5b5c4e3

Browse files
authored
Added 3D Tiles #11 (#13)
1 parent 85b8fd8 commit 5b5c4e3

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010

11+
- 3D Tiles
12+
1113
### Changed
1214

1315
### Deprecated
@@ -18,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1820

1921
## [1.0.0]
2022

21-
- Initial release for WMTS and XYZ.
23+
- Initial release for TileJSON, WMTS and XYZ.
2224

2325
[Unreleased]: <https://github.com/stac-extensions/web-map-links/compare/v1.0.0...HEAD>
2426
[1.0.0]: <https://github.com/stac-extensions/web-map-links/tree/v1.0.0>

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This document explains the Web Map Links Extension to the
1212
It allows to provide links to web map services for visualization purposes.
1313

1414
The following services are supported:
15+
- [3D Tiles](#3d-tiles)
1516
- [OGC WMTS](#ogc-wmts)
1617
- [TileJSON](#tilejson)
1718
- [XYZ](#xyz)
@@ -33,6 +34,16 @@ An attribution field is not defined as part of this extension, but it is RECOMME
3334
in the top-level object of the document via the `attribution` field as defined in
3435
[OGC API - Commons - Part 1](http://docs.ogc.org/DRAFTS/19-072.html#landing-page).
3536

37+
### 3D Tiles
38+
39+
Links to a [3D Tiles](https://docs.ogc.org/cs/18-053r2/18-053r2.html) implementation (versions 1.x).
40+
41+
| Field Name | Type | Description |
42+
| --------------- | -------------------- | ----------- |
43+
| rel | string | **REQUIRED**. Must be set to `3d-tiles`. |
44+
| href | string | **REQUIRED**. Link to a tileset. |
45+
| type | string | Recommended to be set to `application/json`. |
46+
3647
### OGC WMTS
3748

3849
Links to a [OGC Web Map Tile Service](https://www.ogc.org/standards/wmts) (WMTS) implementation (versions 1.x).
@@ -81,7 +92,7 @@ Links to a [TileJSON](https://github.com/mapbox/tilejson-spec) document.
8192
| ---------- | ------ | ----------- |
8293
| rel | string | **REQUIRED**. Must be set to `tilejson`. |
8394
| href | string | **REQUIRED**. Link to the valid TileJSON document. |
84-
| type | string | Recommended to be set to `application/json` |
95+
| type | string | Recommended to be set to `application/json`. |
8596

8697
### General
8798

examples/collection.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@
6464
"rel": "tilejson",
6565
"title": "TileJSON",
6666
"type": "application/json"
67+
},
68+
{
69+
"href": "https://storage.googleapis.com/open-cogs/planet-stac/cocabamba-peru/3d-geofox.ai/3DTiles/tileset.json",
70+
"rel": "3d-tiles",
71+
"title": "3D Tiles",
72+
"type": "application/json"
6773
}
6874
]
6975
}

examples/item.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
"rel": "tilejson",
6969
"title": "TileJSON",
7070
"type": "application/json"
71+
},
72+
{
73+
"href": "https://storage.googleapis.com/open-cogs/planet-stac/cocabamba-peru/3d-geofox.ai/3DTiles/tileset.json",
74+
"rel": "3d-tiles",
75+
"title": "3D Tiles",
76+
"type": "application/json"
7177
}
7278
],
7379
"assets": {}

json-schema/schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"enum": [
3737
"xyz",
3838
"wmts",
39-
"tilejson"
39+
"tilejson",
40+
"3d-tiles"
4041
]
4142
}
4243
}

0 commit comments

Comments
 (0)