-
Notifications
You must be signed in to change notification settings - Fork 20
/
rg2-config .txt
54 lines (46 loc) · 2.84 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
49
50
51
52
53
54
<?php
/**
* The configuration file for RG2.
*
* This file should be modified to set up the details for a specific Routegadget installation.
* Then save as rg2-config.php
*
*/
// Location of directory where Routegadget is installed.
// This should have /kartat and /rg2 sub-directories.
define('RG_BASE_DIRECTORY', 'https://www.happyherts.routegadget.co.uk');
// override to allow js and css to be loaded from a separate location if needed
// probably only relevant for routegadget.co.uk to avoid 100 copies of source files
//define('OVERRIDE_SOURCE_DIRECTORY', 'https://www.routegadget.co.uk');
// allow relocating kartat directory: only intended for development environment using localhost
// define('OVERRIDE_KARTAT_DIRECTORY', '../rg2-test-data/hh/kartat/');
// location of Splitsbrowser files if required: see Wiki for details of how to install Splitsbrowser
define('SPLITSBROWSER_DIRECTORY', 'https://www.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 read from text files: default UTF-8
// Only needed for RG1 installations that used a different encoding when set up
// define('RG_INPUT_ENCODING', 'UTF-8');
// Whether or not to create JPG files as well as GIFs.
// Only set to true if you are running both versions of Routegadget using the same kartat directory
// Defaults to true for backward compatibility
// define('CREATE_JPG_MAP_FILES', false);
// text displayed at bottom of info dialog. Use '' to leave blank.
// OS licence text below is neeeded for installations on routegadget.co.uk site.
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(s).
// Use | to separate different systems if you need to add more than one.
//
//define('EPSG_CODE', "EPSG:32722");
//define('EPSG_PARAMS', "+proj=utm +zone=22 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs");
// or
//define('EPSG_CODE', "EPSG:12345|EPSG:67890");
//define('EPSG_PARAMS', "+proj=x +ellps=WGS84 +datum=WGS84 +units=m +no_defs|+proj=y +ellps=WGS84 +datum=WGS84 +units=m +no_defs");