drolbr / Overpass-API

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

"Template not found." for ambiguous Permanent ID links #597

Closed JesseWeinstein closed 3 years ago

JesseWeinstein commented 3 years ago

e.g. https://overpass-api.de/api/interpreter?data=%5Bout%3Acustom%5D%3Bnode%5Bplace%5D%5Bname%3D%22Bonn%22%5D%3Bout%3B

This was brought up back in 2014, in #69 -- but seems to still be a problem?

mmd-osm commented 3 years ago

Please report operation issues on the overpass status page on the wiki. This only affects one of the two production servers:

https://lz4.overpass-api.de/api/interpreter?data=%5Bout%3Acustom%5D%3Bnode%5Bplace%5D%5Bname%3D%22Bonn%22%5D%3Bout%3B

mmd-osm commented 3 years ago

Related issue: the generated HTML page has an issue with mixed content that needs fixing as well:

  <script src="http://openlayers.org/api/OpenLayers.js"></script>
  <script src="http://openstreetmap.org/openlayers/OpenStreetMap.js"></script>
JesseWeinstein commented 3 years ago

Thanks, I've reported this here: https://wiki.openstreetmap.org/wiki/Overpass_API/status

mmd-osm commented 3 years ago

Curious why you're using this feature, its usage has basically dropped close to zero over the last years.

JesseWeinstein commented 3 years ago

I'm working on improving the Boston T (the transit system) on https://wiki.openstreetmap.org/wiki/MBTA and I wanted to link to the various routes, and found the DisplayRoute template (which uses this).

drolbr commented 3 years ago

Thank you for the report. As mentioned, the report on https://wiki.openstreetmap.org/wiki/Overpass_API/status actually did trigger the fix. Should be done now.