-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathfeatures.js
53 lines (49 loc) · 1.23 KB
/
features.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
default list of tags to extract from the pbf file when running
imports. @see: https://github.com/pelias/pbf2json for more info.
**/
// default tags imported
const tags = [
'addr:housenumber+addr:street',
'addr:housenumber+addr:place' // @ref https://github.com/pelias/pelias/issues/787#issuecomment-477137803
];
// tags corresponding to venues
const venue_tags = [
'amenity+name',
'building+name',
'shop+name',
'office+name',
'public_transport+name',
'cuisine+name',
'railway~station+name',
'railway~tram_stop+name',
'railway~halt+name',
'railway~subway_entrance+name',
'railway~train_station_entrance+name',
'highway~pedestrian+area~yes+name',
'place~square+name',
'sport+name',
'natural+name',
'tourism+name',
'leisure+name',
'historic+name',
'man_made+name',
'landuse+name',
'waterway+name',
'aerialway+name',
'craft+name',
'military+name',
'aeroway~terminal+name',
'aeroway~aerodrome+name',
'aeroway~helipad+name',
'aeroway~airstrip+name',
'aeroway~heliport+name',
'aeroway~areodrome+name',
'aeroway~spaceport+name',
'aeroway~landing_strip+name',
'aeroway~airfield+name',
'aeroway~airport+name',
'brand+name',
'healthcare+name'
];
module.exports = {tags,venue_tags};