Geoserver 2.25.2
I successfully created a cascading WMTS store and created a layer from it. However, when I try to display the layer either on a map, or in layer preview, all I get are red crosses and “Error rendering coverage on fast path
No tiles found in the requested extent.”
That said, the getCapabilities for the WMTS seems odd. template url looks like TMS rather than WMTS.
The WMTS (edited to remove my key) is:
<?xml version="1.0" encoding="utf-8"?>ows:ServiceIdentification
ows:TitleLINZ Data Service</ows:Title>
ows:ServiceTypeOGC WMTS</ows:ServiceType>
ows:ServiceTypeVersion1.0.0</ows:ServiceTypeVersion>
</ows:ServiceIdentification>
ows:ServiceProvider
ows:ProviderNameLand Information New Zealand</ows:ProviderName>
<ows:ProviderSite xlink:href=“https://data.linz.govt.nz” />
ows:ServiceContact
</ows:ServiceContact>
</ows:ServiceProvider>
ows:OperationsMetadata
<ows:Operation name=“GetCapabilities”>
ows:DCP
ows:HTTP
<ows:Get xlink:href=“https://data.linz.govt.nz/services%3Bkey%3D[My Key]/wmts/1.0.0/layer/121959/WMTSCapabilities.xml?”>
<ows:Constraint name=“GetEncoding”>
ows:AllowedValues
ows:ValueKVP</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name=“GetFeatureInfo”>
ows:DCP
ows:HTTP
<ows:Get xlink:href=“https://data.linz.govt.nz/services;key=[My Key]/wmts/?”>
<ows:Constraint name=“GetEncoding”>
ows:AllowedValues
ows:ValueKVP</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
</ows:OperationsMetadata>
For information on datasets that make up the New Zealand DEM Hillshade layer, please visit this layer: New Zealand 1m DEM Survey Index.
Gaps in the 1m LiDAR coverage are covered by the NZ 8m Digital Elevation Model (2012).
The most recent LiDAR DEM data can also be accessed from the NZ Elevation public S3 bucket via the link below, which is automatically updated when new elevation layers are added.
Data management and distribution is by Toitū Te Whenua Land Information New Zealand. Management of this layer is ongoing and it will be updated with newer data as it becomes available.
Data comprises:
• 400+ GeoTIFF tiles in NZTM2000 projection, merged from a variety of source surveys and tiled into the LINZ 1:50,000 tile layout.
Also available on:
• Basemaps
• NZ Elevation - Registry of Open Data on AWS, specifically at s3://nz-elevation/new-zealand/new-zealand/dem-hillshade/2193/. This is the data source and at this location it is LERC compressed and made available as Cloud Optimised GeoTIFFs.
Additional metadata from the S3 source:
Use with the following attribution: "Sourced from the LINZ Data Service and licensed by Toitū Te Whenua Land Information New Zealand, for re-use under CC BY 4.0".
For details see: https://www.linz.govt.nz/data/licensing-and-using-data/attributing-elevation-or-aerial-imagery-data</ows:Abstract>
ows:Identifierlayer-121959</ows:Identifier>
<ows:BoundingBox crs=“urn:ogc:def:crs:EPSG::3857”>ows:LowerCorner18496139.523507 -6049715.105363</ows:LowerCorner>ows:UpperCorner20020404.290966 -4016462.006289</ows:UpperCorner></ows:BoundingBox>
<ows:BoundingBox crs=“urn:ogc:def:crs:EPSG::2193”>ows:LowerCorner4722000.000000 1084000.000000</ows:LowerCorner>ows:UpperCorner6234000.000000 2116000.000000</ows:UpperCorner></ows:BoundingBox>
<ows:WGS84BoundingBox crs=“urn:ogc:def:crs:OGC:2:84”>ows:LowerCorner166.315749 -47.534531</ows:LowerCorner>ows:UpperCorner178.857438 -34.029104</ows:UpperCorner></ows:WGS84BoundingBox>
Automatic Style style=autoimage/png
EPSG:3857 EPSG:2193 GoogleMapsCompatible The well-known 'GoogleMapsCompatible' tile matrix set defined by the OGC WMTS specification EPSG:3857 -20037508.342789 -20037508.34278920037508.342789 20037508.342789 urn:ogc:def:crs:EPSG::3857<WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet>
0
559082264.0287178
-20037508.342789 20037508.342789
256
256
1
1
1
279541132.0143589
-20037508.342789 20037508.342789
256
256
2
2
2
139770566.0071794
-20037508.342789 20037508.342789
256
256
4
4
3
69885283.00358972
-20037508.342789 20037508.342789
256
256
8
8
4
34942641.50179486
-20037508.342789 20037508.342789
256
256
16
16
5
17471320.75089743
-20037508.342789 20037508.342789
256
256
32
32
6
8735660.375448715
-20037508.342789 20037508.342789
256
256
64
64
7
4367830.187724357
-20037508.342789 20037508.342789
256
256
128
128
8
2183915.093862179
-20037508.342789 20037508.342789
256
256
256
256
9
1091957.546931089
-20037508.342789 20037508.342789
256
256
512
512
10
545978.7734655447
-20037508.342789 20037508.342789
256
256
1024
1024
11
272989.3867327723
-20037508.342789 20037508.342789
256
256
2048
2048
12
136494.6933663862
-20037508.342789 20037508.342789
256
256
4096
4096
13
68247.34668319309
-20037508.342789 20037508.342789
256
256
8192
8192
14
34123.67334159654
-20037508.342789 20037508.342789
256
256
16384
16384
15
17061.83667079827
-20037508.342789 20037508.342789
256
256
32768
32768
16
8530.918335399136
-20037508.342789 20037508.342789
256
256
65536
65536
17
4265.459167699568
-20037508.342789 20037508.342789
256
256
131072
131072
18
2132.729583849784
-20037508.342789 20037508.342789
256
256
262144
262144
19
1066.364791924892
-20037508.342789 20037508.342789
256
256
524288
524288
20
533.182395962446
-20037508.342789 20037508.342789
256
256
1048576
1048576
21
266.591197981223
-20037508.342789 20037508.342789
256
256
2097152
2097152
NZTM2000
EPSG:2193
3087000.000000 274000.0000007173000.000000 3327000.000000
urn:ogc:def:crs:EPSG::2193
0
32000000
10000000.0 -1000000.0
256
256
2
4
1
16000000
10000000.0 -1000000.0
256
256
4
7
2
8000000
10000000.0 -1000000.0
256
256
8
13
3
4000000
10000000.0 -1000000.0
256
256
16
25
4
2000000
10000000.0 -1000000.0
256
256
31
49
5
1000000
10000000.0 -1000000.0
256
256
61
97
6
500000
10000000.0 -1000000.0
256
256
121
193
7
250000
10000000.0 -1000000.0
256
256
242
386
8
100000
10000000.0 -1000000.0
256
256
604
965
9
50000
10000000.0 -1000000.0
256
256
1208
1929
10
25000
10000000.0 -1000000.0
256
256
2415
3858
11
10000
10000000.0 -1000000.0
256
256
6037
9645
12
5000
10000000.0 -1000000.0
256
256
12074
19289
13
2500
10000000.0 -1000000.0
256
256
24147
38578
14
1000
10000000.0 -1000000.0
256
256
60366
96443
15
500
10000000.0 -1000000.0
256
256
120732
192886
16
250
10000000.0 -1000000.0
256
256
241463
385771