Hi Jerry
Thanks for the help, I looked at your info but not cled up on gdal at all.
It seems I am have the correct looking url - http://w8vmgis01.durban.gov.za/arcgis/rest/services/WebViewers/AerialPhotography2019/ImageServer/WMTS/1.0.0/WMTSCapabilities.xml
I have tried it with WMTS: in front as well. It also returns Invalid URL from within the app until I add /{zoom}/{x}/{y}.png - in this case it appears to work but a blank area is displayed on the Map.
Also if I type the url straight into chrome it will take me to the xml data - if I add eg 20/1200/1200.png for the parameters it takes me to the following screen
If I click on raster image I can see the image but can’t get it to display the image as I can for OpenStreetMaps
I will try and look at the MapWindow code and see if I can figure it out.
Here is some code from the .xml file
ows:ServiceIdentification
ows:TitleWebViewers_AerialPhotography2019</ows:Title>
ows:ServiceTypeOGC WMTS</ows:ServiceType>
ows:ServiceTypeVersion1.0.0</ows:ServiceTypeVersion>
</ows:ServiceIdentification>
ows:OperationsMetadata
<ows:Operation name=“GetCapabilities”>
ows:DCP
ows:HTTP
<ows:Get xlink:href=“http://w8vmgis01.durban.gov.za/arcgis/rest/services/WebViewers/AerialPhotography2019/ImageServer/WMTS/1.0.0/WMTSCapabilities.xml”>
<ows:Constraint name=“GetEncoding”>
ows:AllowedValues
ows:ValueRESTful</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
<ows:Get xlink:href=“http://w8vmgis01.durban.gov.za/arcgis/rest/services/WebViewers/AerialPhotography2019/ImageServer/WMTS?”>
<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=“GetTile”>
ows:DCP
ows:HTTP
<ows:Get xlink:href=“http://w8vmgis01.durban.gov.za/arcgis/rest/services/WebViewers/AerialPhotography2019/ImageServer/WMTS/tile/1.0.0/”>
<ows:Constraint name=“GetEncoding”>
ows:AllowedValues
ows:ValueRESTful</ows:Value>
</ows:AllowedValues>
</ows:Constraint>
</ows:Get>
<ows:Get xlink:href=“http://w8vmgis01.durban.gov.za/arcgis/rest/services/WebViewers/AerialPhotography2019/ImageServer/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>
ows:TitleWebViewers_AerialPhotography2019</ows:Title>
ows:IdentifierWebViewers_AerialPhotography2019</ows:Identifier>
<ows:BoundingBox crs=“urn:ogc:def:crs:EPSG::3857”>
ows:LowerCorner3383313.930740081 -3538173.791739587</ows:LowerCorner>
ows:UpperCorner3471775.685582804 -3439418.9065914745</ows:UpperCorner>
</ows:BoundingBox>
<ows:WGS84BoundingBox crs=“urn:ogc:def:crs:OGC:2:84”>
ows:LowerCorner30.392826149583104 -30.268995584591238</ows:LowerCorner>
ows:UpperCorner31.187491613935627 -29.49983460541403</ows:UpperCorner>
</ows:WGS84BoundingBox>
Default Style
default
image/jpgpng
default028mm
GoogleMapsCompatible
ows:TitleTileMatrix using 0.28mm</ows:Title>
ows:AbstractThe 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:Identifierdefault028mm</ows:Identifier>
ows:SupportedCRSurn:ogc:def:crs:EPSG::3857</ows:SupportedCRS>
ows:Identifier0</ows:Identifier>
5.59082264028501E8
-2.0037508342787E7 2.0037508342787E7
256
256
1
1
ows:Identifier1</ows:Identifier>
2.7954113201425016E8
-2.0037508342787E7 2.0037508342787E7
256
256
2
2
regards
Colleen Crawford