diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-25 21:54:54 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-25 21:54:54 +1000 |
commit | a618d9ddda3a310ddde67db8d319681a62803f15 (patch) | |
tree | 066e6661e183f8fa1d1371e069eb6e688c87032d | |
parent | 201dfc10145a92cbce17f9774d7b662bd321b741 (diff) |
simplify to type/id
-rwxr-xr-x | bin/conflate.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/conflate.js b/bin/conflate.js index ca54bff..225dd89 100755 --- a/bin/conflate.js +++ b/bin/conflate.js @@ -188,8 +188,7 @@ const conflate = new Transform({ if (osmPoly) { // address found within an existing OSM address polygon if (argv.debug) { - feature.properties._osmtype = osmPoly.properties['@type'] - feature.properties._osmid = osmPoly.properties['@id'] + feature.properties._osm = `${osmPoly.properties['@type']}/${osmPoly.properties['@id']}` } outputStreams.withinExistingOSMAddressPoly.write(feature) |