<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Nick,<br>
      <br>
      the recommended GraphHopper-way is to prepare graphhopper files
      for an area and setup a server which hosts that files. Another
      more developer-intense approach would be to have the complete
      graph already loaded and then create such 10x10km slices
      on-demand. Personally I would suggest to avoid triggering Overpass
      API for such bulk requests or setup your own servers with that
      API.<br>
      <br>
      What I do not understand: if the user has online access why would
      you need the full graphhopper files on the device? Why not use
      e.g. our Directions API or host your own graphhopper server? This
      way the user just needs a very small path to download and you
      avoid hitting the Overpass API.<br>
      <br>
      Regards,<br>
      Peter<br>
      <br>
      On 16.04.2015 20:22, Nick Whitelegg wrote:<br>
    </div>
    <blockquote cite="mid:1429208545721.34339@solent.ac.uk" type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hi,</p>
        <p><br>
        </p>
        <p>As a few of you might know I am developing an augmented
          reality hikers' app for Android. As part of this I would like
          to develop route finding (including AR signposts) facilities,
          using GraphHopper.</p>
        <p><br>
        </p>
        <p>However I don't want users to have to download a huge OSM or
          GraphHopper file covering the whole of England and Wales: I
          would prefer users to download small tiles of OSM data (say
          10km x 10km) of their local area, which could then be cached
          on their device. The conversion to GraphHopper format could be
          done on the device.<br>
        </p>
        <p><br>
        </p>
        <p>Overpass seems good for this: the usage policy suggests up to
          10000 hits/day is acceptable. I can't see more than a small
          number of people using the app for now: furthermore I could
          route requests through a proxy on my own server which ensures
          that no more than 5000 (to be safe) requests to Overpass per
          day are made.</p>
        <p><br>
        </p>
        <p>Does this sound an acceptable use of the Overpass API?</p>
        <p><br>
        </p>
        <p>Thanks,</p>
        <p>Nick<br>
        </p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/dev">https://lists.openstreetmap.org/listinfo/dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>