forked from Maprunner/rg2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rg2-config .txt
48 lines (40 loc) · 2.38 KB
/
rg2-config .txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* The configuration file for RG2.
*
* This file should be modified to set up the details for a specific Routegadget installation.
*
*/
// Location of directory where Routegadget is installed.
// This should have /cgi-bin, /kartat and /rg2 sub-directories.
// Example define('RG_BASE_DIRECTORY', 'http://www.happyherts.routegadget.co.uk');
define('RG_BASE_DIRECTORY', 'http://www.happyherts.routegadget.co.uk');
// location of Splitsbrowser files if required: see Wiki for details of how to install Splitsbrowser
define('SPLITSBROWSER_DIRECTORY', 'http://www.happyherts.routegadget.co.uk/splitsbrowser');
// default language if not English: this is overridden if the query includes a language (e.g. ?lang=fi)
// requires a dictionary file xx.txt in the lang directory
// define('START_LANGUAGE', 'fi');
// Set encoding for input data default UTF-8
define('RG_FILE_ENCODING', 'UTF-8');
// User interface colour theme: see gallery at http://jqueryui.com/themeroller/
// Example define('UI_THEME', 'smoothness');
define('UI_THEME', 'smoothness');
// set these to an RGB colour definition to override default configuration of white text on blue background for the header
// if you change them make sure the text shows up on the background
define('HEADER_COLOUR', '#002bd9');
define('HEADER_TEXT_COLOUR', '#ffffff');
// text displayed at bottom of info dialog. Use '' to leave blank.
// text shown here is required for routegadget.co.uk sites but can be deleted otherwise
define('ADDITIONAL_INFO_TEXT', 'Maps published on this web site that contain OS data by permission of Ordnance Survey® Licence Number 100046745.');
// proj4 co-ordinate reference system for new maps
// see http://spatialreference.org/ref/epsg/ for master list
// see http://spatialreference.org/ref/epsg/27700/ for example of UK National Grid
// select "proj4" in the list see http://spatialreference.org/ref/epsg/27700/proj4/ for example parameter string
//
// Note: EPSG:27700 is built in to RG2 as default so you do NOT need to declare it here: this is just an example
// EPSG:900913 (Google) is also built in
// Uncomment the following lines and edit for the required co-ordinate system
//
//define('EPSG_CODE', "EPSG:27700");
//define('EPSG_PARAMS', "+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m +no_defs ");
?>