aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-21 09:02:29 +0200
committerJochen Topf <jochen@topf.org>2014-05-21 09:02:29 +0200
commitebf5030abacb291fba1b6e7e386090bf5fa5e662 (patch)
tree8cfc7f5a951e9a56cea8ad7e7f5a3c22a07fe302
parent6e90967a6043b7ab98978be526384db8d14c50fb (diff)
downloadtaginfo-ebf5030abacb291fba1b6e7e386090bf5fa5e662.tar
taginfo-ebf5030abacb291fba1b6e7e386090bf5fa5e662.tar.gz
Improved comments in example config. Reduced number of SQL queries logged.
-rw-r--r--taginfo-config-example.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/taginfo-config-example.json b/taginfo-config-example.json
index bcfa9d6..53365ac 100644
--- a/taginfo-config-example.json
+++ b/taginfo-config-example.json
@@ -29,14 +29,14 @@
"scale_image": 2,
"scale_compare_image" : 1,
"background_image": "/img/mapbg/world.png",
+ // optional attribution for base image, will show up below all maps
"image_attribution": ""
},
+ // "XAPI" and "JOSM" buttons on key/tag pages
"xapi": {
// XAPI/JOSM buttons are disabled if more than this many results are expected
"max_results": 1000,
// 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/"
"url_prefix": "http://overpass-api.de/api/xapi_meta?"
},
// "overpass turbo" button on key/tag pages
@@ -76,6 +76,8 @@
// The OSM planet file or extract where we read the OSM data from.
"planetfile": "/osm/planet/var/current-planet.osm.pbf"
},
+ // If you change any of the following you have to run the update
+ // twice for it to take effect.
"master": {
// Minimum number of occurances of a tag to make it
// potentially "interesting", ie. create tag combination
@@ -95,7 +97,7 @@
// directory for log files
"directory": "/osm/taginfo/var/log",
// SQL queries longer than this many seconds are logged
- "min_duration": 0.01
+ "min_duration": 0.1
},
// For compiling tagstats.
"tagstats": {