mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
- the command is now --import-special-phrases - the output is not an sql file anymore, data are directly imported to the database. - the little part on the documentation (section data import) has been modified.
27 lines
527 B
Python
27 lines
527 B
Python
"""
|
|
These settings control the import of special phrases from the wiki.
|
|
"""
|
|
#class/type combinations to exclude
|
|
BLACK_LIST = {
|
|
'bounday': [
|
|
'administrative'
|
|
],
|
|
'place': [
|
|
'house',
|
|
'houses'
|
|
]
|
|
}
|
|
|
|
#If a class is in the white list then all types will
|
|
#be ignored except the ones given in the list.
|
|
#Also use this list to exclude an entire class from
|
|
#special phrases.
|
|
WHITE_LIST = {
|
|
'highway': [
|
|
'bus_stop',
|
|
'rest_area',
|
|
'raceway'
|
|
],
|
|
'building': []
|
|
}
|