<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 28 févr. 10 à 14:12, Pieren a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; "><div style="word-wrap: break-word; "><div>J'ai commencé à bricoler un peu, je suis en train de construire un petit outil qui "pompe" dans Wikipédia les villes avec leurs données (Nom, Département, Région, population...) et fait la mise à jour dans un fichier .OSM (préalablement chargé par le même outils).</div></div></blockquote><div><br>Pour les noms, nous sommes déjà bien fournis, je pense. Il faut surtout éviter toute correction automatique en la matière parce qu'il reste quelques orthographes litigieuses et ce n'est pas le dernier edit de wikipedia qui devrait commander à OSM la bonne version.<span class="Apple-converted-space"> </span><br>Pour le reste, c'est surtout le tag de population qu'il faudrait automatiser mais ça serait mieux d'utiliser la source directe qui est l'INSEE. Une petite recherche dans nos archives indiquera quels tags utiliser pour le millésime et la mention de la source. L'ajout plus généralisé du code insee des communes devrait faciliter cette tâche.<br></div></div></span></blockquote><div><br></div><div>En effet je regarde coté INSEE direct pour la population, Wikipédia par contre peut permettre de placer la série des "is_in" (Pays, Région, Département, Arrondissement, Cantons) bien que pour les 2 derniers il ne semble pas y avoir véritable de niveau admin prévu ni de "is_in"...</div><div><br></div><div>Concernant certaines villes ma première "moulinette"</div><div><br></div><div>Pour préciser, je ne compte pas faire de mise à jour automatique de grande ampleur (je suis débutant) mais un outil pour repérer les manques  et compléter en passant par une analyse humaine bien sur.</div><div>Si j'avance suffisamment, je proposera ici même mon outil et lancera une discussion, pour le moment c'est plus un test pour voir ce que l'on peut faire.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="gmail_quote"><div><blockquote type="cite"> J'ai aussi un projet de réaliser un jeu avec Python/Pygame autour de OSM et de la géographie (idées bienvenues) pour le moment je fais les bases à savoir un visualiseur de cartes en mode plein écran à partir des données OSM on-line</blockquote></div></div><br>Pourquoi pas. Mais il faut savoir que la récupération des données OSM on-line est limitée en taille et en vitesse. Une réplication des données en local est peut-être plus judicieux si tu veux un rendu rapide.</span></blockquote><br></div><div>Je compte utiliser des rendus on-line pour les fonds de cartes mais une extraction locales des données nécessaire au jeu (ville, département, régions...)</div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Times; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><div><div><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Times; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><div><div><div><font class="Apple-style-span" color="#000000">-- </font></div><div><font class="Apple-style-span" color="#000000">Pierre-Alain Dorange, </font></div><div>Blog Citoyen de Cognac : <<a href="http://cognac-citoyen.blogspot.com/">http://cognac-citoyen.blogspot.com/</a>></div></div></div></div></span></div></span></div></span></div></span></div><font class="Apple-style-span" face="Times" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Twitter : <<a href="https://twitter.com/padorange">https://twitter.com/padorange</a>> - Facebook : <<a href="http://www.facebook.com/pa.dorange">http://www.facebook.com/pa.dorange</a>></span></font></span></div></div></div></div></span></div></span></div></span></div></span></div></span> </div><br></body></html>