<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <a class="moz-txt-link-freetext"
      href="http://wiki.openstreetmap.org/wiki/Osmfilter"></a> Hi all,<br>
    I already replied Pierre-Alain on the french list, but it maybe
    useful for others too.<br>
    For an extract of cross-country trails at [1], I use a world planet
    file updated by osmosis as a file with daily diffs whenever I feel
    like too. Find the script attached.<br>
    Then Osmfilter [2] do the filtering, as in my case Osmosis is not
    able to filter relations recursively enough.<br>
    Planet update is ~4 hours, filtering ~2hours on a 4Go ram machine.<br>
    By the way, same result on a 7200rpm disk or SSD disk. I guess ram
    and compression are the bottlenecks.<br>
    <br>
    Yves<br>
    [1] <a class="moz-txt-link-abbreviated"
      href="http://www.pistes-nordiques.org">www.pistes-nordiques.org</a><br>
    [2] <a class="moz-txt-link-freetext"
      href="http://wiki.openstreetmap.org/wiki/Osmfilter">http://wiki.openstreetmap.org/wiki/Osmfilter</a>
    <br>
    <br>
    On 24. 04. 11 20:59, Martijn van Exel wrote:
    <blockquote
      cite="mid:BANLkTikXUUvqwCq2t6UzNovsMYJMGahMUw@mail.gmail.com"
      type="cite">Hi Pierre,<br>
      <br>
      As far as XAPI servers go I have given up for now, although
      MapQuest is running a more reliable instance[1] that may be
      useful, although they employ Ian's Java implementation as well so
      the same bbox limitations likely apply.<br>
      <br>
      I am, in fact, working on a similar project in the Netherlands and
      for an up-to-date data feed for CCTV cameras I use the process
      described here[2]. I'd love to compare that to your approach, we
      can probably benefit from each other's work. <br>
      <br>
      Best<br>
      Martijn<br>
      <br>
      [1] <a moz-do-not-send="true"
        href="http://developer.mapquest.com/web/products/open/xapi">http://developer.mapquest.com/web/products/open/xapi</a><br>
      [2] <a moz-do-not-send="true"
href="https://docs.google.com/document/pub?id=1paaYsOakgJEYP380R70s4SGYq8ME3ASl-mweVi1DlQ4">https://docs.google.com/document/pub?id=1paaYsOakgJEYP380R70s4SGYq8ME3ASl-mweVi1DlQ4</a><br>
      <br>
      <div class="gmail_quote">On Sat, Apr 23, 2011 at 9:57 PM,
        Pierre-Alain Dorange <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:pdorange@mac.com">pdorange@mac.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Hi, i'm a french contributor and i look for advice for a
          project.<br>
          <br>
          I'm processing free french city official data (from insee,
          official stat<br>
          agency) and i have to match those city with osm city (place=*)
          to<br>
          geolocalize it on a map.<br>
          The project is to present cctv surveillance in the country
          (see demo at<br>
          [1]).<br>
          <br>
          To get those data and preprocess them i used XAPI to retrive
          all nodes<br>
          with tag place=* :<br>
          <br>
          The result is fine but XAPI servers are randomly running and
          data seems<br>
          old. New Java XAPI servers do not accept the bounding box :
          too large.<br>
          <br>
          What are the best way to retrieve OSM raw data (xml format
          would be<br>
          preferable) to update regulary the project's data ?<br>
          <br>
          Thanks.<br>
          <br>
          [1] project demo<br>
          <a moz-do-not-send="true"
            href="http://www.leretourdelautruche.com/map/cctv/cctv_map.php"
            target="_blank">http://www.leretourdelautruche.com/map/cctv/cctv_map.php</a><br>
          <br>
          These map show city global data (user contributions) and
          individual cctv<br>
          camera localisation (from OSM man_made=surveillance) when you
          zoom to a<br>
          city with cctv mapped (ie. Strasbourg) :<br>
          <<a moz-do-not-send="true"
href="http://www.leretourdelautruche.com/map/cctv/cctv_map.php?zoom=15&lat=48%0A.5831&lon=7.75238&layers=B0T"
            target="_blank">http://www.leretourdelautruche.com/map/cctv/cctv_map.php?zoom=15&lat=48<br>
            .5831&lon=7.75238&layers=B0T</a>><br>
          <br>
          --<br>
          Pierre-Alain Dorange<br>
          OSM experiences : <<a moz-do-not-send="true"
            href="http://www.leretourdelautruche.com/map/"
            target="_blank">http://www.leretourdelautruche.com/map/</a>><br>
          <br>
          <br>
          _______________________________________________<br>
          dev mailing list<br>
          <a moz-do-not-send="true" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.openstreetmap.org/listinfo/dev"
            target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Martijn van Exel<br>
      <a moz-do-not-send="true" href="http://about.me/mvexel"
        target="_blank">http://about.me/mvexel</a><br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>