X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/07628dc05daf0345fab3307601f05186ba863456..02550cc4dc5c015940fb8ba4babd7a760124e764:/settings/phrase_settings.php diff --git a/settings/phrase_settings.php b/settings/phrase_settings.php index 2e199ada..4ea5e021 100644 --- a/settings/phrase_settings.php +++ b/settings/phrase_settings.php @@ -1,51 +1,56 @@ array('administrative'), - 'place' => array('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. -$aTagsWhitelist = array( - 'highway' => array('bus_stop', 'rest_area', 'raceway'), - 'building' => array(), -); +// Languages to download the special phrases for. +$aLanguageIn + = array( + 'af', + 'ar', + 'br', + 'ca', + 'cs', + 'de', + 'en', + 'es', + 'et', + 'eu', + 'fa', + 'fi', + 'fr', + 'gl', + 'hr', + 'hu', + 'ia', + 'is', + 'it', + 'ja', + 'mk', + 'nl', + 'no', + 'pl', + 'ps', + 'pt', + 'ru', + 'sk', + 'sv', + 'uk', + 'vi', + ); + +// class/type combinations to exclude +$aTagsBlacklist + = array( + 'boundary' => array('administrative'), + 'place' => array('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. +$aTagsWhitelist + = array( + 'highway' => array('bus_stop', 'rest_area', 'raceway'), + 'building' => array(), + );