Comments (3)
Looks very much like a bug with how the Overpass-API handles Overpass-XML queries. Maybe you can open an issue there, or @drolbr can take a look at it hereβ¦
from overpass-turbo.
Yes, I can confirm the issue. It is a problem of Overpass API, not of Overpass Turbo.
What in fact happens is that the parser encloses the whole query in an extra "osm-script" because the first element is not an "osm-script" element (it is a comment instead). This is an unwanted side-effect of the permissive XML interpretation. I'll fix this with the next version.
The suggested workaround is to use proper XML, i.e. to start with the XML declaration:
<?xml version="1.0" encoding="UTF-8"?>
from overpass-turbo.
closing here in favour of drolbr/Overpass-API#73
from overpass-turbo.
Related Issues (20)
- What happened to custom online queries? HOT 7
- Saving/deleting queries on osm.org is not working HOT 15
- Invalid query does not return error, but spins forever HOT 4
- The 'no entities found' message is failing to display. HOT 1
- Italian provinces borders not found HOT 2
- Disable warning/auto repair message isn'tworking
- Query Error if object name contains " Error" string
- RFE: Store and display User's query history HOT 2
- Query returns 0 results for me but many for others HOT 1
- Aborting query can hang / Aborting a query should return control to query editor immediately
- Add openairportmap.org as link to tags with icao-key
- Keep location data in convert statement HOT 1
- Using ampersand in name of saved query
- Add support for wildcard type in MapCSS
- Wizard should abort on unknown type, instead of silently ignoring
- Export with Level0 doesn't work when the query needs fixing
- Missing http -> https redirect HOT 2
- `"Drinking Water" in London` in Wizard query does not work HOT 2
- Stuck at 'rendering geoJSON' due to `TypeError: undefined is not an object`
- How to write request "show all gas stations" on current map cutout? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overpass-turbo.