From 426189e87fac3c45f39e631dfa6cd3f1dc714d0d Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Fri, 4 Sep 2015 12:09:30 -0400 Subject: [PATCH] Add sources -> types mapping file --- query/sources.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 query/sources.js diff --git a/query/sources.js b/query/sources.js new file mode 100644 index 00000000..77be7fb9 --- /dev/null +++ b/query/sources.js @@ -0,0 +1,10 @@ +/* + * Mapping from data sources to type values + */ + +module.exports = { + 'geonames': ['geoname'], + 'openaddresses' : ['openaddresses'], + 'quattroshapes': ['admin0', 'admin1', 'admin2', 'neighborhood', 'locality', 'local_admin'], + 'openstreetmap' : ['osmaddress', 'osmnode', 'osmway'] +};