drolbr / Overpass-API

A database engine to query the OpenStreetMap data.
http://overpass-api.de
GNU Affero General Public License v3.0
710 stars 90 forks source link

Deprecate / remove Wiki template handling #496

Open mmd-osm opened 6 years ago

mmd-osm commented 6 years ago

http://overpass-api.de/template_handling.html is a quite dated concept and never really took off. These days, the fetch + show operation indicate that it's also no longer working on the productive servers.

Can we deprecate this approach and remove it from Overpass API?

drolbr commented 6 years ago

There has just been somebody using the feature and reporting the problem.

mmd-osm commented 6 years ago

I guess it's about this template then: https://wiki.openstreetmap.org/wiki/Template:Overpass-base?

IMHO the concept of having a user triggering a "fetch" operation is not really ideal, as it leads to a "user state" on the server. While this worked for a single production server, it's getting unpredictable with two production machines. And using the single host names z. or lz. is also something a don't want to recommend.

If this concept should still be in place, this Wiki template loading should be done automatically behind the scenes, so that the action=fetch should become a no-op.