@basemaps/landing 8.6.0 → 8.11.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.
Files changed (209) hide show
  1. package/build/src/__tests__/geojson.test.js +1 -1
  2. package/build/src/__tests__/geojson.test.js.map +1 -1
  3. package/build/src/components/map.d.ts +2 -1
  4. package/build/src/components/map.js +24 -12
  5. package/build/src/components/map.js.map +1 -1
  6. package/build/src/components/map.label.js +1 -0
  7. package/build/src/components/map.label.js.map +1 -1
  8. package/build/src/components/map.switcher.js +17 -2
  9. package/build/src/components/map.switcher.js.map +1 -1
  10. package/build/src/components/terrain.control.d.ts +14 -0
  11. package/build/src/components/terrain.control.js +101 -0
  12. package/build/src/components/terrain.control.js.map +1 -0
  13. package/build/src/config.layer.d.ts +11 -1
  14. package/build/src/config.map.js +8 -1
  15. package/build/src/config.map.js.map +1 -1
  16. package/build/src/tile.matrix.d.ts +1 -0
  17. package/build/src/tile.matrix.js +1 -0
  18. package/build/src/tile.matrix.js.map +1 -1
  19. package/build/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +8 -11
  21. package/dist/android-chrome-192x192.png +0 -0
  22. package/dist/android-chrome-512x512.png +0 -0
  23. package/dist/apple-touch-icon.png +0 -0
  24. package/dist/assets/clear.svg +0 -1
  25. package/dist/assets/fonts/OpenSans-Bold.woff2 +0 -0
  26. package/dist/assets/fonts/OpenSans-Italic.woff2 +0 -0
  27. package/dist/assets/fonts/OpenSans-Light.woff2 +0 -0
  28. package/dist/assets/fonts/OpenSans-Regular.woff2 +0 -0
  29. package/dist/assets/fonts/OpenSans-SemiBold.woff2 +0 -0
  30. package/dist/assets/logo-linz.svg +0 -124
  31. package/dist/assets/logo-nz-govt.svg +0 -196
  32. package/dist/assets/whats_new_updates.svg +0 -1
  33. package/dist/basemaps-card.jpeg +0 -0
  34. package/dist/docs/404.html +0 -2173
  35. package/dist/docs/assets/images/favicon.png +0 -0
  36. package/dist/docs/assets/javascripts/bundle.83f73b43.min.js +0 -16
  37. package/dist/docs/assets/javascripts/bundle.83f73b43.min.js.map +0 -7
  38. package/dist/docs/assets/javascripts/lunr/min/lunr.ar.min.js +0 -1
  39. package/dist/docs/assets/javascripts/lunr/min/lunr.da.min.js +0 -18
  40. package/dist/docs/assets/javascripts/lunr/min/lunr.de.min.js +0 -18
  41. package/dist/docs/assets/javascripts/lunr/min/lunr.du.min.js +0 -18
  42. package/dist/docs/assets/javascripts/lunr/min/lunr.el.min.js +0 -1
  43. package/dist/docs/assets/javascripts/lunr/min/lunr.es.min.js +0 -18
  44. package/dist/docs/assets/javascripts/lunr/min/lunr.fi.min.js +0 -18
  45. package/dist/docs/assets/javascripts/lunr/min/lunr.fr.min.js +0 -18
  46. package/dist/docs/assets/javascripts/lunr/min/lunr.he.min.js +0 -1
  47. package/dist/docs/assets/javascripts/lunr/min/lunr.hi.min.js +0 -1
  48. package/dist/docs/assets/javascripts/lunr/min/lunr.hu.min.js +0 -18
  49. package/dist/docs/assets/javascripts/lunr/min/lunr.hy.min.js +0 -1
  50. package/dist/docs/assets/javascripts/lunr/min/lunr.it.min.js +0 -18
  51. package/dist/docs/assets/javascripts/lunr/min/lunr.ja.min.js +0 -1
  52. package/dist/docs/assets/javascripts/lunr/min/lunr.jp.min.js +0 -1
  53. package/dist/docs/assets/javascripts/lunr/min/lunr.kn.min.js +0 -1
  54. package/dist/docs/assets/javascripts/lunr/min/lunr.ko.min.js +0 -1
  55. package/dist/docs/assets/javascripts/lunr/min/lunr.multi.min.js +0 -1
  56. package/dist/docs/assets/javascripts/lunr/min/lunr.nl.min.js +0 -18
  57. package/dist/docs/assets/javascripts/lunr/min/lunr.no.min.js +0 -18
  58. package/dist/docs/assets/javascripts/lunr/min/lunr.pt.min.js +0 -18
  59. package/dist/docs/assets/javascripts/lunr/min/lunr.ro.min.js +0 -18
  60. package/dist/docs/assets/javascripts/lunr/min/lunr.ru.min.js +0 -18
  61. package/dist/docs/assets/javascripts/lunr/min/lunr.sa.min.js +0 -1
  62. package/dist/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +0 -1
  63. package/dist/docs/assets/javascripts/lunr/min/lunr.sv.min.js +0 -18
  64. package/dist/docs/assets/javascripts/lunr/min/lunr.ta.min.js +0 -1
  65. package/dist/docs/assets/javascripts/lunr/min/lunr.te.min.js +0 -1
  66. package/dist/docs/assets/javascripts/lunr/min/lunr.th.min.js +0 -1
  67. package/dist/docs/assets/javascripts/lunr/min/lunr.tr.min.js +0 -18
  68. package/dist/docs/assets/javascripts/lunr/min/lunr.vi.min.js +0 -1
  69. package/dist/docs/assets/javascripts/lunr/min/lunr.zh.min.js +0 -1
  70. package/dist/docs/assets/javascripts/lunr/tinyseg.js +0 -206
  71. package/dist/docs/assets/javascripts/lunr/wordcut.js +0 -6708
  72. package/dist/docs/assets/javascripts/swagger-ui-bundle.js +0 -2
  73. package/dist/docs/assets/javascripts/swagger-ui-bundle.js.map +0 -1
  74. package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js +0 -2
  75. package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js.map +0 -1
  76. package/dist/docs/assets/javascripts/workers/search.6ce7567c.min.js +0 -42
  77. package/dist/docs/assets/javascripts/workers/search.6ce7567c.min.js.map +0 -7
  78. package/dist/docs/assets/stylesheets/main.0253249f.min.css +0 -1
  79. package/dist/docs/assets/stylesheets/main.0253249f.min.css.map +0 -1
  80. package/dist/docs/assets/stylesheets/palette.06af60db.min.css +0 -1
  81. package/dist/docs/assets/stylesheets/palette.06af60db.min.css.map +0 -1
  82. package/dist/docs/assets/stylesheets/swagger-ui-dark.css +0 -849
  83. package/dist/docs/assets/stylesheets/swagger-ui.css +0 -3
  84. package/dist/docs/assets/stylesheets/swagger-ui.css.map +0 -1
  85. package/dist/docs/assets/swagger-ui/oauth2-redirect.html +0 -79
  86. package/dist/docs/configuration/index.html +0 -2337
  87. package/dist/docs/deployment/index.html +0 -2288
  88. package/dist/docs/developer-guide/cli-methods/bundle-the-basemaps-assets-archive/index.html +0 -2539
  89. package/dist/docs/developer-guide/cli-methods/bundle-the-basemaps-config-file/index.html +0 -2459
  90. package/dist/docs/developer-guide/index.html +0 -2241
  91. package/dist/docs/developer-guide/run-basemaps-locally/index.html +0 -2471
  92. package/dist/docs/developer-guide/server-methods/serve-basemaps-with-bundled-config-file/index.html +0 -2469
  93. package/dist/docs/developer-guide/server-methods/serve-basemaps-with-collection-of-geotiff-files/index.html +0 -2358
  94. package/dist/docs/examples/_overview/index.html +0 -2226
  95. package/dist/docs/examples/index.leaflet.xyz.3857.html +0 -38
  96. package/dist/docs/examples/index.maplibre.opacity.3857.html +0 -215
  97. package/dist/docs/examples/index.maplibre.vector.3857.html +0 -45
  98. package/dist/docs/examples/leaflet.xyz.3857/index.html +0 -2260
  99. package/dist/docs/examples/maplibre.opacity.3857/index.html +0 -2437
  100. package/dist/docs/examples/maplibre.vector.3857/index.html +0 -2267
  101. package/dist/docs/index.css +0 -3
  102. package/dist/docs/index.html +0 -2497
  103. package/dist/docs/linz-motif.svg +0 -124
  104. package/dist/docs/operator-guide/cog-quality/index.html +0 -2477
  105. package/dist/docs/operator-guide/empty-tiles/index.html +0 -2347
  106. package/dist/docs/operator-guide/gebco/index.html +0 -2312
  107. package/dist/docs/operator-guide/index.html +0 -2215
  108. package/dist/docs/operator-guide/quick-start/index.html +0 -2460
  109. package/dist/docs/operator-guide/relief-shade/index.html +0 -2327
  110. package/dist/docs/operator-guide/static/2023-06-26-gisborne-2023.png +0 -0
  111. package/dist/docs/operator-guide/static/projection_beehive_fakenztm2000.webp +0 -0
  112. package/dist/docs/operator-guide/static/projection_beehive_nztm2000quad.webp +0 -0
  113. package/dist/docs/operator-guide/static/projection_nztm2000quad_0_0_0.webp +0 -0
  114. package/dist/docs/operator-guide/static/quality__005_006_0_bilinear.webp +0 -0
  115. package/dist/docs/operator-guide/static/quality__005_006_0_lanczos.webp +0 -0
  116. package/dist/docs/operator-guide/static/quality__i6.bilinear.webp +0 -0
  117. package/dist/docs/operator-guide/static/quality__i6.cubic.webp +0 -0
  118. package/dist/docs/operator-guide/static/quality__i6.lanczos.webp +0 -0
  119. package/dist/docs/operator-guide/static/quality__resampling-overview.webp +0 -0
  120. package/dist/docs/operator-guide/static/quick-start__layers.png +0 -0
  121. package/dist/docs/operator-guide/static/relief__aerial.webp +0 -0
  122. package/dist/docs/operator-guide/static/relief__base.webp +0 -0
  123. package/dist/docs/operator-guide/static/relief__darken.webp +0 -0
  124. package/dist/docs/operator-guide/static/relief__lighten.webp +0 -0
  125. package/dist/docs/operator-guide/texture-shade/index.html +0 -2370
  126. package/dist/docs/operator-guide/xyz-projection/index.html +0 -2375
  127. package/dist/docs/quick-start/index.html +0 -2228
  128. package/dist/docs/sitemap.xml +0 -219
  129. package/dist/docs/sitemap.xml.gz +0 -0
  130. package/dist/docs/static/basemaps-service.png +0 -0
  131. package/dist/docs/static/tile-resize.png +0 -0
  132. package/dist/docs/static/workflow-run.png +0 -0
  133. package/dist/docs/user-guide/_get-started/index.html +0 -2463
  134. package/dist/docs/user-guide/api-documentation/index.html +0 -840
  135. package/dist/docs/user-guide/api-documentation/swagger-3b2ee5d5.html +0 -120
  136. package/dist/docs/user-guide/swagger-api.json +0 -393
  137. package/dist/docs/user-guide/technical-documentation/index.html +0 -2860
  138. package/dist/docs/user-guide/use-in-esri-software/how-to-add-emergency-imagery-to-arcgis/index.html +0 -2220
  139. package/dist/docs/user-guide/use-in-esri-software/how-to-add-emergency-imagery-to-arcgis/static/emergency-response-group.png +0 -0
  140. package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/index.html +0 -2268
  141. package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/basemaps-menu-button.png +0 -0
  142. package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/copy-url-apikey.png +0 -0
  143. package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/custom-parameters.png +0 -0
  144. package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/layer-search.png +0 -0
  145. package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/layer-selector.png +0 -0
  146. package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/move-apikey-info.png +0 -0
  147. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/index.html +0 -2243
  148. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-1-agol-map-viewer.png +0 -0
  149. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-2-layers-panel.png +0 -0
  150. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-3-browse-layers-option.png +0 -0
  151. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-4-agol-option.png +0 -0
  152. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-5-search-box.png +0 -0
  153. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-6-desired-layer-on-map.png +0 -0
  154. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-basemaps-to-arcgis-online-basemaps/index.html +0 -2229
  155. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-basemaps-to-arcgis-online-basemaps/static/LINZ-basemaps-group.png +0 -0
  156. package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-basemaps-to-arcgis-online-basemaps/static/basemaps-in-esri-chooser.png +0 -0
  157. package/dist/docs/user-guide/use-in-esri-software/index.html +0 -2217
  158. package/dist/docs/user-guide/working-with-vector-tiles/creation/index.html +0 -2310
  159. package/dist/docs/user-guide/working-with-vector-tiles/creation/inputs/json-schema-file/index.html +0 -2302
  160. package/dist/docs/user-guide/working-with-vector-tiles/index.html +0 -2286
  161. package/dist/docs/user-guide/working-with-vector-tiles/schema/addresses/index.html +0 -2408
  162. package/dist/docs/user-guide/working-with-vector-tiles/schema/aerialways/index.html +0 -2797
  163. package/dist/docs/user-guide/working-with-vector-tiles/schema/boundaries/index.html +0 -2408
  164. package/dist/docs/user-guide/working-with-vector-tiles/schema/buildings/index.html +0 -2571
  165. package/dist/docs/user-guide/working-with-vector-tiles/schema/contours/index.html +0 -2719
  166. package/dist/docs/user-guide/working-with-vector-tiles/schema/dam_lines/index.html +0 -2561
  167. package/dist/docs/user-guide/working-with-vector-tiles/schema/ferries/index.html +0 -2541
  168. package/dist/docs/user-guide/working-with-vector-tiles/schema/land/index.html +0 -7134
  169. package/dist/docs/user-guide/working-with-vector-tiles/schema/parcel_boundaries/index.html +0 -2408
  170. package/dist/docs/user-guide/working-with-vector-tiles/schema/pier_lines/index.html +0 -2541
  171. package/dist/docs/user-guide/working-with-vector-tiles/schema/place_labels/index.html +0 -2428
  172. package/dist/docs/user-guide/working-with-vector-tiles/schema/pois/index.html +0 -2538
  173. package/dist/docs/user-guide/working-with-vector-tiles/schema/public_transport/index.html +0 -2802
  174. package/dist/docs/user-guide/working-with-vector-tiles/schema/sites/index.html +0 -3324
  175. package/dist/docs/user-guide/working-with-vector-tiles/schema/street_labels/index.html +0 -2817
  176. package/dist/docs/user-guide/working-with-vector-tiles/schema/street_polygons/index.html +0 -2684
  177. package/dist/docs/user-guide/working-with-vector-tiles/schema/streets/index.html +0 -3371
  178. package/dist/docs/user-guide/working-with-vector-tiles/schema/water_lines/index.html +0 -3708
  179. package/dist/docs/user-guide/working-with-vector-tiles/schema/water_polygons/index.html +0 -3477
  180. package/dist/docs/user-guide/working-with-vector-tiles/static/labels.png +0 -0
  181. package/dist/docs/user-guide/working-with-vector-tiles/static/topographic.png +0 -0
  182. package/dist/docs/user-guide/working-with-vector-tiles/static/topolite.png +0 -0
  183. package/dist/docs/user-guide/working-with-vector-tiles/styling/index.html +0 -2584
  184. package/dist/docs/user-guide/working-with-vector-tiles/styling/index.maplibre.vector.3857.html +0 -80
  185. package/dist/docs/user-guide/working-with-vector-tiles/styling/static/add-filter.webp +0 -0
  186. package/dist/docs/user-guide/working-with-vector-tiles/styling/static/contours.webp +0 -0
  187. package/dist/docs/user-guide/working-with-vector-tiles/styling/static/modify-paint.webp +0 -0
  188. package/dist/docs/user-guide/working-with-vector-tiles/usage/index.html +0 -2425
  189. package/dist/docs/user-guide/working-with-vector-tiles/usage/index.maplibre.vector.3857.html +0 -22
  190. package/dist/examples/index.html +0 -34
  191. package/dist/examples/index.leaflet.xyz.3857.html +0 -43
  192. package/dist/examples/index.maplibre.compare.3857.html +0 -111
  193. package/dist/examples/index.maplibre.elevation.3857.html +0 -100
  194. package/dist/examples/index.maplibre.opacity.3857.html +0 -218
  195. package/dist/examples/index.maplibre.vector.3857.html +0 -48
  196. package/dist/examples/index.openlayers.attribution.wmts.3857.html +0 -55
  197. package/dist/examples/index.openlayers.wmts.3857.html +0 -49
  198. package/dist/examples/index.openlayers.xyz.3857.html +0 -49
  199. package/dist/favicon-16x16.png +0 -0
  200. package/dist/favicon-32x32.png +0 -0
  201. package/dist/favicon.ico +0 -0
  202. package/dist/index-8.6.0-c101a024188933aa.js +0 -65922
  203. package/dist/index-8.6.0-c5e57c4593cca04a.css +0 -7686
  204. package/dist/index.css +0 -7686
  205. package/dist/index.html +0 -24
  206. package/dist/index.js +0 -65922
  207. package/dist/json-schema/stac-basemaps-extension/1.0/schema.json +0 -144
  208. package/dist/lib/attribution-8.6.0-7e26e43200746f3c.js +0 -10632
  209. package/dist/lib/attribution.js +0 -10632
@@ -1,120 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <title>Swagger UI</title>
7
- <link rel="stylesheet" type="text/css" href="../../assets/stylesheets/swagger-ui.css" />
8
- <link rel="stylesheet" type="text/css" id="slate-css" media="none" href="../../assets/stylesheets/swagger-ui-dark.css" />
9
-
10
- </head>
11
-
12
- <body style="overflow:hidden;">
13
- <div id="swagger-ui"></div>
14
- <script src="../../assets/javascripts/swagger-ui-bundle.js" charset="UTF-8"> </script>
15
- <script src="../../assets/javascripts/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
16
- <script>
17
- window.onload = function () {
18
- window.ui = SwaggerUIBundle({
19
- dom_id: "#swagger-ui",
20
- onComplete: onComplete,
21
- presets: [
22
- SwaggerUIBundle.presets.apis,
23
- SwaggerUIStandalonePreset
24
- ],
25
-
26
- url: "../swagger-api.json",
27
-
28
-
29
- "oauth2RedirectUrl": new URL("../../assets/swagger-ui/oauth2-redirect.html",window.location.href).href,
30
-
31
- "validatorUrl": "none",
32
-
33
- "docExpansion": "list",
34
- "filter": false,
35
- "tryItOutEnabled": false,
36
- "supportedSubmitMethods": [
37
- "get",
38
- "put",
39
- "post",
40
- "delete",
41
- "options",
42
- "head",
43
- "patch",
44
- "trace"
45
- ],
46
- "validatorUrl": "none",
47
- "extra_css": [],
48
- "dark_scheme_name": "slate",
49
- "filter_files": [],
50
- "syntaxHighlight.theme": "agate"
51
-
52
- })
53
-
54
-
55
-
56
- if (parent.__init_is_dark_mode) {
57
- enable_dark_mode();
58
- }
59
- }
60
-
61
- enable_dark_mode = function(){
62
- document.getElementById("slate-css").media = ""
63
- }
64
-
65
- disable_dark_mode = function(){
66
- document.getElementById("slate-css").media = "none"
67
- }
68
-
69
- const resize_ob = new ResizeObserver(function(entries) {
70
- parent.update_swagger_ui_iframe_height("3b2ee5d5");
71
- });
72
-
73
- // start observing for resizing
74
- resize_ob.observe(document.querySelector("body"));
75
-
76
- // authorize modal position
77
- var modal_top = 0;
78
-
79
- const mutation_ob = new MutationObserver(function (mutations) {
80
- if(mutations && mutations[0].addedNodes && mutations[0].addedNodes.length > 0){
81
- update_modal_top()
82
- }
83
- });
84
-
85
- onComplete = function(){
86
- // start observing for auth-wrapper after Swagger UI loaded
87
- const div = document.querySelector("div.auth-wrapper");
88
- if(div){
89
- mutation_ob.observe(div, {
90
- childList: true,
91
- });
92
- }
93
- }
94
-
95
- update_top_val = function(top){
96
- modal_top = top
97
- update_modal_top()
98
- }
99
-
100
- update_modal_top = function(){
101
- let modal_list = document.getElementsByClassName('modal-ux')
102
- if(modal_list.length > 0){
103
- let modal = modal_list.item(0)
104
- const modal_height = modal.offsetHeight
105
- const padding = 60
106
- min = parseInt(modal_height/2 + padding)
107
- max = document.body.scrollHeight - min + padding
108
- if (modal_top < min) {
109
- modal.style.top = `${min}px`
110
- } else if (modal_top > max) {
111
- modal.style.top = `${max}px`
112
- } else {
113
- modal.style.top = `${modal_top}px`
114
- }
115
- }
116
- }
117
- </script>
118
- </body>
119
-
120
- </html>
@@ -1,393 +0,0 @@
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
- }