Skip to content

Instantly share code, notes, and snippets.

@mgottholsen
Created July 19, 2018 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgottholsen/a7f30a16e3c3538e295edf56b1f75d5f to your computer and use it in GitHub Desktop.
Save mgottholsen/a7f30a16e3c3538e295edf56b1f75d5f to your computer and use it in GitHub Desktop.
<?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:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
<!-- Service Identification --> <ows:ServiceIdentification>
<ows:Title>LOJIC_HistoricImagery2016</ows:Title>
<ows:ServiceType>OGC WMTS</ows:ServiceType>
<ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
</ows:ServiceIdentification> <!-- Operations Metadata --> <ows:OperationsMetadata>
<ows:Operation name="GetCapabilities">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="https://ags1.lojic.org/arcgis/rest/services/LOJIC/HistoricImagery2016/MapServer/WMTS/1.0.0/WMTSCapabilities.xml">
<ows:Constraint name="GetEncoding">
<ows:AllowedValues>
<ows:Value>RESTful</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
<!-- add KVP binding in 10.1 -->
<ows:Get xlink:href="https://ags1.lojic.org/arcgis/rest/services/LOJIC/HistoricImagery2016/MapServer/WMTS?">
<ows:Constraint name="GetEncoding">
<ows:AllowedValues>
<ows:Value>KVP</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="GetTile">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="https://ags1.lojic.org/arcgis/rest/services/LOJIC/HistoricImagery2016/MapServer/WMTS/tile/1.0.0/">
<ows:Constraint name="GetEncoding">
<ows:AllowedValues>
<ows:Value>RESTful</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
<ows:Get xlink:href="https://ags1.lojic.org/arcgis/rest/services/LOJIC/HistoricImagery2016/MapServer/WMTS?">
<ows:Constraint name="GetEncoding">
<ows:AllowedValues>
<ows:Value>KVP</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
</ows:OperationsMetadata> <Contents>
<!--Layer--> <Layer>
<ows:Title>LOJIC_HistoricImagery2016</ows:Title> <ows:Identifier>LOJIC_HistoricImagery2016</ows:Identifier>
<ows:BoundingBox crs="urn:ogc:def:crs:EPSG::2246">
<ows:LowerCorner>1145664.0 184296.0</ows:LowerCorner>
<ows:UpperCorner>1314624.0 324216.0</ows:UpperCorner>
</ows:BoundingBox> <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
<ows:LowerCorner>-85.97596589425629 37.9934209053547</ows:LowerCorner>
<ows:UpperCorner>-85.38062514644967 38.3847861061321</ows:UpperCorner>
</ows:WGS84BoundingBox>
<Style isDefault="true">
<ows:Title>Default Style</ows:Title>
<ows:Identifier>default</ows:Identifier>
</Style>
<Format>image/jpg</Format>
<TileMatrixSetLink>
<TileMatrixSet>default028mm</TileMatrixSet>
</TileMatrixSetLink>
<ResourceURL format="image/jpg" resourceType="tile" template="https://ags1.lojic.org/arcgis/rest/services/LOJIC/HistoricImagery2016/MapServer/WMTS/tile/1.0.0/LOJIC_HistoricImagery2016/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg" />
</Layer> <!--TileMatrixSet-->
<TileMatrixSet>
<ows:Title>TileMatrix using 0.28mm</ows:Title>
<ows:Abstract>The tile matrix set that has scale values calculated based on the dpi defined by OGC specification (dpi assumes 0.28mm as the physical distance of a pixel).</ows:Abstract> <ows:Identifier>default028mm</ows:Identifier>
<ows:SupportedCRS>urn:ogc:def:crs:EPSG::2246</ows:SupportedCRS>
<TileMatrix>
<ows:Identifier>0</ows:Identifier>
<ScaleDenominator>580572.589716535</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>446</MatrixWidth> <MatrixHeight>545</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>1</ows:Identifier>
<ScaleDenominator>290286.2948582675</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>892</MatrixWidth> <MatrixHeight>1089</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>2</ows:Identifier>
<ScaleDenominator>145143.14742913374</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>1784</MatrixWidth> <MatrixHeight>2177</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>3</ows:Identifier>
<ScaleDenominator>72571.57371456687</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>3567</MatrixWidth> <MatrixHeight>4354</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>4</ows:Identifier>
<ScaleDenominator>36285.786857283434</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>7134</MatrixWidth> <MatrixHeight>8708</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>5</ows:Identifier>
<ScaleDenominator>18142.893428641717</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>14267</MatrixWidth> <MatrixHeight>17415</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>6</ows:Identifier>
<ScaleDenominator>9071.446714320859</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>28534</MatrixWidth> <MatrixHeight>34830</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>7</ows:Identifier>
<ScaleDenominator>4535.723357160429</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>57068</MatrixWidth> <MatrixHeight>69660</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>8</ows:Identifier>
<ScaleDenominator>2267.8616785802146</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>114135</MatrixWidth> <MatrixHeight>139320</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>9</ows:Identifier>
<ScaleDenominator>1133.9308392901073</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>228269</MatrixWidth> <MatrixHeight>278640</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>10</ows:Identifier>
<ScaleDenominator>566.9654196450537</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>456537</MatrixWidth> <MatrixHeight>557280</MatrixHeight>
</TileMatrix>
<TileMatrix>
<ows:Identifier>11</ows:Identifier>
<ScaleDenominator>283.48270982252683</ScaleDenominator>
<TopLeftCorner>-1.204284E8 1.487922E8</TopLeftCorner> <TileWidth>512</TileWidth> <TileHeight>512</TileHeight>
<MatrixWidth>913073</MatrixWidth> <MatrixHeight>1114560</MatrixHeight>
</TileMatrix>
</TileMatrixSet>
</Contents>
<ServiceMetadataURL xlink:href="https://ags1.lojic.org/arcgis/rest/services/LOJIC/HistoricImagery2016/MapServer/WMTS/1.0.0/WMTSCapabilities.xml" /> </Capabilities>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment