]> git.openstreetmap.org Git - nominatim.git/blob - settings/phrase_settings.php
use rank_address for linking places and boundaries
[nominatim.git] / settings / phrase_settings.php
1 <?php
2 # These settings control the import of special phrases from the wiki.
3
4 # Languages to download the special phrases for.
5 $aLanguageIn = array(
6                         'af',
7                         'ar',
8                         'br',
9                         'ca',
10                         'cs',
11                         'de',
12                         'en',
13                         'es',
14                         'et',
15                         'eu',
16                         'fa',
17                         'fi',
18                         'fr',
19                         'gl',
20                         'hr',
21                         'hu',
22                         'ia',
23                         'is',
24                         'it',
25                         'ja',
26                         'mk',
27                         'nl',
28                         'no',
29                         'pl',
30                         'ps',
31                         'pt',
32                         'ru',
33                         'sk',
34                         'sv',
35                         'uk',
36                         'vi',
37                 );
38
39 # class/type combinations to exclude
40 $aTagsBlacklist = array(
41   'boundary' => array('administrative'),
42   'place' => array('house', 'houses'),
43 );
44 # If a class is in the white list then all types will 
45 # be ignored except the ones given in the list.
46 # Also use this list to exclude an entire class from
47 # special phrases.
48 $aTagsWhitelist = array(
49   'highway' => array('bus_stop', 'rest_area', 'raceway'),
50   'building' => array(),
51 );