fix: revert wmts zoom level hack

Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
Andrew Calcutt 2024-01-28 22:40:51 -05:00
parent 5e8288cceb
commit 48568728ab

View file

@ -251,7 +251,7 @@
<ows:Identifier>GoogleMapsCompatible_512</ows:Identifier> <ows:Identifier>GoogleMapsCompatible_512</ows:Identifier>
<ows:SupportedCRS>urn:ogc:def:crs:EPSG::3857</ows:SupportedCRS> <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3857</ows:SupportedCRS>
<TileMatrix> <TileMatrix>
<ows:Identifier>1</ows:Identifier> <ows:Identifier>0</ows:Identifier>
<ScaleDenominator>279541132.0143589</ScaleDenominator> <ScaleDenominator>279541132.0143589</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -260,7 +260,7 @@
<MatrixHeight>1</MatrixHeight> <MatrixHeight>1</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>2</ows:Identifier> <ows:Identifier>1</ows:Identifier>
<ScaleDenominator>139770566.0071794</ScaleDenominator> <ScaleDenominator>139770566.0071794</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -269,7 +269,7 @@
<MatrixHeight>2</MatrixHeight> <MatrixHeight>2</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>3</ows:Identifier> <ows:Identifier>2</ows:Identifier>
<ScaleDenominator>69885283.00358972</ScaleDenominator> <ScaleDenominator>69885283.00358972</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -278,7 +278,7 @@
<MatrixHeight>4</MatrixHeight> <MatrixHeight>4</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>4</ows:Identifier> <ows:Identifier>3</ows:Identifier>
<ScaleDenominator>34942641.501795</ScaleDenominator> <ScaleDenominator>34942641.501795</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -287,7 +287,7 @@
<MatrixHeight>8</MatrixHeight> <MatrixHeight>8</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>5</ows:Identifier> <ows:Identifier>4</ows:Identifier>
<ScaleDenominator>17471320.750897</ScaleDenominator> <ScaleDenominator>17471320.750897</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -296,7 +296,7 @@
<MatrixHeight>16</MatrixHeight> <MatrixHeight>16</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>6</ows:Identifier> <ows:Identifier>5</ows:Identifier>
<ScaleDenominator>8735660.3754487</ScaleDenominator> <ScaleDenominator>8735660.3754487</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -305,7 +305,7 @@
<MatrixHeight>32</MatrixHeight> <MatrixHeight>32</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>7</ows:Identifier> <ows:Identifier>6</ows:Identifier>
<ScaleDenominator>4367830.1877244</ScaleDenominator> <ScaleDenominator>4367830.1877244</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -314,7 +314,7 @@
<MatrixHeight>64</MatrixHeight> <MatrixHeight>64</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>8</ows:Identifier> <ows:Identifier>7</ows:Identifier>
<ScaleDenominator>2183915.0938622</ScaleDenominator> <ScaleDenominator>2183915.0938622</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -323,7 +323,7 @@
<MatrixHeight>128</MatrixHeight> <MatrixHeight>128</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>9</ows:Identifier> <ows:Identifier>8</ows:Identifier>
<ScaleDenominator>1091957.5469311</ScaleDenominator> <ScaleDenominator>1091957.5469311</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -332,7 +332,7 @@
<MatrixHeight>256</MatrixHeight> <MatrixHeight>256</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>10</ows:Identifier> <ows:Identifier>9</ows:Identifier>
<ScaleDenominator>545978.77346554</ScaleDenominator> <ScaleDenominator>545978.77346554</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -341,7 +341,7 @@
<MatrixHeight>512</MatrixHeight> <MatrixHeight>512</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>11</ows:Identifier> <ows:Identifier>10</ows:Identifier>
<ScaleDenominator>272989.38673277</ScaleDenominator> <ScaleDenominator>272989.38673277</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -350,7 +350,7 @@
<MatrixHeight>1024</MatrixHeight> <MatrixHeight>1024</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>12</ows:Identifier> <ows:Identifier>11</ows:Identifier>
<ScaleDenominator>136494.69336639</ScaleDenominator> <ScaleDenominator>136494.69336639</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -359,7 +359,7 @@
<MatrixHeight>2048</MatrixHeight> <MatrixHeight>2048</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>13</ows:Identifier> <ows:Identifier>12</ows:Identifier>
<ScaleDenominator>68247.346683193</ScaleDenominator> <ScaleDenominator>68247.346683193</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -368,7 +368,7 @@
<MatrixHeight>4096</MatrixHeight> <MatrixHeight>4096</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>14</ows:Identifier> <ows:Identifier>13</ows:Identifier>
<ScaleDenominator>34123.673341597</ScaleDenominator> <ScaleDenominator>34123.673341597</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -377,7 +377,7 @@
<MatrixHeight>8192</MatrixHeight> <MatrixHeight>8192</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>15</ows:Identifier> <ows:Identifier>14</ows:Identifier>
<ScaleDenominator>17061.836670798</ScaleDenominator> <ScaleDenominator>17061.836670798</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -386,7 +386,7 @@
<MatrixHeight>16384</MatrixHeight> <MatrixHeight>16384</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>16</ows:Identifier> <ows:Identifier>15</ows:Identifier>
<ScaleDenominator>8530.9183353991</ScaleDenominator> <ScaleDenominator>8530.9183353991</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -395,7 +395,7 @@
<MatrixHeight>32768</MatrixHeight> <MatrixHeight>32768</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>17</ows:Identifier> <ows:Identifier>16</ows:Identifier>
<ScaleDenominator>4265.4591676996</ScaleDenominator> <ScaleDenominator>4265.4591676996</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -404,7 +404,7 @@
<MatrixHeight>65536</MatrixHeight> <MatrixHeight>65536</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>18</ows:Identifier> <ows:Identifier>17</ows:Identifier>
<ScaleDenominator>2132.7295838498</ScaleDenominator> <ScaleDenominator>2132.7295838498</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>
@ -413,7 +413,7 @@
<MatrixHeight>131072</MatrixHeight> <MatrixHeight>131072</MatrixHeight>
</TileMatrix> </TileMatrix>
<TileMatrix> <TileMatrix>
<ows:Identifier>19</ows:Identifier> <ows:Identifier>18</ows:Identifier>
<ScaleDenominator>1066.364791924892</ScaleDenominator> <ScaleDenominator>1066.364791924892</ScaleDenominator>
<TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner> <TopLeftCorner>-20037508.34 20037508.34</TopLeftCorner>
<TileWidth>512</TileWidth> <TileWidth>512</TileWidth>