From 90255cc4e9044f821f23d6881e883908c45eb6bb Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Wed, 14 May 2014 15:58:59 +0200 Subject: 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. --- taginfo-config-example.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'taginfo-config-example.json') 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", -- cgit v1.2.3