From c668a54f9dff33a4784a757cfc531d7e3c848e4b Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Sat, 21 May 2022 14:42:21 +1000 Subject: fix BUILDING_NAME and COMPLEX_NAME longer GDB attributes --- bin/vicmap2osm.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/vicmap2osm.js b/bin/vicmap2osm.js index f637fd4..d2c676b 100755 --- a/bin/vicmap2osm.js +++ b/bin/vicmap2osm.js @@ -62,12 +62,12 @@ const transform = new Transform({ } } - if (feature.properties.COMPLEX) { + if (feature.properties.COMPLEX_NAME) { const complexFeature = { type: 'Feature', id: `${feature.properties.PFI}`, properties: { - name: feature.properties.COMPLEX + name: feature.properties.COMPLEX_NAME }, geometry: feature.geometry } @@ -81,12 +81,12 @@ const transform = new Transform({ includeDerivableProperties: argv.preserveDerivableProperties }) - if (feature.properties.BUILDING) { + if (feature.properties.BUILDING_NAME) { const buildingFeature = { type: 'Feature', id: `${feature.properties.PFI}`, properties: Object.assign({}, osm.properties, { - name: feature.properties.BUILDING + name: feature.properties.BUILDING_NAME }), geometry: osm.geometry } -- cgit v1.2.3