<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 06/12/2019 14:08, Jean Marie Falisse
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:610D5E3A-9AC3-4C13-BF1B-800566C88795@skynet.be">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class=""><br class="">
      </div>
      <div class="">1.  Is all this written in java?</div>
    </blockquote>
    <p>Taking the examples from
      <a class="moz-txt-link-freetext" href="https://www.openstreetmap.org/user/SomeoneElse/diary/391484">https://www.openstreetmap.org/user/SomeoneElse/diary/391484</a> :<br>
    </p>
    <ul>
      <li>osmosis is written in Java</li>
      <li>osmium is I believe C++<br>
      </li>
      <li>osm2pgsql's lua interface (obviously) calls things written in
        lua</li>
      <li>mkgmap is Java, and uses a style definition in its own format<br>
      </li>
      <li>OsmAnd (Android) is Android Java, but the style definitions
        (which can do tag transforms) are just XML files<br>
      </li>
      <li>osmfilter is C</li>
      <li>Valhalla appears to be C++</li>
    </ul>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:610D5E3A-9AC3-4C13-BF1B-800566C88795@skynet.be">
      <div class=""><br class="">
      </div>
      <div class="">2.  Is there anything going on in Haskell? I’d love
        to be involved in something using Haskell.</div>
    </blockquote>
    <p>I'm not aware of anything, but most of those examples are to some
      extent stand-alone - if you wanted to write something in Haskell
      to do the same or a different standalone job you could.</p>
    <p>For example, suppose you wanted to write something that you
      wanted to maintain a personal list of tags that you as a data
      consumer wanted to be treated as if they were another tag.  It'd
      be able to generate from this list:</p>
    <ul>
      <li>lua for use by the "generic" lua call from osm2pgsql</li>
      <li>Java called by mkgmap, or a style definition that can be used
        by it</li>
      <li>XML style definitions for OsmAnd</li>
    </ul>
    <p>You could write the code to generate the above in anything you
      like, even COBOL*.  <br>
    </p>
    <p>Best Regards,</p>
    <p>Andy</p>
    <p>* not just a joke - I did do something very like this in a
      COBOL-based language in the 1980s on a long-defunct minicomputer
      platform.</p>
    <p><br>
    </p>
    <br>
    <blockquote type="cite"
      cite="mid:610D5E3A-9AC3-4C13-BF1B-800566C88795@skynet.be">
    </blockquote>
  </body>
</html>