I' running the following query
and I just found that some features (only one example handy right now) are retrieved twice possibly even more. The example in question: {'type': 'way', 'id': 48590101, 'nodes': [2850024375, 3828309463, 3975571367, 3975571366, 5217921963, 3975568951, 617181077, 617181080, 2850024367, 3975568954, 3975571362, 2850024371, 3828309460, 2850024372, 3975571372, 2850024375], 'tags': {'area': 'yes', 'bench': 'yes', 'bin': 'yes', 'covered': 'partial', 'description': 'U Dahlem Dorf U3 Bahnsteig', 'layer': '-1', 'level': '-1', 'name': 'U Dahlem-Dorf', 'public_transport': 'platform', 'railway': 'platform', 'subway': 'yes', 'wheelchair': 'yes'}} {'type': 'way', 'id': 48590101, 'nodes': [2850024375, 3828309463, 3975571367, 3975571366, 5217921963, 3975568951, 617181077, 617181080, 2850024367, 3975568954, 3975571362, 2850024371, 3828309460, 2850024372, 3975571372, 2850024375]} Even more curious that it is once retrieved with all tags and once without its tags. Anyone stumbled accross this before? Is my query maybe malformed? |
I haven't investigated closely, but I expect the Yes that might be it I was under the impression that if a feature is part of
(01 Feb '21, 14:06)
Thagor
|
I am seeing something similar: My query searches for primary, secondary, and tertiary roads within a bounding box.
data=[out:json];( node["highway"="primary"]${bBox}; way["highway"="primary"]${bBox}; relation["highway"="primary"]${bBox}; node["highway"="secondary"]${bBox}; way["highway"="secondary"]${bBox}; relation["highway"="secondary"]${bBox}; node["highway"="tertiary"]${bBox}; way["highway"="tertiary"]${bBox}; relation["highway"="tertiary"]${bBox}; );out body;>;out skel qt;)
Though this has returned good data elsewhere, I am finding that when the bounding box is in Portugal (of all places), I am also getting multiple way records (for example) with the same id, but one record does not have
tags