WMTS tile height/width isn't pulled from Tile Matrix Set
nf-s opened this issue · comments
Nick Forbes-Smith commented
To reproduce
- Add the following WMTS server - https://base.maps.vic.gov.au/service?service=WMTS&request=GetCapabilities&version=1.0.0
- Add "Vicmap Basemap - Web Mercator - Aerial" layer
- Notice that the
tileMatrixSet
hastileWidth
andtileHeight
set to512
- But,
catalogItem.tileWidth
andcatalogItem.tileHeight
are still set to the default value256
Because of nullish coalescing (??) order here:
terriajs/lib/Models/Catalog/Ows/WebMapTileServiceCatalogItem.ts
Lines 545 to 549 in e6ec10a
(I think there is also a mistake where this.minimumLevel
is being used to set tileHeight