diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2022-03-21 14:00:52 +1100 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2022-03-21 14:00:52 +1100 |
commit | b82f38d8e81530ad47af875f91ee54c80a37fdd8 (patch) | |
tree | 5957ff56fbaab3d8a3aab2ff70c01bcca2ad17ef /lib/filterSource.js | |
parent | d615d1734030454bceff9970e03fe5b2efaeeaa1 (diff) |
swap to gdb source
Diffstat (limited to 'lib/filterSource.js')
-rw-r--r-- | lib/filterSource.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filterSource.js b/lib/filterSource.js index af535bf..1527045 100644 --- a/lib/filterSource.js +++ b/lib/filterSource.js @@ -26,8 +26,8 @@ const buildingUnitTypeWhitelist = [ module.exports = (feature) => { // if the address has a building unit type, only allow a few whitelisted types - if ('BLGUNTTYP' in feature.properties && feature.properties.BLGUNTTYP !== null) { - if (buildingUnitTypeWhitelist.includes(feature.properties.BLGUNTTYP)) { + if ('BLG_UNIT_TYPE' in feature.properties && feature.properties.BLG_UNIT_TYPE !== null) { + if (buildingUnitTypeWhitelist.includes(feature.properties.BLG_UNIT_TYPE)) { // building unit type in the whitelist, include feature return true } else { |