Skip to content

Commit cb97e29

Browse files
committed
Add recommendation regarding the attribution
1 parent 78b1185 commit cb97e29

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- **Title:** Web Map Links
44
- **Identifier:** <https://stac-extensions.github.io/web-map-links/v1.0.0/schema.json>
5-
- **Field Name Prefix:** none, but each relation type has potentially a distinct prefix for additional data (e.g. `wmts`)
5+
- **Field Name Prefix:** none, but each relation type has potentially a distinct prefix for additional data (e.g. `wmts` and `xyz`)
66
- **Scope:** Item, Catalog, Collection
77
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Proposal
88
- **Owner**: @m-mohr
@@ -23,6 +23,10 @@ This extension only extends the [Link Object](https://github.com/radiantearth/st
2323
used in all STAC entities (Catalogs, Collections, Items). It requires specific relation types to be set for the `rel` field in the
2424
Link Object.
2525

26+
An attribution field is not defined as part of this extension, but it is RECOMMENDED to provide an attribution
27+
in the top-level object of the document via the `attribution` field as defined in
28+
[OGC API - Commons - Part 1](http://docs.ogc.org/DRAFTS/19-072.html#landing-page).
29+
2630
### OGC WMTS
2731

2832
Links to a [OGC Web Map Tile Service](https://www.ogc.org/standards/wmts) (WMTS) implementation (versions 1.x).
@@ -32,7 +36,7 @@ Links to a [OGC Web Map Tile Service](https://www.ogc.org/standards/wmts) (WMTS)
3236
| rel | string | **REQUIRED**. Must be set to `wmts`. |
3337
| href | string | **REQUIRED**. Link to the WMTS, without any WMTS specific query parameters. |
3438
| wmts:layer | string\|\[string] | **REQUIRED**. The layers to show on the map, either a list of layer names or a single layer name. |
35-
| wmts:dimensions | Map\<string, string> | Any additional dimension parameters to add to the request, usually added as query parameters. |
39+
| wmts:dimensions | Map\<string, string> | Any additional dimension parameters to add to the request as key-value-pairs, usually added as query parameters. |
3640

3741
### XYZ
3842

examples/collection.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
]
2929
}
3030
},
31+
"attribution": "&copy; 2022 The Example Corp.",
3132
"links": [
3233
{
3334
"href": "https://example.com/examples/collection.json",

examples/item.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
3
5353
]
5454
},
55+
"attribution": "&copy; 2022 The Example Corp.",
5556
"links": [
5657
{
5758
"href": "https://example.com/examples/item.json",

0 commit comments

Comments
 (0)