<div><div dir="auto">Hi John,</div><div dir="auto"><br></div><div dir="auto">Thanks for this suggestion.</div><div dir="auto"><br></div><div dir="auto">Would it be an idea to enhance the mapathon instructions, to include suggestions such as running scripts like these (at the validation stage, or perhaps run by the task owner)?</div><div dir="auto"><br></div><div dir="auto">If anybody wants to get together to discuss those planning/ best practice-related issues, I'd be very happy to  join in!</div><div dir="auto"><br></div><div dir="auto">Bjoern</div><br><div class="gmail_quote"><div>On Wed, 27 Dec 2017 at 19:12, john whelan <<a href="mailto:jwhelan0112@gmail.com">jwhelan0112@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">A snapshot of 10% of Uganda gave me 870 duplicate buildings. This is where two buildings overlap by more than 50%. This is merely to give you an idea of the scope of the problem.<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">If you are relying on the data then running <span class="m_-1124591859605191107gmail-gI"><span name="Mike Thompson" class="m_-1124591859605191107gmail-gD">Mike Thompson's </span></span>detect building script will find any duplicates in your project.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Typically I'm seeing clusters of up to 200 duplicate buildings in a small area, that one was on a project to count buildings for a solar panels. These are not uploaded twice but the buildings have been mapped twice with small differences.<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><div><a href="https://github.com/MikeTho16/JOSM-Scripts" target="_blank">https://github.com/MikeTho16/<span class="m_-1124591859605191107gmail-il">JOSM</span>-Scripts</a><br></div><div><br></div><div>Select Duplicate Buildings <br></div><span class="m_-1124591859605191107gmail-im"><div>Selects duplicate, or near duplicate, area buildings in <span class="m_-1124591859605191107gmail-il">JOSM</span>'s active datalayer.</div></span><div>A "near duplicate" is a building whose area overlaps another building's</div><div>area by more than 50%. Only the first building encountered of an </div><div>overlapping pair is selected. This is done so the issue does not have to be </div><div>looked at twice. The selected buildings are added to the current selection.  </div><div>Currently only works with buildings that are ways (not multipolygons).</div></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><div>To Run:</div><div>* Install <span class="m_-1124591859605191107gmail-il">JOSM</span>'s Scripting Plugin (only necessary once)</div><div>* Place file in a convenient location on your system (only necessary once)</div><span class="m_-1124591859605191107gmail-im"><div>* Click "Scripting" (on top menu bar)</div><div>* Click "Run"</div></span><div>* Click "..." button and select the script file.</div><div>* Click "Run"</div><div><br></div><div>If you decide to delete some I'd recommend downloading the area fresh in JOSM then running the script, inspect each building deleting if need be then upload the results quickly to reduce the risk of a another mapper deleting the other building of a pair.  <br></div><div><br></div><div>Cheerio John<br></div></div></div>
_______________________________________________<br>
HOT mailing list<br>
<a href="mailto:HOT@openstreetmap.org" target="_blank">HOT@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/hot" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/hot</a><br>
</blockquote></div></div>