<div dir="ltr"><div>Hello,</div><div><br></div><div>Je projette d'importer les arbres municipaux de Grenoble disponibles en ODbL sur le portail open date le ville: <a href="http://data.metropolegrenoble.fr/ckan/dataset/les-arbres-de-grenoble">http://data.metropolegrenoble.fr/ckan/dataset/les-arbres-de-grenoble</a></div><div><br></div><div>Contrairement aux données de la ville de Nice il n'y a pas que la localisation mais aussi le genre/espèce et l'année de plantation. Pour cette dernière info pensez vous qu'il est possible de rajouter un tag ? Malheureusement je ne vois rien de tel sur le wiki...</div><div><br></div><div>Mon script regarde si des arbres existent déjà dans un rayon de 3 mètres: s'il y en a pas il créé un nouvel arbre et sinon il met à jour l'arbre (le plus proche s'il y en a plusieurs) en modifiant la position et en ajoutant les tags d'espèces/genre (sauf s'il existe déjà une valeur). Il y a également une vérification pour éviter d'importer un arbre à l'intérieur d'un bâtiment.  <br></div><div><br></div><div>Pour info voici quelques stats:</div><div><div style="color:rgb(0,0,0);font-size:12.8px"><div style="font-size:12.8px">2017-11-16 22:52:02  INFO === Loading statistics ===</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of parsed imports: 30850</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of filtered out imports: 62</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of loaded imports: 30788</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO === Processing statistics ===</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of makable imports: 30737</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of non makable imports: 51</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Matching area radius: 3.0</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Matching closest only: true</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of created trees: 24211</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of updated trees: 6526</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of created or updated trees: 30737</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Total of multi matching trees: 558</div><div style="font-size:12.8px">2017-11-16 22:52:02  INFO Job has been executed in 535 seconds</div><div style="font-size:12.8px"><span style="font-size:12.8px">2017-11-16 22:52:03  INFO === Closing OSM XML service ===</span><br></div><div style="font-size:12.8px">2017-11-16 22:52:03  INFO Total of writing successes: 3</div><div style="font-size:12.8px">2017-11-16 22:52:03  INFO Total of writing failures: 0</div><div style="font-size:12.8px">2017-11-16 22:52:03  INFO === Closing OSM API service ===</div><div style="font-size:12.8px">2017-11-16 22:52:03  INFO Total of read operations: success=6748 failure=0</div><div style="font-size:12.8px">2017-11-16 22:52:03  INFO Total of write operations: success=0 failure=0</div><div style="font-size:12.8px">2017-11-16 22:52:03  INFO Total of changeset operations: open=0 close=0</div></div></div><div><br></div><div>++ Vincent</div><div><br></div></div>