From 5c96d0c4157c81648f53e6d7398fcd8e37bf2bfd Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Wed, 5 May 2021 21:09:19 +1000 Subject: omit addr:unit:prefix since it complicates the processing and it is not clear if it is even desired --- lib/toOSM.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/toOSM.js') diff --git a/lib/toOSM.js b/lib/toOSM.js index afa8057..1e30f4d 100644 --- a/lib/toOSM.js +++ b/lib/toOSM.js @@ -111,6 +111,7 @@ module.exports = (sourceFeature, options) => { if (bld_unit) { // building unit type (Unit, Shop, Suite...) // only included if a unit value is set + /* currently ommitted if (sourceProperties.BLGUNTTYP) { if (sourceProperties.BLGUNTTYP in buildingUnitType) { outputProperties['addr:unit:prefix'] = capitalCase(buildingUnitType[sourceProperties.BLGUNTTYP]) @@ -120,6 +121,7 @@ module.exports = (sourceFeature, options) => { } } } + */ outputProperties['addr:unit'] = bld_unit } -- cgit v1.2.3