Muchas gracias!<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 14, 2012 at 7:49 AM, Phil! Gold <span dir="ltr"><<a href="mailto:phil_g@pobox.com" target="_blank">phil_g@pobox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Jeff Meyer <<a href="mailto:jeff@gwhat.org">jeff@gwhat.org</a>> [2012-12-13 12:58 -0800]:<br>
<div class="im">> On Thu, Dec 13, 2012 at 11:23 AM, Phil! Gold <<a href="mailto:phil_g@pobox.com">phil_g@pobox.com</a>> wrote:<br>
> > I use tilestache to go between<br>
> > JOSM's tile underlays and the ArcGIS REST interface).<br>
><br>
> Do you have a pointer to any docs of how to do this?<br>
<br>
</div>It's pretty simple.  You use tilestache's URL template provider to proxy<br>
requests to the REST server.  It works as long as the server supports the<br>
web mercator projection, which might be under any of the SRIDs 900913,<br>
102113, 102100, 3785, or 3857.  (The last is the current official code<br>
from EPSG.)  Here's what I use for Anne Arundel County's orthoimagery:<br>
<br>
{<br>
  "layers": {<br>
    "AAOrtho2010": {<br>
      "provider": {<br>
        "name": "url template",<br>
        "template": "<a href="http://gis-world.aacounty.org/ArcGIS/rest/services/Ortho2010/MapServer/export?f=image&bboxSR=102113&bbox=$xmin,$ymin,$xmax,$ymax&size=$width,$height&format=png24" target="_blank">http://gis-world.aacounty.org/ArcGIS/rest/services/Ortho2010/MapServer/export?f=image&bboxSR=102113&bbox=$xmin,$ymin,$xmax,$ymax&size=$width,$height&format=png24</a>"<br>

      },<br>
      "preview": {<br>
        "lat": 38.974,<br>
        "lon": -76.595,<br>
        "zoom": 10<br>
      }<br>
    }<br>
  }<br>
}<br>
<br>
For their vector-based data, I add `transparent=true` so I can overlay it<br>
on aerial imagery:<br>
<br>
    "AABasemap": {<br>
      "provider": {<br>
        "name": "url template",<br>
        "template": "<a href="http://gis-world.aacounty.org/ArcGIS/rest/services/Basemap/MapServer/export?f=image&bboxSR=102113&imageSR=102113&transparent=true&bbox=$xmin,$ymin,$xmax,$ymax&size=$width,$height&format=png" target="_blank">http://gis-world.aacounty.org/ArcGIS/rest/services/Basemap/MapServer/export?f=image&bboxSR=102113&imageSR=102113&transparent=true&bbox=$xmin,$ymin,$xmax,$ymax&size=$width,$height&format=png</a>"<br>

<div class="HOEnZb"><div class="h5">      },<br>
    }<br>
<br>
_______________________________________________<br>
Talk-us mailing list<br>
<a href="mailto:Talk-us@openstreetmap.org">Talk-us@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-us" target="_blank">http://lists.openstreetmap.org/listinfo/talk-us</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><font size="1">Jeff Meyer<br>Global World History Atlas<br><a href="http://www.gwhat.org" target="_blank">www.gwhat.org</a><br><a href="mailto:jeff@gwhat.org" target="_blank">jeff@gwhat.org</a><br>
206-676-2347<br></font><br><br>
</div>