<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
              version="1.0.0">
    <ows:ServiceIdentification>
        <ows:Title>Strava 2017</ows:Title>
        <ows:Abstract>
        </ows:Abstract>
        <ows:ServiceType>OGC WMTS</ows:ServiceType>
        <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
        <ows:Fees>none</ows:Fees>
        <ows:AccessConstraints></ows:AccessConstraints>
    </ows:ServiceIdentification>
    <Contents>
        <Layer>
            <ows:Title>Strava - all</ows:Title>
            <ows:Abstract></ows:Abstract>
            <ows:Identifier>strava-all</ows:Identifier>
            <Style isDefault="true">
                <ows:Identifier>strava</ows:Identifier>
            </Style>
            <Format>image/png</Format>
            <TileMatrixSetLink>
                <TileMatrixSet>google3857</TileMatrixSet>
            </TileMatrixSetLink>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-a.strava.com/tiles/all/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-b.strava.com/tiles/all/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-c.strava.com/tiles/all/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
        </Layer>
        <Layer>
            <ows:Title>Strava - ride</ows:Title>
            <ows:Abstract></ows:Abstract>
            <ows:Identifier>strava-ride</ows:Identifier>
            <Style isDefault="true">
                <ows:Identifier>strava</ows:Identifier>
            </Style>
            <Format>image/png</Format>
            <TileMatrixSetLink>
                <TileMatrixSet>google3857</TileMatrixSet>
            </TileMatrixSetLink>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-a.strava.com/tiles/ride/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-b.strava.com/tiles/ride/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-c.strava.com/tiles/ride/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
        </Layer>
        <Layer>
            <ows:Title>Strava - run</ows:Title>
            <ows:Abstract></ows:Abstract>
            <ows:Identifier>strava-run</ows:Identifier>
            <Style isDefault="true">
                <ows:Identifier>strava</ows:Identifier>
            </Style>
            <Format>image/png</Format>
            <TileMatrixSetLink>
                <TileMatrixSet>google3857</TileMatrixSet>
            </TileMatrixSetLink>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-a.strava.com/tiles/run/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-b.strava.com/tiles/run/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-c.strava.com/tiles/run/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
        </Layer>
        <Layer>
            <ows:Title>Strava - water</ows:Title>
            <ows:Abstract></ows:Abstract>
            <ows:Identifier>strava-water</ows:Identifier>
            <Style isDefault="true">
                <ows:Identifier>strava</ows:Identifier>
            </Style>
            <Format>image/png</Format>
            <TileMatrixSetLink>
                <TileMatrixSet>google3857</TileMatrixSet>
            </TileMatrixSetLink>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-a.strava.com/tiles/water/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-b.strava.com/tiles/water/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-c.strava.com/tiles/water/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
        </Layer>
        <Layer>
            <ows:Title>Strava - winter</ows:Title>
            <ows:Abstract></ows:Abstract>
            <ows:Identifier>strava-winter</ows:Identifier>
            <Style isDefault="true">
                <ows:Identifier>strava</ows:Identifier>
            </Style>
            <Format>image/png</Format>
            <TileMatrixSetLink>
                <TileMatrixSet>google3857</TileMatrixSet>
            </TileMatrixSetLink>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-a.strava.com/tiles/winter/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-b.strava.com/tiles/winter/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-c.strava.com/tiles/winter/hot/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
        </Layer>
        <Layer>
            <ows:Title>Strava - winter blue</ows:Title>
            <ows:Abstract></ows:Abstract>
            <ows:Identifier>strava-winter-blue</ows:Identifier>
            <Style isDefault="true">
                <ows:Identifier>strava</ows:Identifier>
            </Style>
            <Format>image/png</Format>
            <TileMatrixSetLink>
                <TileMatrixSet>google3857</TileMatrixSet>
            </TileMatrixSetLink>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-a.strava.com/tiles/winter/blue/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-b.strava.com/tiles/winter/blue/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
            <ResourceURL format="image/png"
                         template="https://heatmap-external-c.strava.com/tiles/winter/blue/{TileMatrix}/{TileCol}/{TileRow}.png?px=256"
                         resourceType="tile"/>
        </Layer>
        
        <TileMatrixSet>
            <ows:Identifier>google3857</ows:Identifier>
            <ows:BoundingBox crs="urn:ogc:def:crs:EPSG:6.18.3:4326">
                <ows:LowerCorner>-180 -90</ows:LowerCorner>
                <ows:UpperCorner>180 90</ows:UpperCorner>
           </ows:BoundingBox> 
          <ows:SupportedCRS>urn:ogc:def:crs:EPSG:6.18.3:3857</ows:SupportedCRS>
            <WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet>
            <TileMatrix>
                <ows:Identifier>0</ows:Identifier>
                <ScaleDenominator>559082264.029</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>1</MatrixWidth>
                <MatrixHeight>1</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>1</ows:Identifier>
                <ScaleDenominator>279541132.015</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>2</MatrixWidth>
                <MatrixHeight>2</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>2</ows:Identifier>
                <ScaleDenominator>139770566.007</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>4</MatrixWidth>
                <MatrixHeight>4</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>3</ows:Identifier>
                <ScaleDenominator>69885283.0036</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>8</MatrixWidth>
                <MatrixHeight>8</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>4</ows:Identifier>
                <ScaleDenominator>34942641.5018</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>16</MatrixWidth>
                <MatrixHeight>16</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>5</ows:Identifier>
                <ScaleDenominator>17471320.7509</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>32</MatrixWidth>
                <MatrixHeight>32</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>6</ows:Identifier>
                <ScaleDenominator>8735660.37545</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>64</MatrixWidth>
                <MatrixHeight>64</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>7</ows:Identifier>
                <ScaleDenominator>4367830.18773</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>128</MatrixWidth>
                <MatrixHeight>128</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>8</ows:Identifier>
                <ScaleDenominator>2183915.09386</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>256</MatrixWidth>
                <MatrixHeight>256</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>9</ows:Identifier>
                <ScaleDenominator>1091957.54693</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>512</MatrixWidth>
                <MatrixHeight>512</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>10</ows:Identifier>
                <ScaleDenominator>545978.773466</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>1024</MatrixWidth>
                <MatrixHeight>1024</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>11</ows:Identifier>
                <ScaleDenominator>272989.386733</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>2048</MatrixWidth>
                <MatrixHeight>2048</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>12</ows:Identifier>
                <ScaleDenominator>136494.693366</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>4096</MatrixWidth>
                <MatrixHeight>4096</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>13</ows:Identifier>
                <ScaleDenominator>68247.3466832</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>8192</MatrixWidth>
                <MatrixHeight>8192</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>14</ows:Identifier>
                <ScaleDenominator>34123.6733416</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>16384</MatrixWidth>
                <MatrixHeight>16384</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>15</ows:Identifier>
                <ScaleDenominator>17061.8366708</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>32768</MatrixWidth>
                <MatrixHeight>32768</MatrixHeight>
            </TileMatrix>
            <TileMatrix>
                <ows:Identifier>16</ows:Identifier>
                <ScaleDenominator>8530.91833540</ScaleDenominator>
                <TopLeftCorner>-20037508.3428 20037508.3428</TopLeftCorner>
                <TileWidth>256</TileWidth>
                <TileHeight>256</TileHeight>
                <MatrixWidth>65536</MatrixWidth>
                <MatrixHeight>65536</MatrixHeight>
            </TileMatrix>
        </TileMatrixSet>
    </Contents>
</Capabilities>
