<div dir="ltr">Une telle table n'existe pas en tant que telle, mais on peut plus ou moins la déduire.<div><br></div><div>Une valeur qui a une fréquence faible est suspecte... et donc tu peux envisager d'interroger l'API de taginfo pour obtenir ce type d'information.</div>

<div><br></div><div>Exemple pour highway: <a href="http://taginfo.openstreetmap.org/keys/highway#values">http://taginfo.openstreetmap.org/keys/highway#values</a></div><div><br></div><div>L'API est décrite ici: <a href="http://taginfo.openstreetmap.org/taginfo/apidoc">http://taginfo.openstreetmap.org/taginfo/apidoc</a></div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">Le 31 juillet 2014 16:44, Pierre Béland <span dir="ltr"><<a href="mailto:pierzenh@yahoo.fr" target="_blank">pierzenh@yahoo.fr</a>></span> a écrit :<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:10pt">

<div><span>Je suis à développer un script de statistiques à partir de fichiers OSMPlanet. Il sera ainsi possible d'avoir des statistiques périodiques d'objets par pays/région,etc, de voir la progression.</span></div>

<div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br><span></span></div>

<div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>Tant qu'à analyser le fichier OSM lors du classement par catégorie, il m'apparait intéressant de produire un fichier de validation pour les objets ayant des valeurs apparemment invalides. Pour des communautés locales, ou lors de formations, il serait par exemple possible d'extraire les données OSM de la zone et d'obtenir un tel fichier de validation et analyser les problèmes rencontrés, gérer ces problèmes localement. <br>

</span></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span><br>

</span></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>Il est facile d'identifier les objets qui n'ont que des attributs secondaires (ie. name, source, note, sport, etc). Lorsqu'un attribut tel que amenity, shop ou highway est fourni, il serait intéressant de vérifier si la valeur est valide. <br>

</span></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span><br>

</span></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>Pouvez-vous m'indiquer où trouver une table des valeurs actuels des attributs (ie cle-valeur).</span></div>

<div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span><br></span></div>

<div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>Cela permettrait par exemple de repérer des objets tels que highway=Route des lilas, etc.<span class="HOEnZb"><font color="#888888"><br>

</font></span></span></div><span class="HOEnZb"><font color="#888888"><br><br><div><span style="font-style:italic;color:rgb(0,0,191);font-weight:bold">Pierre <br></span></div></font></span></div></div><br>_______________________________________________<br>


Talk-fr mailing list<br>
<a href="mailto:Talk-fr@openstreetmap.org">Talk-fr@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-fr" target="_blank">https://lists.openstreetmap.org/listinfo/talk-fr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Christian Quest - OpenStreetMap France</div>
</div>