source: subversion/sites/namefinder/www/dot.config.php.template @ 17445

Last change on this file since 17445 was 4136, checked in by david, 12 years ago

namefinder user interface

File size: 1.3 KB
Line 
1<?php
2
3// where to find the installation
4$config['installdir'] = '/Users/osm/namefinder';
5
6// where to find the php
7$config['includephp'] = "{$config['installdir']}/php";
8
9// open layers url
10$config['openlayersjsurl'] = 'OpenLayers-2.4/OpenLayers.js';
11
12// number of records to insert in one go when building index
13$config['insertchunk'] = 500;
14
15// the bounding area to consider when indexing
16// comment out to do the whole world
17// this is the UK (and a bit of France, and excluding the Orkney and Shetland islands)
18// $config['area'] = array('n'=>60.0,'s'=>49.9,'w'=>-8.0,'e'=>2.0);
19// $config['area'] = array('n'=>52.4,'s'=>52.0,'w'=>-0.25,'e'=>0.4);
20
21// default max number of names to return a match for
22$config['limit'] = 30;
23
24// the distance withing which items with the same name are considered to be the same
25$config['tooclose'] = 3.0; /* km */
26
27// where to get the map
28$config['maphref'] = 'http://www.openstreetmap.org/index.html';
29
30// debug level
31$config['debug'] = 0;
32
33// database parameters
34$config['y_db_name'] = 'namefinder';
35$config['y_db_user'] = 'osm';
36$config['y_db_password'] = 'db-users-password';
37// $config['y_db_prefix'] = 'alpha_';
38$config['y_db_log'] = "{$config['installdir']}/dblog";
39$config['y_db_always_lock'] = TRUE;
40// $config['y_db_debug'] = TRUE;
41
42?>
Note: See TracBrowser for help on using the repository browser.