]> git.openstreetmap.org Git - nominatim.git/blob - settings/phrase_settings.py
Ported functions for the import of special phrases from php to python.
[nominatim.git] / settings / phrase_settings.py
1 """
2     These settings control the import of special phrases from the wiki.
3 """
4 #class/type combinations to exclude
5 BLACK_LIST = {
6     'bounday': [
7         'administrative'
8     ],
9     'place': [
10         'house',
11         'houses'
12     ]
13 }
14
15 #If a class is in the white list then all types will
16 #be ignored except the ones given in the list.
17 #Also use this list to exclude an entire class from
18 #special phrases.
19 WHITE_LIST = {
20     'highway': [
21         'bus_stop',
22         'rest_area',
23         'raceway'
24     ],
25     'building': []
26 }