<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
With the cholera epidemic in Haiti, in the midst of the major rainy
season, it might be useful to have an analysis tool for the river
system, such as the one that is available for France at:<br>
<a class="moz-txt-link-freetext" href="http://jocelyn.alwaysdata.net/osm/suivi-affluents.html">http://jocelyn.alwaysdata.net/osm/suivi-affluents.html</a> ,<br>
which gives a synthetic view of the tributary connections and
relationships.<br>
<br>
His author, Jocelyn, agrees, and says that it just requires an osmosis
postgresql database of Haiti, and that his scripts should run as they
are.<br>
<br>
Would such a database be already setup somewhere ?<br>
<br>
<br>
His scripts are available at<br>
<pre><a class="moz-txt-link-freetext" href="http://github.com/jocelynj/osm/tree/master/rivieres/">http://github.com/jocelynj/osm/tree/master/rivieres/</a></pre>
init.sql adds the necessary view, and maj.sh should be run (with
adaptation) at each postgresql database update. suivi-affluents.php
generates the web page.<br>
<br>
<br>
For mappers, it could be an opportunity to review the waterway system
in Haiti.<br>
<br>
Best wishes,<br>
<br>
Jean-Guilhem<br>
<br>
<br>
For those interested, information about the epidemic is available at<br>
<a class="moz-txt-link-freetext" href="http://biosurveillance.typepad.com/haiti_operational_biosurv/">http://biosurveillance.typepad.com/haiti_operational_biosurv/</a><br>
<a class="moz-txt-link-freetext" href="http://cholerahaiti.crowdmap.com">http://cholerahaiti.crowdmap.com</a><br>
<br>
<br>
-------- Message original --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
 cellspacing="0">
  <tbody>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Sujet: </th>
      <td>Re: Suivi des cours d'eau pour Haïti ?</td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date : </th>
      <td>Sat, 23 Oct 2010 00:48:29 +0200</td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">De : </th>
      <td>Jocelyn Jaubert <a class="moz-txt-link-rfc2396E" href="mailto:jocelyn.jaubert@gmail.com"><jocelyn.jaubert@gmail.com></a></td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Pour : </th>
      <td>Jean-Guilhem Cailton <a class="moz-txt-link-rfc2396E" href="mailto:jgc@arkemie.com"><jgc@arkemie.com></a></td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Copie à : </th>
      <td>sly (sylvain letuffe) <a class="moz-txt-link-rfc2396E" href="mailto:sylvain@letuffe.org"><sylvain@letuffe.org></a></td>
    </tr>
  </tbody>
</table>
<br>
<br>
<pre>Bonjour,

Le 23 octobre 2010, Jean-Guilhem Cailton a écrit :
> Vous serait-il possible d'adapter vos outils pour Haïti ? (ou au
> moins l'un deux, peut-être celui de Jocelyn qui semble moins lié au
> Sandre (mais je n'ai qu'une vue superficielle), et donne une bonne
> vision synthétique des affluents).

Aucun souci pour adapter les scripts: il faut juste une base de donnée
postgresql osmosis de Haiti, et les scripts que j'ai fait devrait
marcher tels quels.

Je verrais demain dans quel mesure je peux mettre une bdd de Haiti sur
une machine disponible, mais l'idéal serait que cette bdd soit déjà en
place quelque part.

Pour info, mes scripts sont dispo sur
<a class="moz-txt-link-freetext" href="http://github.com/jocelynj/osm/tree/master/rivieres/">http://github.com/jocelynj/osm/tree/master/rivieres/</a>

Il faut lancer init.sql pour rajouter la vue nécessaire, et maj.sh (en
adaptant) à chaque mise à jour de la base de donnée postgresql. Le
script suivi-affluents.php est celui qui génére la page web.


Bonne idée en tout cas,
Jocelyn


</pre>
</body>
</html>