summaryrefslogtreecommitdiff
path: root/taginfo-config-example.json
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-14 15:58:59 +0200
committerJochen Topf <jochen@topf.org>2014-05-14 15:58:59 +0200
commit90255cc4e9044f821f23d6881e883908c45eb6bb (patch)
tree4965b73f8fe28a56bf55b814de949ba5ecf12281 /taginfo-config-example.json
parentf91e3bdce425be9a839687a2f13c3c10a2e96838 (diff)
downloadtaginfo-90255cc4e9044f821f23d6881e883908c45eb6bb.tar
taginfo-90255cc4e9044f821f23d6881e883908c45eb6bb.tar.gz
Add "Level0 Editor" button to key and tag pages.
This allows easy editing of tags, for instance when there are typos. If you click on this link an Overpass API call will be made to find the object IDs for the objects with this key/tag and then the Level0 editor will be opened in a new window with those objects. To not overwhelm the Overpass API or the Level0 editor, the link will only be active if there are less then a configurable number of objects with the given key/tags.
Diffstat (limited to 'taginfo-config-example.json')
-rw-r--r--taginfo-config-example.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/taginfo-config-example.json b/taginfo-config-example.json
index 20ccfae..74789c2 100644
--- a/taginfo-config-example.json
+++ b/taginfo-config-example.json
@@ -38,6 +38,11 @@
"turbo": {
"url_prefix": "http://overpass-turbo.eu/?"
},
+ "level0": {
+ "max_results": 50,
+ "overpass_url_prefix": "http://overpass.osm.rambler.ru/cgi/interpreter?",
+ "level0_url_prefix": "http://level0.osmz.ru/?"
+ },
"opensearch": {
// For the OpenSearchDescription. You have to change at least the shortname and the contact for your instance.
"shortname": "Taginfo Test Instance",