@basemaps/landing 6.46.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/build/__tests__/config.debug.test.d.ts +0 -1
- package/build/__tests__/config.debug.test.js +11 -10
- package/build/__tests__/config.debug.test.js.map +1 -1
- package/build/__tests__/config.test.d.ts +0 -1
- package/build/__tests__/config.test.js +5 -4
- package/build/__tests__/config.test.js.map +1 -1
- package/build/__tests__/geojson.test.d.ts +0 -1
- package/build/__tests__/geojson.test.js +6 -5
- package/build/__tests__/geojson.test.js.map +1 -1
- package/build/__tests__/map.config.test.d.ts +0 -1
- package/build/__tests__/map.config.test.js +66 -65
- package/build/__tests__/map.config.test.js.map +1 -1
- package/build/__tests__/tile.matrix.test.d.ts +0 -1
- package/build/__tests__/tile.matrix.test.js +11 -10
- package/build/__tests__/tile.matrix.test.js.map +1 -1
- package/build/attribution.d.ts +8 -11
- package/build/attribution.js +145 -66
- package/build/attribution.js.map +1 -1
- package/build/components/copyable.d.ts +1 -2
- package/build/components/copyable.js +27 -18
- package/build/components/copyable.js.map +1 -1
- package/build/components/daterange.d.ts +0 -1
- package/build/components/daterange.js +11 -7
- package/build/components/daterange.js.map +1 -1
- package/build/components/debug.d.ts +13 -2
- package/build/components/debug.js +273 -78
- package/build/components/debug.js.map +1 -1
- package/build/components/layer.switcher.dropdown.d.ts +1 -2
- package/build/components/layer.switcher.dropdown.js +43 -29
- package/build/components/layer.switcher.dropdown.js.map +1 -1
- package/build/components/layout.footer.d.ts +0 -1
- package/build/components/layout.footer.js +7 -2
- package/build/components/layout.footer.js.map +1 -1
- package/build/components/layout.header.d.ts +1 -2
- package/build/components/layout.header.js +44 -23
- package/build/components/layout.header.js.map +1 -1
- package/build/components/link.d.ts +0 -1
- package/build/components/link.js +1 -1
- package/build/components/link.js.map +1 -1
- package/build/components/map.d.ts +14 -4
- package/build/components/map.js +221 -84
- package/build/components/map.js.map +1 -1
- package/build/components/map.switcher.d.ts +1 -2
- package/build/components/map.switcher.js +80 -31
- package/build/components/map.switcher.js.map +1 -1
- package/build/config.d.ts +0 -1
- package/build/config.debug.d.ts +6 -1
- package/build/config.debug.js +6 -0
- package/build/config.debug.js.map +1 -1
- package/build/config.js +4 -8
- package/build/config.js.map +1 -1
- package/build/config.layer.d.ts +31 -2
- package/build/config.layer.js +14 -6
- package/build/config.layer.js.map +1 -1
- package/build/config.map.d.ts +6 -6
- package/build/config.map.js +95 -29
- package/build/config.map.js.map +1 -1
- package/build/debug.map.d.ts +2 -3
- package/build/debug.map.js +57 -23
- package/build/debug.map.js.map +1 -1
- package/build/global.d.ts +3 -3
- package/build/index.d.ts +0 -1
- package/build/index.js.map +1 -1
- package/build/tile.matrix.d.ts +0 -1
- package/build/tile.matrix.js +12 -0
- package/build/tile.matrix.js.map +1 -1
- package/build/url.d.ts +4 -1
- package/build/url.js +10 -8
- package/build/url.js.map +1 -1
- package/build/webp.d.ts +0 -1
- package/build/webp.js.map +1 -1
- package/dist/docs/404.html +849 -0
- package/dist/docs/assets/images/favicon.png +0 -0
- package/dist/docs/assets/javascripts/bundle.6c14ae12.min.js +29 -0
- package/dist/docs/assets/javascripts/bundle.6c14ae12.min.js.map +7 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.ar.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.da.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.de.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.du.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.el.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.es.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.fi.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.fr.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.he.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.hi.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.hu.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.hy.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.it.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.ja.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.jp.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.kn.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.ko.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.multi.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.nl.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.no.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.pt.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.ro.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.ru.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.sa.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.sv.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.ta.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.te.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.th.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.tr.min.js +18 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.vi.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/min/lunr.zh.min.js +1 -0
- package/dist/docs/assets/javascripts/lunr/tinyseg.js +206 -0
- package/dist/docs/assets/javascripts/lunr/wordcut.js +6708 -0
- package/dist/docs/assets/javascripts/swagger-initializer.js +20 -0
- package/dist/docs/assets/javascripts/swagger-ui-bundle.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-bundle.js.map +1 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js.map +1 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js.map +1 -0
- package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js.map +1 -0
- package/dist/docs/assets/javascripts/workers/search.f886a092.min.js +42 -0
- package/dist/docs/assets/javascripts/workers/search.f886a092.min.js.map +7 -0
- package/dist/docs/assets/stylesheets/main.fad675c6.min.css +1 -0
- package/dist/docs/assets/stylesheets/main.fad675c6.min.css.map +1 -0
- package/dist/docs/assets/stylesheets/palette.356b1318.min.css +1 -0
- package/dist/docs/assets/stylesheets/palette.356b1318.min.css.map +1 -0
- package/dist/docs/assets/stylesheets/swagger-ui-dark.css +833 -0
- package/dist/docs/assets/stylesheets/swagger-ui.css +3 -0
- package/dist/docs/assets/stylesheets/swagger-ui.css.map +1 -0
- package/dist/docs/assets/stylesheets/swagger-ui.js +2 -0
- package/dist/docs/assets/stylesheets/swagger-ui.js.map +1 -0
- package/dist/docs/assets/swagger-ui/oauth2-redirect.html +79 -0
- package/dist/docs/configuration/index.html +503 -0
- package/dist/docs/deployment/index.html +457 -0
- package/dist/docs/developer-guide/index.html +434 -0
- package/dist/docs/examples/_overview/index.html +413 -0
- package/dist/docs/examples/index.leaflet.xyz.3857.html +38 -0
- package/dist/docs/examples/index.maplibre.opacity.3857.html +215 -0
- package/dist/docs/examples/index.maplibre.vector.3857.html +45 -0
- package/dist/docs/examples/leaflet.xyz.3857/index.html +448 -0
- package/dist/docs/examples/maplibre.opacity.3857/index.html +625 -0
- package/dist/docs/examples/maplibre.vector.3857/index.html +455 -0
- package/dist/docs/index.css +3 -0
- package/dist/docs/index.html +623 -0
- package/dist/docs/linz-motif.svg +124 -0
- package/dist/docs/operator-guide/cog-quality/index.html +608 -0
- package/dist/docs/operator-guide/empty-tiles/index.html +513 -0
- package/dist/docs/operator-guide/gebco/index.html +479 -0
- package/dist/docs/operator-guide/index.html +413 -0
- package/dist/docs/operator-guide/quick-start/index.html +611 -0
- package/dist/docs/operator-guide/relief-shade/index.html +490 -0
- package/dist/docs/operator-guide/static/2023-06-26-gisborne-2023.png +0 -0
- package/dist/docs/operator-guide/static/quality__005_006_0_bilinear.webp +0 -0
- package/dist/docs/operator-guide/static/quality__005_006_0_lanczos.webp +0 -0
- package/dist/docs/operator-guide/static/quality__i6.bilinear.webp +0 -0
- package/dist/docs/operator-guide/static/quality__i6.cubic.webp +0 -0
- package/dist/docs/operator-guide/static/quality__i6.lanczos.webp +0 -0
- package/dist/docs/operator-guide/static/quality__resampling-overview.webp +0 -0
- package/dist/docs/operator-guide/static/quick-start__layers.png +0 -0
- package/dist/docs/operator-guide/static/relief__aerial.webp +0 -0
- package/dist/docs/operator-guide/static/relief__base.webp +0 -0
- package/dist/docs/operator-guide/static/relief__darken.webp +0 -0
- package/dist/docs/operator-guide/static/relief__lighten.webp +0 -0
- package/dist/docs/operator-guide/texture-shade/index.html +537 -0
- package/dist/docs/quick-start/index.html +419 -0
- package/dist/docs/sitemap.xml +98 -0
- package/dist/docs/sitemap.xml.gz +0 -0
- package/dist/docs/static/basemaps-service.png +0 -0
- package/dist/docs/static/tile-resize.png +0 -0
- package/dist/docs/static/workflow-run.png +0 -0
- package/dist/docs/user-guide/_get-started/index.html +602 -0
- package/dist/docs/user-guide/api-documentation/index.html +409 -0
- package/dist/docs/user-guide/api-documentation/swagger-c1884237.html +120 -0
- package/dist/docs/user-guide/swagger-api.json +393 -0
- package/dist/docs/user-guide/technical-documentation/index.html +930 -0
- package/package.json +17 -17
- package/CHANGELOG.md +0 -1374
- package/build/__tests__/config.debug.test.d.ts.map +0 -1
- package/build/__tests__/config.test.d.ts.map +0 -1
- package/build/__tests__/geojson.test.d.ts.map +0 -1
- package/build/__tests__/map.config.test.d.ts.map +0 -1
- package/build/__tests__/tile.matrix.test.d.ts.map +0 -1
- package/build/attribution.d.ts.map +0 -1
- package/build/components/copyable.d.ts.map +0 -1
- package/build/components/daterange.d.ts.map +0 -1
- package/build/components/debug.d.ts.map +0 -1
- package/build/components/layer.switcher.dropdown.d.ts.map +0 -1
- package/build/components/layout.footer.d.ts.map +0 -1
- package/build/components/layout.header.d.ts.map +0 -1
- package/build/components/link.d.ts.map +0 -1
- package/build/components/map.d.ts.map +0 -1
- package/build/components/map.switcher.d.ts.map +0 -1
- package/build/config.d.ts.map +0 -1
- package/build/config.debug.d.ts.map +0 -1
- package/build/config.layer.d.ts.map +0 -1
- package/build/config.map.d.ts.map +0 -1
- package/build/debug.map.d.ts.map +0 -1
- package/build/global.d.ts.map +0 -1
- package/build/index.d.ts.map +0 -1
- package/build/tile.matrix.d.ts.map +0 -1
- package/build/url.d.ts.map +0 -1
- package/build/webp.d.ts.map +0 -1
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.3",
|
|
3
|
+
"servers": [
|
|
4
|
+
{
|
|
5
|
+
"url": "https://basemaps.linz.govt.nz/v1"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"tags": [
|
|
9
|
+
{
|
|
10
|
+
"name": "WMTS",
|
|
11
|
+
"description": "LINZ Basemaps supports WMTS version 1.0.0. While best suited for use in GIS apps, WMTS can also be deployed in Javascript clients."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "XYZ",
|
|
15
|
+
"description": "LINZ Basemaps supports XYZ style requests, for integration of our APIs in mapping clients such as Leaflet and OpenLayers. Some of the latest versions of GIS apps also now support XYZ map tiles services."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Vector",
|
|
19
|
+
"description": "LINZ Basemaps supports StyleJSON version v8 for integration of our vector-based Topographic Basemap into GIS Applications (QGIS) and JavaScript clients."
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"paths": {
|
|
23
|
+
"/tiles/WMTSCapabilities.xml": {
|
|
24
|
+
"get": {
|
|
25
|
+
"tags": ["WMTS"],
|
|
26
|
+
"summary": "Get default WMTS",
|
|
27
|
+
"operationId": "get_wmts",
|
|
28
|
+
"parameters": [
|
|
29
|
+
{
|
|
30
|
+
"name": "api",
|
|
31
|
+
"in": "query",
|
|
32
|
+
"description": "LINZ Basemaps api key",
|
|
33
|
+
"required": true,
|
|
34
|
+
"schema": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"example": "d01hep5551e30kxb7w85hck49tp"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"responses": {
|
|
41
|
+
"200": {
|
|
42
|
+
"description": "successful operation"
|
|
43
|
+
},
|
|
44
|
+
"400": {
|
|
45
|
+
"description": "Invalid API Key supplied"
|
|
46
|
+
},
|
|
47
|
+
"5XX": {
|
|
48
|
+
"description": "Unexpected error"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"/tiles/{tileSet}/WMTSCapabilities.xml": {
|
|
54
|
+
"get": {
|
|
55
|
+
"tags": ["WMTS"],
|
|
56
|
+
"summary": "Get WMTS by the imagery tile set",
|
|
57
|
+
"operationId": "get_wmts_by_tileset",
|
|
58
|
+
"parameters": [
|
|
59
|
+
{
|
|
60
|
+
"name": "tileSet",
|
|
61
|
+
"in": "path",
|
|
62
|
+
"description": "Raster Imagery tile set",
|
|
63
|
+
"required": true,
|
|
64
|
+
"schema": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"example": "aerial"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "api",
|
|
71
|
+
"in": "query",
|
|
72
|
+
"description": "LINZ Basemaps api key",
|
|
73
|
+
"required": true,
|
|
74
|
+
"schema": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"example": "d01hep5551e30kxb7w85hck49tp"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"responses": {
|
|
81
|
+
"200": {
|
|
82
|
+
"description": "successful operation"
|
|
83
|
+
},
|
|
84
|
+
"400": {
|
|
85
|
+
"description": "Invalid API Key supplied"
|
|
86
|
+
},
|
|
87
|
+
"404": {
|
|
88
|
+
"description": "tileSet not found"
|
|
89
|
+
},
|
|
90
|
+
"5XX": {
|
|
91
|
+
"description": "Unexpected error"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"/tiles/{tileSet}/{tileMatrix}/WMTSCapabilities.xml": {
|
|
97
|
+
"get": {
|
|
98
|
+
"tags": ["WMTS"],
|
|
99
|
+
"summary": "Get WMTS by the imagery tile set and tile matrix",
|
|
100
|
+
"operationId": "get_wmts_by_tileset_tilematrix",
|
|
101
|
+
"parameters": [
|
|
102
|
+
{
|
|
103
|
+
"name": "tileSet",
|
|
104
|
+
"in": "path",
|
|
105
|
+
"description": "Raster Imagery tile set",
|
|
106
|
+
"required": true,
|
|
107
|
+
"schema": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"example": "aerial"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "api",
|
|
114
|
+
"in": "query",
|
|
115
|
+
"description": "LINZ Basemaps api key",
|
|
116
|
+
"required": true,
|
|
117
|
+
"schema": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
"example": "d01hep5551e30kxb7w85hck49tp"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "tileMatrix",
|
|
124
|
+
"in": "path",
|
|
125
|
+
"description": "Supported Raster Tiling schemes",
|
|
126
|
+
"required": true,
|
|
127
|
+
"schema": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"enum": ["WebMercatorQuad", "NZTM2000QUAD"]
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"responses": {
|
|
134
|
+
"200": {
|
|
135
|
+
"description": "successful operation"
|
|
136
|
+
},
|
|
137
|
+
"400": {
|
|
138
|
+
"description": "Invalid API Key supplied"
|
|
139
|
+
},
|
|
140
|
+
"404": {
|
|
141
|
+
"description": "tileSet or tileMatrix not found"
|
|
142
|
+
},
|
|
143
|
+
"5XX": {
|
|
144
|
+
"description": "Unexpected error"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"/tiles/{tileSet}/{tileMatrix}/{z}/{x}/{y}.{tileType}": {
|
|
150
|
+
"get": {
|
|
151
|
+
"tags": ["XYZ"],
|
|
152
|
+
"summary": "Get WMTS by the imagery tile set",
|
|
153
|
+
"operationId": "get_image_by_xyz",
|
|
154
|
+
"parameters": [
|
|
155
|
+
{
|
|
156
|
+
"name": "tileSet",
|
|
157
|
+
"in": "path",
|
|
158
|
+
"description": "Raster Imagery tile set",
|
|
159
|
+
"required": true,
|
|
160
|
+
"schema": {
|
|
161
|
+
"type": "string"
|
|
162
|
+
},
|
|
163
|
+
"example": "aerial"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "api",
|
|
167
|
+
"in": "query",
|
|
168
|
+
"description": "LINZ Basemaps api key",
|
|
169
|
+
"required": true,
|
|
170
|
+
"schema": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
},
|
|
173
|
+
"example": "d01hep5551e30kxb7w85hck49tp"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "tileMatrix",
|
|
177
|
+
"in": "path",
|
|
178
|
+
"description": "Supported Raster Tiling schemes",
|
|
179
|
+
"required": true,
|
|
180
|
+
"schema": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"enum": ["WebMercatorQuad", "NZTM2000QUAD"]
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"in": "path",
|
|
187
|
+
"name": "tileType",
|
|
188
|
+
"description": "Image Format",
|
|
189
|
+
"schema": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": ["webp", "png", "jpeg", "avif"]
|
|
192
|
+
},
|
|
193
|
+
"required": true
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"in": "path",
|
|
197
|
+
"name": "x",
|
|
198
|
+
"description": "horizontal location offset of the tile",
|
|
199
|
+
"schema": {
|
|
200
|
+
"type": "integer"
|
|
201
|
+
},
|
|
202
|
+
"required": true,
|
|
203
|
+
"example": 64586
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"in": "path",
|
|
207
|
+
"name": "y",
|
|
208
|
+
"description": "vertical location offset of the tile",
|
|
209
|
+
"schema": {
|
|
210
|
+
"type": "integer"
|
|
211
|
+
},
|
|
212
|
+
"required": true,
|
|
213
|
+
"example": 41036
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"in": "path",
|
|
217
|
+
"name": "z",
|
|
218
|
+
"description": "zoom level of the tile",
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "integer"
|
|
221
|
+
},
|
|
222
|
+
"required": true,
|
|
223
|
+
"example": 16
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"responses": {
|
|
227
|
+
"200": {
|
|
228
|
+
"description": "successful operation"
|
|
229
|
+
},
|
|
230
|
+
"400": {
|
|
231
|
+
"description": "Invalid API Key supplied"
|
|
232
|
+
},
|
|
233
|
+
"404": {
|
|
234
|
+
"description": "tileSet, tileMatrixnot, xyz or tileType not found"
|
|
235
|
+
},
|
|
236
|
+
"5XX": {
|
|
237
|
+
"description": "Unexpected error"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"/tiles/{tileSet}/{tileMatrix}/tile.json": {
|
|
243
|
+
"get": {
|
|
244
|
+
"tags": ["Vector"],
|
|
245
|
+
"summary": "Get vector tile json by the tileset and tileMatrix",
|
|
246
|
+
"operationId": "get_tile_json",
|
|
247
|
+
"parameters": [
|
|
248
|
+
{
|
|
249
|
+
"name": "api",
|
|
250
|
+
"in": "query",
|
|
251
|
+
"description": "LINZ Basemaps api key",
|
|
252
|
+
"required": true,
|
|
253
|
+
"schema": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"example": "d01hep5551e30kxb7w85hck49tp"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "tileSet",
|
|
260
|
+
"in": "path",
|
|
261
|
+
"description": "Vector Imagery tile set",
|
|
262
|
+
"required": true,
|
|
263
|
+
"schema": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
},
|
|
266
|
+
"example": "topographic"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "tileMatrix",
|
|
270
|
+
"in": "path",
|
|
271
|
+
"description": "Supported Raster Tiling schemes",
|
|
272
|
+
"required": true,
|
|
273
|
+
"schema": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"enum": ["WebMercatorQuad", "NZTM2000QUAD"]
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"responses": {
|
|
280
|
+
"200": {
|
|
281
|
+
"description": "successful operation"
|
|
282
|
+
},
|
|
283
|
+
"400": {
|
|
284
|
+
"description": "Invalid API Key supplied"
|
|
285
|
+
},
|
|
286
|
+
"404": {
|
|
287
|
+
"description": "tileSet or tileMatrix not found"
|
|
288
|
+
},
|
|
289
|
+
"5XX": {
|
|
290
|
+
"description": "Unexpected error"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"/styles/{styleName}.json": {
|
|
296
|
+
"get": {
|
|
297
|
+
"tags": ["Vector"],
|
|
298
|
+
"summary": "Get vector map style json by the style name",
|
|
299
|
+
"operationId": "get_style_json",
|
|
300
|
+
"parameters": [
|
|
301
|
+
{
|
|
302
|
+
"name": "api",
|
|
303
|
+
"in": "query",
|
|
304
|
+
"description": "LINZ Basemaps api key",
|
|
305
|
+
"required": true,
|
|
306
|
+
"schema": {
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"example": "d01hep5551e30kxb7w85hck49tp"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"in": "path",
|
|
313
|
+
"name": "styleName",
|
|
314
|
+
"description": "Style Name",
|
|
315
|
+
"schema": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"example": "topographic"
|
|
318
|
+
},
|
|
319
|
+
"required": true
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"responses": {
|
|
323
|
+
"200": {
|
|
324
|
+
"description": "successful operation"
|
|
325
|
+
},
|
|
326
|
+
"400": {
|
|
327
|
+
"description": "Invalid API Key supplied"
|
|
328
|
+
},
|
|
329
|
+
"404": {
|
|
330
|
+
"description": "tileSet or tileMatrix not found"
|
|
331
|
+
},
|
|
332
|
+
"5XX": {
|
|
333
|
+
"description": "Unexpected error"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"components": {
|
|
340
|
+
"parameters": {
|
|
341
|
+
"api": {
|
|
342
|
+
"name": "api",
|
|
343
|
+
"in": "query",
|
|
344
|
+
"description": "LINZ Basemaps api key",
|
|
345
|
+
"required": true,
|
|
346
|
+
"schema": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
},
|
|
349
|
+
"example": "d01hep5551e30kxb7w85hck49tp"
|
|
350
|
+
},
|
|
351
|
+
"tileSetRaster": {
|
|
352
|
+
"name": "tileSet",
|
|
353
|
+
"in": "path",
|
|
354
|
+
"description": "Raster Imagery tile set",
|
|
355
|
+
"required": true,
|
|
356
|
+
"schema": {
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
"example": "aerial"
|
|
360
|
+
},
|
|
361
|
+
"tileMatrixRaster": {
|
|
362
|
+
"name": "tileMatrix",
|
|
363
|
+
"in": "path",
|
|
364
|
+
"description": "Supported Raster Tiling schemes",
|
|
365
|
+
"required": true,
|
|
366
|
+
"schema": {
|
|
367
|
+
"type": "string",
|
|
368
|
+
"enum": ["WebMercatorQuad", "NZTM2000QUAD"]
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"tileSetVector": {
|
|
372
|
+
"name": "tileSet",
|
|
373
|
+
"in": "path",
|
|
374
|
+
"description": "Vector Imagery tile set",
|
|
375
|
+
"required": true,
|
|
376
|
+
"schema": {
|
|
377
|
+
"type": "string"
|
|
378
|
+
},
|
|
379
|
+
"example": "topographic"
|
|
380
|
+
},
|
|
381
|
+
"tileMatrixVecotor": {
|
|
382
|
+
"name": "tileMatrix",
|
|
383
|
+
"in": "path",
|
|
384
|
+
"description": "Supported Vector Tiling schemes",
|
|
385
|
+
"required": true,
|
|
386
|
+
"schema": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"enum": ["WebMercatorQuad"]
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|