Comments (4)
The difference is that QuickOSM is using a different OSM data interpreter/converter than overpass turbo. While the latter is using osmtogeojson, I presume that QuickOSM is using QGIS' internal routines for handling OSM data (via OGR, I guess).
This explains why QuickOSM can't handle the geometry="center"
output in the second part of this issue, because this is a very new Overpass-API feature that is still to be implemented on many Overpass-data-consuming programs.
The small differences in the first part of this ticket likely result from slight differences in how certain corner cases in OSM data are interpreted by the different converter libraries. For example node/2377791618 (a member of a tourism=zoo site relation) is a delta between the two programs (I don't see any difference in lines, but I can't test it directly in the QuickOSM plugin atm because of #26). This node is probably ignored by QGIS because it doesn't have any tags. osmtogeojson preserves it, however, because it is a member of a relation.
from quickosm.
I see. I think there is another explanation because of the somehow idiosyncratic concept of the Overpass API: I assume, that it's a two step process where XML-attribute output (<"osm-script output="json"...) defines the result (XML or JSON) and the the XML-tag "print" (<print mode="... ) defines how the result is being processed in the client.
Regarding to this issue, I guess, QuickOSM ignores the print statement completely (so it's not really because of OGR parsing the result document).
If this is correct that the print statement is ignored, this should be communicated to end users in the help pages of QuickOSM.
from quickosm.
In OGR, the osmconf defines which tags are unsignificant if there are alone :
https://github.com/3liz/QgisQuickOSMPlugin/blob/master/CoreQuickOSM/Parser/QuickOSMconf.ini#L22
This might be the reason for the first query.
For the second query, the "center" won't be fix in OGR : http://trac.osgeo.org/gdal/ticket/5523
QuickOSM doesn't change anything about the print statement. You can try body, skeleton, meta. You should get different results.
However, QuickOSM needs XML (because OGR don't know this kind of json), so the output is re-written before sending the query to the server.
from quickosm.
Thanks!
from quickosm.
Related Issues (20)
- Overpass API on relationships not working - HOT 2
- quick query fault on windows system - data is downloaded but not displayed in qgis layers panel HOT 1
- Nominatim API: Method Not Allowed HOT 5
- An error has occurred while executing Python code HOT 2
- Algorithm "Download OSM data from a raw query" not available in processing modeler HOT 4
- Error in the QGIS log window, then the QuickOSM panel, copy/paste it and please report it, if you know how to copy/paste QGIS logs. Please check pinned tickets first. HOT 4
- Успешный запрос, но без результата. HOT 5
- Error in the logs, in the QuickOSM panel
- QUICKOSM HOT 1
- Cannot open tha osm data in qgis HOT 1
- QuickOSM not working and showing an error to copy/paste HOT 1
- Error in the logs, in the QuickOSM panel HOT 5
- Quik OSM problem HOT 2
- An error occurred while executing Python code on launch HOT 3
- Error in the logs QuickOSM HOT 1
- Please save the queries
- Issue running query HOT 1
- QuickOSM is not working HOT 1
- Modification of preset
- remote control for OSM : more editors
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 quickosm.