aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vicmap2osm.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/vicmap2osm.js b/bin/vicmap2osm.js
index a45bc4e..e781ca7 100755
--- a/bin/vicmap2osm.js
+++ b/bin/vicmap2osm.js
@@ -64,6 +64,7 @@ const transform = new Transform({
if (feature.properties.COMPLEX) {
const complexFeature = {
type: 'Feature',
+ id: `${feature.properties.PFI}`,
properties: {
name: feature.properties.COMPLEX
},
@@ -82,6 +83,7 @@ const transform = new Transform({
if (feature.properties.BUILDING) {
const buildingFeature = {
type: 'Feature',
+ id: `${feature.properties.PFI}`,
properties: Object.assign({}, osm.properties, {
name: feature.properties.BUILDING
}),