You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, a version number was added to the generator string, e.g. <osm version="0.6" generator="Overpass API 0.7.54.12 054bb0bb">. Unfortunately, this change breaks Achavi. The following patch should fix it:
diff--gita/js/FormatRegistry.jsb/js/FormatRegistry.jsindex59c350c..1c534b2100644---a/js/FormatRegistry.js+++b/js/FormatRegistry.js
@@ -36,7+36,7 @@ FormatRegistry.prototype.getFormatType=function(doc){// special cases with common root node name but different content if(type==='osm'){vargeneratorAttribute=doc.documentElement.getAttribute('generator');-if(generatorAttribute&&generatorAttribute==='Overpass API'){+if(generatorAttribute&&generatorAttribute.indexOf('Overpass API')==0){type='osmDiff';}else{varnode=doc.documentElement.firstChild
The text was updated successfully, but these errors were encountered:
Recently, a version number was added to the generator string, e.g.
<osm version="0.6" generator="Overpass API 0.7.54.12 054bb0bb">
. Unfortunately, this change breaks Achavi. The following patch should fix it:The text was updated successfully, but these errors were encountered: