@define('CONST_Limit_Reindexing', true);
// Set to false to avoid importing extra postcodes for the US.
@define('CONST_Use_Extra_US_Postcodes', true);
-// Set to true after importing Tiger house number data for the US.
-// Note: The tables must already exist or queries will throw errors.
-// After changing this setting run ./utils/setup --create-functions
-// again.
+/* Set to true after importing Tiger house number data for the US.
+ Note: The tables must already exist or queries will throw errors.
+ After changing this setting run ./utils/setup --create-functions
+ again. */
@define('CONST_Use_US_Tiger_Data', false);
-// Set to true after importing other external house number data.
-// Note: the aux tables must already exist or queries will throw errors.
-// After changing this setting run ./utils/setup --create-functions
-// again.
+/* Set to true after importing other external house number data.
+ Note: the aux tables must already exist or queries will throw errors.
+ After changing this setting run ./utils/setup --create-functions
+ again. */
@define('CONST_Use_Aux_Location_data', false);
// Proxy settings
// Maximum number of OSM ids that may be queried at once
// for the places endpoint.
-@define('CONST_Places_Max_ID_count', 50);
+@define('CONST_Places_Max_ID_count', 50);
// Number of different geometry formats that may be queried in parallel.
// Set to zero to disable polygon output.
@define('CONST_Log_DB', false);
// Set to a file name to enable logging to a file.
@define('CONST_Log_File', false);
-
<?php
-# These settings control the import of special phrases from the wiki.
-# 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',
- );
+// These settings control the import of special phrases from the wiki.
-# class/type combinations to exclude
-$aTagsBlacklist = 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(
+ );
+
+// 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(),
-);
+ );