<br><br><div class="gmail_quote">On Fri, Jul 26, 2013 at 1:49 AM, David Riccitelli <span dir="ltr"><<a href="mailto:david@insideout.io" target="_blank">david@insideout.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hello,<div><br></div><div>We've completed the revision of the import procedure, implementing all the agreed changes.</div><div><br></div><div>The most important update is the validation, before <em>making any operation</em> on OpenStreetMap, the POI is validated:</div>


<div>

<ol>
<li>if it is an existing POI (i.e. it has an OpenStreetMap ID and 
version), then the local version is compared with the OpenStreetMap 
version. If they don't match, meaning that the node has been updated on 
OpenStreetMap by another mapper, or if the node is gone, meaning it has 
been deleted by another mapper, validation fails.</li>
<li>if it is a new POI, a check is made whether a node of the same kind (in our specific scenario <em>amenity=charging_station</em>) exists in a 100m. radius. If an existing node exists, validation fails.</li>
</ol><p>When validation fails, an error is written in the log and the Importer <strong>does not perform any operation on OpenStreetMap</strong>.</p></div></div></blockquote><div>When I do similar updates, I create a file for JOSM as the primary result, and using the TODO plugin, cycle through each proposed update. </div>

<div>The hand review step can go really fast... I think you have few enough charging stations to use it.</div><div><br></div><div>Note that my process always overwrites tags with the new data (opening hours, etc)... but leaves nodes at their hand adjusted position.</div>

</div>