aboutsummaryrefslogtreecommitdiff
path: root/lib/toOSM.js
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-25 18:09:46 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-25 18:09:46 +1000
commit12e3ec6bb627d2ce78cfb310b27b899527cdccb6 (patch)
treee19a1df46362bf8f63136bd9ae93eafcaa5145c6 /lib/toOSM.js
parent99c29808513567c77a044bdcde9a9b238f2f933d (diff)
node 15 needed for String.replaceAll
Diffstat (limited to 'lib/toOSM.js')
-rw-r--r--lib/toOSM.js18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/toOSM.js b/lib/toOSM.js
index bd3e1e4..c928cfa 100644
--- a/lib/toOSM.js
+++ b/lib/toOSM.js
@@ -64,11 +64,27 @@ const emptyNames = [
'NOT NAMED'
]
+// Table 13 in Vicmap Address Product Spec
const roadSuffixMap = {
N: 'North',
S: 'South',
E: 'East',
- W: 'West'
+ W: 'West',
+ LR: 'Lower',
+ UP: 'Upper',
+ NE: 'North East',
+ NW: 'North West',
+ SE: 'South East',
+ SW: 'South West',
+ CN: 'Central',
+ EX: 'Extension',
+ ML: 'Mall',
+ OT: 'Outer',
+ IN: 'Inner',
+ OF: 'Off',
+ ON: 'On',
+ DV: 'Deviation',
+ BR: 'Branch'
}
const suburbMap = {