<div dir="auto">You can select an area then within the area search for buildings.<div dir="auto"><br></div><div dir="auto">So yes you can square multiple buildings at once but it doesn't really address the issue of accuracy.  The squaring process is an approximation so in doing it you lose accuracy.</div><div dir="auto"><br></div><div dir="auto">The best method is to draw them with a building tool such as the one found in JOSM's building_tool plugin.</div><div dir="auto"><br></div><div dir="auto">Cheerio John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 Nov 2017 12:39 pm, "hnugter" <<a href="mailto:hnugter@nugter.nl">hnugter@nugter.nl</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi All, <br>
    </p>
    <p>Does someone know  in JOSM if it's possible to select more than
      one building, lets say a group of buildings and square them at the
      same time?</p>
    <p>Regards<br>
      Henk<br>
    </p>
    <br>
    <div class="m_1466025215989002927moz-cite-prefix">Op 26-11-2017 om 03:18 schreef Harry
      Wood:<br>
    </div>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px">
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr">It's
          funny, I was having the same idea recently while using the
          JOSM validator on "finished" areas of TM projects.</div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr"><br id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24479">
        </div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr">JOSM
          validator already has a big red error category for duplicate
          buildings (where there is 100% overlap). This crops up a bit
          in our finished projects, but it shouldn't really. It's a
          clear data error. We should always fix duplicate buildings.
          ....So I start by fixing them.</div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr"><br>
        </div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr">Then
          there's a JOSM warning called "crossing buildings". Again this
          is always a data error actually, and ideally we'd fix all of
          these, but these are very common in our finished tasks. Every
          case where a neighbouring building is drawn over the top of
          the other, even ever so slightly. (Often we see buildings up
          against each other in the imagery. To be purely strictly
          correct, these should be mapped as ways sharing nodes, but
          it's understandable that folks don't always get that quite
          right, and it doesn't actually matter that much).  I sometimes
          spend ages fixing all the "crossing buildings" warnings,
          but...</div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr"><br>
        </div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr">...among
          these there are some cases which are more important to fix,
          where buildings are actually a kind of duplicate, but not 100%
          matching. The same building drawn in twice by two different
          people (probably due to mapping at around the same time). <br>
        </div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr"><br id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24871">
        </div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr">So
          I've just been trying this script by first fixing the 100%
          duplicates using the normal JOSM validator error, then next
          selecting these cases using the script. It works! But it's a
          bit fiddly to set-up and use. I was imaging this kind of
          logic, but as a refinement to the JOSM validator itself. Under
          the "crossing buildings" warning list it could show the
          major/minor types of crossing buildings.</div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr"><br>
        </div>
        <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23847" dir="ltr">Harry</div>
        <div class="m_1466025215989002927qtdSeparateBR" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23817"><br>
          <br>
        </div>
        <div class="m_1466025215989002927yahoo_quoted" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23932" style="display:block">
          <div style="font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23931">
            <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23930">
              <div dir="ltr" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23929">
                <font id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23987" size="2" face="Arial">
                  <hr id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23986" size="1"> <b><span style="font-weight:bold">From:</span></b>
                  john whelan <a class="m_1466025215989002927moz-txt-link-rfc2396E" href="mailto:jwhelan0112@gmail.com" target="_blank"><jwhelan0112@gmail.com></a><br>
                  <b><span style="font-weight:bold">To:</span></b>
                  <a class="m_1466025215989002927moz-txt-link-rfc2396E" href="mailto:hot@openstreetmap.org" target="_blank">"hot@openstreetmap.org"</a> <a class="m_1466025215989002927moz-txt-link-rfc2396E" href="mailto:hot@openstreetmap.org" target="_blank"><hot@openstreetmap.org></a>
                  <br>
                  <b><span style="font-weight:bold">Sent:</span></b>
                  Friday, 24 November 2017, 22:50<br>
                  <b><span style="font-weight:bold">Subject:</span></b>
                  [HOT] A new tool for spotting buildings that overlap
                  by more than 50%<br>
                </font> </div>
              <div class="m_1466025215989002927y_msg_container" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23976"><br>
                <div id="m_1466025215989002927yiv3188914958">
                  <div dir="ltr" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23975">
                    <div class="m_1466025215989002927yiv3188914958gmail_default" style="font-family:verdana,sans-serif;font-size:small" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23974">
                      <div class="m_1466025215989002927yiv3188914958gmail-m_368341469623829942gmail-yj6qo
yiv3188914958gmail-m_368341469623829942gmail-ajU" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23973">
                        <div id="m_1466025215989002927yiv3188914958gmail-m_368341469623829942gmail-:oe" class="m_1466025215989002927yiv3188914958gmail-m_368341469623829942gmail-ajR"><br>
                        </div>
                        <div class="m_1466025215989002927yiv3188914958gmail-m_368341469623829942gmail-ajR" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_23972">Mike
                          Thompson was kind enough to build me a JOSM
                          script.</div>
                        <div class="m_1466025215989002927yiv3188914958gmail-m_368341469623829942gmail-ajR" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24084"><br>
                        </div>
                        <div class="m_1466025215989002927yiv3188914958gmail-m_368341469623829942gmail-ajR" id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24083"><a rel="nofollow" href="https://github.com/MikeTho16/JOSM-Scripts" target="_blank">https://github.com/MikeTho16/
                            JOSM-Scripts</a><br>
                          <div>SelectDuplicateBuildings.js</div>
                          <div><br>
                          </div>
                          <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24799">
                            <div>To Run:</div>
                            <div>* Install JOSM's Scripting Plugin</div>
                            <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24798">*
                              Place above file in a convenient location
                              on your system </div>
                            <div>* Click "Scripting" (on top menu bar)</div>
                            <div>* Click "Run"</div>
                            <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24809">*
                              Click "..." button and select this file.</div>
                            <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24813">*
                              Click "Run"</div>
                          </div>
                          <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24811"><br>
                          </div>
                          <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24807">
                            <div id="m_1466025215989002927yui_3_16_0_ym19_1_1511651121444_24806">Selects
                              duplicate, or near duplicate, area
                              buildings in JOSM's active data layer. A
                              "near duplicate" is a building whose
                              bounding box overlaps another building's
                              bounding box by more than 50% (I couldn't
                              get a pure area compare to work).  Only
                              the first building encountered of an
                              overlapping pair is selected. The selected
                              buildings are added to the current
                              selection.</div>
                            <div><br>
                            </div>
                            <div>Note clear the selection first then use
                              the todo plugin to go through the
                              duplicated buildings.  <br>
                            </div>
                            <div><br>
                            </div>
                            <div>Cheerio John<br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                ______________________________<wbr>_________________<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" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/hot</a><br>
                <br>
                <br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_1466025215989002927mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
HOT mailing list
<a class="m_1466025215989002927moz-txt-link-abbreviated" href="mailto:HOT@openstreetmap.org" target="_blank">HOT@openstreetmap.org</a>
<a class="m_1466025215989002927moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/hot" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/hot</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div></div>