-
Notifications
You must be signed in to change notification settings - Fork 11
/
tileSet.json
124 lines (124 loc) · 4.28 KB
/
tileSet.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "Tile Set Metadata",
"description": "A resource describing a tileset based on the OGC TileSet Metadata Standard. At least one of the 'TileMatrixSet', or a link with 'rel' http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme",
"type": "object",
"required": ["dataType", "crs"],
"properties":
{
"title": {
"description": "A title for this tileset",
"type": "string"
},
"description": {
"description": "Brief narrative description of this tile set",
"type": "string"
},
"keywords": {
"description": "keywords about this tileset",
"type": "array",
"items":
{
"type": "string"
}
},
"version": {
"description": "Version of the Tile Set. Changes if the data behind the tiles has been changed",
"type": "string"
},
"pointOfContact": {
"description": "Useful information to contact the authors or custodians for the Tile Set",
"type": "string"
},
"attribution": {
"description": "Short reference to recognize the author or provider",
"type": "string"
},
"license": {
"description": "License applicable to the tiles",
"type": "string"
},
"accessConstraints": {
"description": "Restrictions on the availability of the Tile Set that the user needs to be aware of before using or redistributing the Tile Set",
"type": "string",
"default": "unclassified",
"enum": ["unclassified", "restricted", "confidential", "secret", "topSecret"]
},
"mediaTypes": {
"description": "Media types available for the tiles",
"type": "array",
"items":
{
"type": "string"
}
},
"dataType": { "allOf": [
{ "description": "Type of data represented in the tileset" },
{ "$ref": "dataType.json" }
] },
"tileMatrixSetLimits": {
"description": "Limits for the TileRow and TileCol values for each TileMatrix in the tileMatrixSet. If missing, there are no limits other that the ones imposed by the TileMatrixSet. If present the TileMatrices listed are limited and the rest not available at all",
"type": "array",
"items":
{
"$ref": "tileMatrixLimits.json"
}
},
"crs": { "allOf": [
{ "description": "Coordinate Reference System (CRS)" },
{ "$ref": "crs.json" }
] },
"epoch": {
"description": "Epoch of the Coordinate Reference System (CRS)",
"type": "number"
},
"boundingBox": { "allOf": [
{ "description": "Minimum bounding rectangle surrounding the tile matrix set, in the supported CRS" },
{ "$ref": "2DBoundingBox.json" }
] },
"created": { "allOf": [
{ "description": "When the Tile Set was first produced" },
{ "$ref": "timeStamp.json" }
] },
"updated": { "allOf": [
{ "description": "Last Tile Set change/revision" },
{ "$ref": "timeStamp.json" }
] },
"layers": {
"minItems": 1,
"type": "array",
"items":
{
"$ref": "geospatialData.json"
}
},
"style": { "allOf": [
{ "description": "Style involving all layers used to generate the tileset" },
{ "$ref": "style.json" }
] },
"centerPoint":
{ "allOf" : [
{ "description": "Location of a tile that nicely represents the tileset. Implementations may use this center value to set the default location or to present a representative tile in a user interface" },
{ "$ref": "tilePoint.json" }
] },
"tileMatrixSet":
{
"description": "Tile matrix set definition",
"$ref": "tileMatrixSet.json"
},
"tileMatrixSetURI":
{
"description": "Reference to a Tile Matrix Set on an official source for Tile Matrix Sets such as the OGC-NA definition server (http://www.opengis.net/def/tms). Required if the tile matrix set is registered on an open official source.",
"type": "string",
"format": "uri"
},
"links":
{
"description": "Links to related resources. Possible link 'rel' values are: 'http://www.opengis.net/def/rel/ogc/1.0/dataset' for a URL pointing to the dataset, 'item' for a URL template to get a tile; 'alternate' for a URL pointing to another representation of the TileSetMetadata (e.g a TileJSON file); 'http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme' for a definition of the TileMatrixSet; 'http://www.opengis.net/def/rel/ogc/1.0/geodata' for pointing to a single collection (if the tileset represents a single collection)",
"type": "array",
"items": {
"$ref": "link.json"
}
}
}
}