mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
Errors fixes, Cleaning code, Improvement and addition of tests
This commit is contained in:
0
test/testfiles/phrase-settings.json
Normal file
0
test/testfiles/phrase-settings.json
Normal file
20
test/testfiles/phrase_settings.php
Normal file
20
test/testfiles/phrase_settings.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
// These settings control the import of special phrases from the wiki.
|
||||
|
||||
// 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(),
|
||||
);
|
||||
0
test/testfiles/random_file.html
Normal file
0
test/testfiles/random_file.html
Normal file
Reference in New Issue
Block a user