<div dir="ltr">Dear Rory, dear Martin, dear friends,<div><br></div><div>thanks for the message, and the instructions. Particularly the reminder of the TODO plugin. I assume it's ok with you that I'll add some of this to the wiki, as a page on improving buildings from nodes->ways?</div><div><br></div><div>We have a script here </div><div><a href="https://github.com/OSM-Utilities/JOSM-Scripts-HOT/blob/master/processNodeBuildings.js" target="_blank">https://github.com/OSM-Utiliti<wbr>es/JOSM-Scripts-HOT/blob/<wbr>master/processNodeBuildings.js</a><br></div><div>that adds menu items to JOSM (that can be moved to the toolbar, or be tied to keyboard shortcuts). Each menu item does a "<span style="font-size:12.8px">replaces geometry" (preserving the node/tags) to various choices of shapes (large/small circle, rectangle, square, .... it's configurable). After replacement, the object remains selected, so that it's fast to use scale/rotate in JOSM to make the object more precise. </span><span style="font-size:12.8px">The script can also identify node buildings (and go through them one by one), though it it's just as good to do this with the TODO plugin.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">So you'd just use</span></div><div><span style="font-size:12.8px">- "]" to go forward</span></div><div><span style="font-size:12.8px">- keystroke for "replace node with circle" (or whatever other shape you need)</span></div><div><span style="font-size:12.8px">- scale/rotate/reposition/extrude</span></div><div><span style="font-size:12.8px">- repeat.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Of course, for complex buildings it'll still take time, but the above is the fastest I can think of- at least it automatically preserves the previous node and any tags. Any other suggestions or anything else people might want to see in the script? </span><a href="https://taginfo.openstreetmap.org/keys/?key=building" target="_blank" style="font-size:12.8px">https://taginfo.openstreetmap.<wbr>org/keys/?key=building</a><span style="font-size:12.8px"> says there's just about 0.9m node[building], so it's worth making the process as efficient as possible.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Best wishes,</span></div><div>Bjoern</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 June 2017 at 16:14, Rory McCann <span dir="ltr"><<a href="mailto:rory@technomancy.org" target="_blank">rory@technomancy.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On 11/06/17 23:17, Bjoern Hassler wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Of course. However, it was a significant effort to mark the 3200 buildings, and it's impossible for me to manually trace 3200<br>
buildings.<br>
</blockquote>
<br></span>
I don't think tracing 3,200 buildings is impossible. It's a fair amount<br>
of work, but it can be done.<br>
<br>
With JOSM, and a few plugins, you can make it much easier. You'll need<br>
the todo, building_tools, utilsplugin2 and continousDownload plugins.<br>
<br>
Once those plugins are installed, open up the advanced preferences and<br>
disable 'default-on' for continuosDownload ( set<br>
plugin.continuos_download.acti<wbr>ve_default to false), reduce the wait time<br>
(plugin.continuos_download.wai<wbr>t_time 10), and for this task you should<br>
turn off default tags for the building tools (buildings_tools.tags [])<br>
<br>
When you've done that, this is how you remap all the buildings:<br>
<br>
1) Use Overpass Turbo to find the nodes with building tag and export<br>
them into JOSM. This Overpass query will find them:<br>
<br>
    [out:xml][timeout:2500];(node[<wbr>"building"]({{bbox}}););out meta;>;out meta qt;<br>
<br>
2) Select all nodes (Control-A) and add them to the TODO-list<br>
<br>
3) Double click on the topmost entry in the todo list, to zoom into one,<br>
and download that area. Turn on some aerial imagery. Turn on "continuous<br>
download (File menu).<br>
<br>
4) press B to map the current building as a rectangle, or draw a<br>
triangle, and press Shit-O to create a circle.<br>
<br>
5) press S, then select the original point and shift left click to<br>
select the new building, and press Control-Shift-G (replace geometry) to<br>
move the tags over to the way, and remove the old node<br>
<br>
6) Press ] to go to the next node. Go back to step 4.<br>
<br>
This is a fast an quick way to remap buildings from aerial imagery.<br>
<br>
I saw the discussion on the HOT list about buildings mapped as nodes,<br>
and started to remap and clean up the instances in Ireland. If you keep<br>
at them, you can do it! If you recruit one more person, you'll half your<br>
work, etc.<br>
<br>
>From looking at Ireland, I've noticed that there are many nodes with the<br>
building tag which are badly placed, or there's one node for many<br>
buildings, or no building at all. If you manually look at them, you'll<br>
get better results than a script.<br>
<br>
I hope that helps,<br>
<br>
Rory<div class="gmail-m_7772353537754045114HOEnZb"><div class="gmail-m_7772353537754045114h5"><br>
<br>
<br>
______________________________<wbr>_________________<br>
Imports mailing list<br>
<a href="mailto:Imports@openstreetmap.org" target="_blank">Imports@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/imports" rel="noreferrer" target="_blank">https://lists.openstreetmap.or<wbr>g/listinfo/imports</a><br>
</div></div></blockquote></div><br></div></div>