[Talk-us-massachusetts] MassGIS address import -- on duplicates and weird housenumbers
Angela Morley
amorley at protonmail.com
Tue Jul 24 22:54:04 UTC 2018
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.
Sent from ProtonMail mobile
-------- Original Message --------
On Jul 24, 2018, 5:37 PM, Alan & Ruth Bragg wrote:
> Yuri,
> Great work, I agree and am fine with rolling up stacked unit numbers into a list addr:unit=A;B;C
> I've looked at a couple pages on syntax and think the proper delimiter might be a semi-colon. Maybe someone knows better.
> I don't think the quotes are necessary.
>
> 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
> There are two locations with the 0 address in Bedford.
>
> My town gis map shows a building at 32 YD Road that's identified as 0 YD Road in the massgis point data file.
>
> 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"
>
> On Tue, Jul 24, 2018 at 12:49 PM Yury Yatsynovich <yury.yatsynovich at gmail.com> wrote:
>
>> 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).
>>
>> 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?
>> 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: https://mega.nz/#F!Wg9RQJzL!MIyYl9kq5AivIm5SOxGAow
>> Python script that I used: https://mega.nz/#!Ct9lCLDJ!bm7SpzTnuaYTdiNlJw4CGB3AQ3WjY6jxeC1cQzDRx4o
>>
>> 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).
>> --
>>
>> Yury Yatsynovich
>> _______________________________________________
>> Talk-us-massachusetts mailing list
>> Talk-us-massachusetts at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk-us-massachusetts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us-massachusetts/attachments/20180724/f38e40e5/attachment.html>
More information about the Talk-us-massachusetts
mailing list