summaryrefslogtreecommitdiff
path: root/taginfo-config-example.json
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-15 09:04:48 +0200
committerJochen Topf <jochen@topf.org>2014-05-15 09:04:48 +0200
commit6cb9e2de145ebfc8a3caad377cd40780823d1ad2 (patch)
tree0cf096dfcdcae4c360f3d23a23fe930955bc63ea /taginfo-config-example.json
parent2b0703de9606fb40aa437b7e962bd09a2e4783b0 (diff)
downloadtaginfo-6cb9e2de145ebfc8a3caad377cd40780823d1ad2.tar
taginfo-6cb9e2de145ebfc8a3caad377cd40780823d1ad2.tar.gz
Use different overpass turbo call when numbers of objects is small.
When there aren't too many objects with a given key or tag, use the new wizard interface of overpass turbo, which runs automatically in global context and automatically zooms to the results. This is much nicer and easier. If there are too many objects, we keep the old behaviour. Unfortunately this is rather confusing. Maybe we can figure out something better...
Diffstat (limited to 'taginfo-config-example.json')
-rw-r--r--taginfo-config-example.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/taginfo-config-example.json b/taginfo-config-example.json
index 74789c2..2ea5db2 100644
--- a/taginfo-config-example.json
+++ b/taginfo-config-example.json
@@ -36,7 +36,10 @@
"url_prefix": "http://overpass-api.de/api/xapi_meta?"
},
"turbo": {
- "url_prefix": "http://overpass-turbo.eu/?"
+ "max_auto": 100,
+ "url_prefix": "http://overpass-turbo.eu/?",
+ "wizard_url_prefix": "http://overpass-turbo.eu/master?",
+ "wizard_area": "global"
},
"level0": {
"max_results": 50,