From a5f57f9d603aaccaaad35ecd268920e0f3a1fdf4 Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Thu, 20 May 2021 14:28:18 +1000 Subject: addresses where interpolation line exists are fine to import --- bin/conflate.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bin/conflate.js') diff --git a/bin/conflate.js b/bin/conflate.js index 09667c5..0385c18 100755 --- a/bin/conflate.js +++ b/bin/conflate.js @@ -175,10 +175,12 @@ const conflate = new Transform({ outputStreams.noExactMatch.write(feature) } } else { - // block id not found in osmAddrPoints or osmAddrPolygonsByBlock, meaning there are no osmAddress points or polygons in this block, - // maybe there was an address as a linear way? - // we ignore address interpolation lines and only look at the endpoint nodes from the interpolation way - console.log(`Block ID ${block.id} not found when expected for `, JSON.stringify(feature), JSON.stringify(block)) + // block id not found in osmAddrPoints or osmAddrPolygonsByBlock, + // however the block was found to be containing OSM addresses + // this likely happens when there is an address on a linear way like address interpolation line + // given this import plans to replace address interpolation lines, then output as fine to import + + outputStreams.noOSMAddressWithinBlock.write(feature) } } } -- cgit v1.2.3