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
|
// This is an example of a Taginfo config file.
// Copy it to the directory above and name it 'taginfo-config.json', then change your local settings.
{
// You probably want to change all these.
"instance": {
// url prefix for the site
"url": "http://localhost:4567",
// Used in the title of all HTML pages.
"name": "Test Taginfo",
// Description that appears if you click on the instance icon in the upper left.
"description": "This is a Taginfo test instance. To change this text or the icon above change your <tt>taginfo-config.json</tt>.",
// URL path to instance icon in the upper left.
"icon": "/img/instance.png"
},
"tagcloud": {
"number_of_tags": 200
},
// For the geodistribution map. See the wiki documentation about these settings.
"geodistribution": {
"left": -180,
"bottom": -90,
"right": 180,
"top": 90,
"width": 360,
"height": 180,
"scale_image": 2,
"background_image": "/img/worldp.png"
},
"xapi": {
// URL prefix for the XAPI/JOSM links on the key and tag pages.
// "url_prefix": "http://www.informationfreeway.org/api/0.6/"
"url_prefix": "http://open.mapquestapi.com/xapi/api/0.6/"
},
"opensearch": {
// For the OpenSearchDescription. You have to change at least the shortname and the contact for your instance.
"shortname": "Taginfo Test Instance",
"contact": "somebody@example.com",
"description": "Find metadata about OpenStreetMap tags",
"tags": "osm openstreetmap tag tags taginfo"
},
"sources": {
// These sources will be downloaded from http://taginfo.openstreetmap.org/download/
// Note that this will NOT work for the "db" source! Well, you can download it,
// but it will fail later, because the database is changed by the master.sql
// scripts.
"download": "josm potlatch merkaartor wiki",
// These sources will be created from the actual sources.
"create": "db",
"db": {
"planetfile": "/osm/planet/var/current-planet.osm.pbf"
}
}
}
|