Reads a raw OSM .json file (as produced by updateBuildings), extracts nodes with
a valid street address, and writes a cleaned *-complete.json to the same directory.
Mappings applied:
@_id -> ID
@_lat -> lat
@_lon -> long
tag[@_k="name"] -> buildingName
tag[@_k="addr:housenumber"]
+ tag[@_k="addr:street"] -> address (concatenated, e.g. "3711 Plaza Drive")
Nodes without both addr:housenumber and addr:street are dropped.
Multiple nodes sharing the same @_id are merged into one entry.
Reads a raw OSM .json file (as produced by updateBuildings), extracts nodes with a valid street address, and writes a cleaned *-complete.json to the same directory.
Mappings applied: @_id -> ID @_lat -> lat @_lon -> long tag[@_k="name"] -> buildingName tag[@_k="addr:housenumber"] + tag[@_k="addr:street"] -> address (concatenated, e.g. "3711 Plaza Drive")
Nodes without both addr:housenumber and addr:street are dropped. Multiple nodes sharing the same @_id are merged into one entry.