There are a couple addresses I know of that are properly addr:housenumber=0, including 0 Broadway Lawrence (Kelley furniture). There's so few of them, though, that they can be manually fixed after such an import.<br><br><br>Sent from ProtonMail mobile<br><br><br><br>-------- Original Message --------<br>On Jul 24, 2018, 5:37 PM, Alan & Ruth Bragg < alan.ruth.bragg@gmail.com> wrote:<blockquote class="protonmail_quote"><br><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">Yuri,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">Great work, I agree and am fine with rolling up stacked unit numbers into a list addr:unit=A;B;C</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">I've looked at a couple pages on syntax and think the proper delimiter might be a semi-colon. Maybe someone knows better.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">I don't think the quotes are necessary.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">There are already 35 buildings in MA with an address of 0. It's certainly suspicious. I'm in favor of not importing zeros. Import the addr:street etc but not the addr:housenumber=0 </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">There are two locations with the 0 address in Bedford.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">My town gis map shows a building at 32 YD Road that's identified as 0 YD Road in the massgis point data file.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large">The other location with an address of 0 is in a stack of 110 nodes containing 77 different addresses  next to a road on Hanscom AFB. The POINT_TYPE is BMP.  BMP is noted in the massgis definitions as "oddly distributed buildings or unusually configured property boundaries ....we will consider shifting these points to more intuitive and suitable locations" </div><br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 24, 2018 at 12:49 PM Yury Yatsynovich <<a href="mailto:yury.yatsynovich@gmail.com">yury.yatsynovich@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 dir="ltr">For the points with units I've noticed that in most cases they are duplicates (have exactly the same location), so to avoid the error in JOSM that "duplicates are created" and to avoid mess on the map I would merge such points (same location, street and housenumber but different units), combining the info on units into addr:unit="A,B,C,..." etc. When/if somebody wants to allocate units to entrances it will take one a bit of extra effort -- instead of dragging ready points to the right entrance one would need to create such points from addr:unit="A,B,C,..."  (a relatively small extra step which can be implemented with a script).<br clear="all"><div><br></div><div>Another issue that I've noticed -- some addresses have housenumbers equal to 0, yet, some of them have proper unit numbers. What shall be done with such addresses? Importing addr:housenumber=0 as in MassGIS? Or are there other OSM-compatible sources to double-check addresses?<br><br></div><div>Currently I'm done with matching addresses to buildings and merging duplicate nodes (same location, street and housenumber but different units). I also used a python module titlecase + some patterns that I've noticed in names of streets in MA from OSM (so, there should be no problems with either "McDonald" or "YMCA Street"). Folder with matched and unmatched addresses split by counties is here: <span class="m_2233807108523319366gmail-file-link-info-wrapper"><span class="m_2233807108523319366gmail-file-link-info m_2233807108523319366gmail-url"><a href="https://mega.nz/#F!Wg9RQJzL" target="_blank">https://mega.nz/#F!Wg9RQJzL</a></span><span class="m_2233807108523319366gmail-file-link-info m_2233807108523319366gmail-key">!MIyYl9kq5AivIm5SOxGAow</span></span><br></div><div>Python script that I used: <span class="m_2233807108523319366gmail-file-link-info-wrapper"><span class="m_2233807108523319366gmail-file-link-info m_2233807108523319366gmail-url"><a href="https://mega.nz/#!Ct9lCLDJ" target="_blank">https://mega.nz/#!Ct9lCLDJ</a></span><span class="m_2233807108523319366gmail-file-link-info m_2233807108523319366gmail-key">!bm7SpzTnuaYTdiNlJw4CGB3AQ3WjY6jxeC1cQzDRx4o<br><br></span></span></div><div><span class="m_2233807108523319366gmail-file-link-info-wrapper"><span class="m_2233807108523319366gmail-file-link-info m_2233807108523319366gmail-key">In the next couple of days I'll try to write a script that would create changesets based on OSMID's of buildings (for adding to them matched addresses).</span></span><br></div><div>-- <br><div dir="ltr" class="m_2233807108523319366gmail_signature" data-smartmail="gmail_signature">Yury Yatsynovich</div></div></div>
_______________________________________________<br>
Talk-us-massachusetts mailing list<br>
<a href="mailto:Talk-us-massachusetts@openstreetmap.org" target="_blank">Talk-us-massachusetts@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-us-massachusetts" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-us-massachusetts</a><br>
</blockquote></div>
</div>