opengeospatial / 2D-Tile-Matrix-Set

OGC 2D Tile Matrix Set & TileSet Metadata standard
https://www.ogc.org/standards/tms
Apache License 2.0
8 stars 10 forks source link

Require links (at least one with rel "item") #45

Closed tschaub closed 2 years ago

tschaub commented 2 years ago

Requirement 9.E of the latest OGC API - Tiles draft spec says that at least one "item" type link is required:

The tileset metadata SHALL include at least one templated link to individual tiles using the relation type "item", and the template parameters {tileMatrix}, and {tileRow} and {tileCol}. Those variables are to be substituted by their respective valid values to obtain the URL to a tile.

The links description in the schema ("Possible link 'rel' values are: 'dataset'...") also looks outdated (doesn't mention "item"), but I haven't changed that here (I'm still not clear on how the schema in this repo and the spec in the ogcapi-tiles repo are related and kept in sync).

jerstlouis commented 2 years ago

The TileSet metadata is also intended for an offline tile repository. I'm not sure if we intended to still require links in that case (e.g. to specify the tile file pattern template).

jerstlouis commented 2 years ago

SWG 2021-08-12: We discussed this and first impression is that even for offline tileset use cases we could require a link, e.g.:

"href" : "./{tileMatrix}/{tileRow}/{tileCol}.png"

so we will approve and merge this pull request making links required.