<html dir="ltr">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>
<p>Hi list,</p>
<p> </p>
<p>Has anyone had any luck with using the ArcGIS Cache tile source option?</p>
<p> </p>
<p>I've got an ArcGIS Server 10.0 cache that I'm trying to load into MapProxy but the tile path being calculated doesn't seem quite right.</p>
<p> </p>
<p>I'm suspecting there's an issue with my yaml config. Possibly in relation to the tile origin being -400, 400?</p>
<p> </p>
<p>Here's my .yaml file:</p>
<p> </p>
<p>base:<br>
    - base-config/base-mapproxy.yaml<br>
sources:<br>
  lgbasemap:<br>
    type: tile<br>
    url: <a href="http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/%(arcgiscache_path)s.png">
http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/%(arcgiscache_path)s.png</a><br>
    grid: GDA94<br>
grids:<br>
    GDA94:<br>
      srs: 'EPSG:4283'<br>
      bbox: [108.0000,-45.0000,155.0000,-10.0000]<br>
      bbox_srs: EPSG:4326<br>
      res: [0.044020028607860168, 0.021997281808087885, 0.010998639714313441, 0.0054993198571567205, 0.0027496599285783603, 0.0013748287745586772, 0.00068741438727933861, 0.00034370600390916639, 0.00017185181222408028, 8.592471638153722e-005, 4.2961168460265693e-005,
 2.1479394499629933e-005, 1.0738507519312051e-005, 5.3680640291531107e-006, 2.6840320145765553e-006]<br>
      num_levels: 15<br>
      #origin: nw<br>
caches:<br>
    _alllayers: { sources: ['lgbasemap'], grids: [GDA94], disable_storage: true }<br>
layers:<br>
    - { name: _alllayers, title: 'LGBasemap', sources: [_alllayers] }<br>
</p>
<p> </p>
<p>Here's the conf.xml file for the service <a href="http://srss-dev.landgate.wa.gov.au/lg_basemap/conf.xml">
http://srss-dev.landgate.wa.gov.au/lg_basemap/conf.xml</a> and this is the request I'm issuing:</p>
<p> </p>
<p><a href="http://srss-dev.landgate.wa.gov.au/mapproxy-keith/lgbasemap/service?FORMATS=image%2Fpng&LAYERS=_alllayers&TRANSPARENT=TRUE&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A900913&BBOX=12836528.780312,-3913575.8476562,12993071.814219,-3757032.81375&WIDTH=256&HEIGHT=256">http://srss-dev.landgate.wa.gov.au/mapproxy-keith/lgbasemap/service?FORMATS=image%2Fpng&LAYERS=_alllayers&TRANSPARENT=TRUE&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A900913&BBOX=12836528.780312,-3913575.8476562,12993071.814219,-3757032.81375&WIDTH=256&HEIGHT=256</a></p>
<p> </p>
<p>Which is producing this in the mapproxy logs </p>
<p> </p>
<p>2013-01-31 10:43:21,030 - WARNING - mapproxy.source.tile - could not retrieve tile: HTTP Error "<a href="http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L02/R00000006/C00000002.png">http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L02/R00000006/C00000002.png</a>":
 404<br>
2013-01-31 10:43:21,046 - WARNING - mapproxy.source.tile - could not retrieve tile: HTTP Error "<a href="http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L02/R00000006/C00000003.png">http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L02/R00000006/C00000003.png</a>":
 404<br>
2013-01-31 10:43:21,062 - WARNING - mapproxy.source.tile - could not retrieve tile: HTTP Error "<a href="http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L02/R00000005/C00000002.png">http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L02/R00000005/C00000002.png</a>":
 404</p>
<p> </p>
<p>I would be expecting it to be hitting this tile <a href="http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L03/R00000133/C0000016e.png">
http://srss-dev.landgate.wa.gov.au/lg_basemap/_alllayers/L03/R00000133/C0000016e.png</a></p>
<p> </p>
<p>Cheers,</p>
<p> </p>
<p>Keith</p>
<p> </p>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">__________________________________
<br>
Keith Moss<br>
Satellite Remote Sensing Services<br>
Operations<br>
Landgate<br>
65 Brockway Road, FLOREAT WA 6014<br>
PO Box 741 Wembley WA 6913<br>
Ph. (08) 9387 0332 | Fx. (08) 9383 7142<br>
<a tabindex="0" href="mailto:keith.moss@landgate.wa.gov.au" target="">keith.moss@landgate.wa.gov.au</a><br>
<a tabindex="0" href="http://www.landgate.wa.gov.au/" target="">http://www.landgate.wa.gov.au/</a></div>
</div>
</div>
<p><span style="FONT-SIZE: 11pt; FONT-FAMILY: 'Arial'">This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged, in which case neither is intended to be waived or lost by mistaken delivery to you. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this e-mail in error, please notify the sender by return e-mail and delete the message and any attachments from your system. Unless specifically indicated, this e-mail does not constitute formal advice or commitment by the sender or the Western Australian Land Information Authority (Landgate). Information in this message not relating to the official business of Landgate shall be understood as neither given nor endorsed by it. It is your responsibility to check any attachments for viruses and defects before opening or sending them on. Landgate’s liability is limited to re-supplying affected attachments.</span></p>
</body>
</html>