From 2b9535fbb218f4b065bb9d0d72d546ac26df305b Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Mon, 19 Jun 2023 11:06:14 +0200 Subject: [PATCH] Added 3D Tiles #11 --- CHANGELOG.md | 4 +++- README.md | 13 ++++++++++++- examples/collection.json | 6 ++++++ examples/item.json | 6 ++++++ json-schema/schema.json | 3 ++- 5 files changed, 29 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81c0392..ddf8f18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- 3D Tiles + ### Changed ### Deprecated @@ -18,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.0.0] -- Initial release for WMTS and XYZ. +- Initial release for TileJSON, WMTS and XYZ. [Unreleased]: [1.0.0]: diff --git a/README.md b/README.md index 2f1a4ba..f2bbb64 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ This document explains the Web Map Links Extension to the It allows to provide links to web map services for visualization purposes. The following services are supported: +- [3D Tiles](#3d-tiles) - [OGC WMTS](#ogc-wmts) - [TileJSON](#tilejson) - [XYZ](#xyz) @@ -33,6 +34,16 @@ An attribution field is not defined as part of this extension, but it is RECOMME in the top-level object of the document via the `attribution` field as defined in [OGC API - Commons - Part 1](http://docs.ogc.org/DRAFTS/19-072.html#landing-page). +### 3D Tiles + +Links to a [3D Tiles](https://docs.ogc.org/cs/18-053r2/18-053r2.html) implementation (versions 1.x). + +| Field Name | Type | Description | +| --------------- | -------------------- | ----------- | +| rel | string | **REQUIRED**. Must be set to `3d-tiles`. | +| href | string | **REQUIRED**. Link to a tileset. | +| type | string | Recommended to be set to `application/json`. | + ### OGC WMTS 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. | ---------- | ------ | ----------- | | rel | string | **REQUIRED**. Must be set to `tilejson`. | | href | string | **REQUIRED**. Link to the valid TileJSON document. | -| type | string | Recommended to be set to `application/json` | +| type | string | Recommended to be set to `application/json`. | ### General diff --git a/examples/collection.json b/examples/collection.json index c234106..fcecb98 100644 --- a/examples/collection.json +++ b/examples/collection.json @@ -64,6 +64,12 @@ "rel": "tilejson", "title": "TileJSON", "type": "application/json" + }, + { + "href": "https://storage.googleapis.com/open-cogs/planet-stac/cocabamba-peru/3d-geofox.ai/3DTiles/tileset.json", + "rel": "3d-tiles", + "title": "3D Tiles", + "type": "application/json" } ] } diff --git a/examples/item.json b/examples/item.json index 903e68c..a5caedd 100644 --- a/examples/item.json +++ b/examples/item.json @@ -68,6 +68,12 @@ "rel": "tilejson", "title": "TileJSON", "type": "application/json" + }, + { + "href": "https://storage.googleapis.com/open-cogs/planet-stac/cocabamba-peru/3d-geofox.ai/3DTiles/tileset.json", + "rel": "3d-tiles", + "title": "3D Tiles", + "type": "application/json" } ], "assets": {} diff --git a/json-schema/schema.json b/json-schema/schema.json index 4b5eb7f..5f40e0f 100644 --- a/json-schema/schema.json +++ b/json-schema/schema.json @@ -36,7 +36,8 @@ "enum": [ "xyz", "wmts", - "tilejson" + "tilejson", + "3d-tiles" ] } }