Comments (4)
I haven't looked into your example in detail, most likely, the relations in question share the same ways as the area. However, according to https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_area_(area) The area filter selects all elements of the chosen type that are inside the given area or areas Note that the word "inside" is really important here.
Also, I'd recommend to discuss such HOWTO issues on https://community.osm.org instead.
from overpass-turbo.
Except that the result of the query shows the relation 571771 itself.
In another way of speaking, the query finds the relation 571771 and only this relation (first line), changes this relation into an "area" (second line) then tries to find all relations with a specific tag that are in this area (third line) : so it finds the relation 571771 itself but not the relation 3825989 when this relation is in the area (and is part of the relation 571771 itself as a member).
For me it is incoherent that the third line finds the relation 571771 and not the relation 3825989 : it looks like a bug so I think only you (I mean the developers of overpass and not the community) can find out what is happening.
I have another more complex result : the same query for another country (replace "Marshall Islands" with "Oman" in the above query). This country has a main area and 2 exclaves, see https://www.openstreetmap.org/relation/305138#map=6/21.739/56.019. The final result shows all the relations inside this area (in particular the complex relation https://www.openstreetmap.org/relation/3781315 = good news) but also a relation which is clearly outside the area : https://www.openstreetmap.org/relation/12905765#map=6/21.739/56.019
Overpass-turbo is a great query software, I use it a lot to find problems in osm datas.
But I stopped to trust "map_to_area" because sometimes it gives not enough datas and sometimes too much datas : I hope you will find what is going on because this statement is (will be) very useful.
Best regards.
from overpass-turbo.
Thank you for your comment. In case you want to report some issue with is_in, you need to head to the Overpass API backend repo instead. This repo covers the web frontend only.
https://github.com/drolbr/Overpass-API
from overpass-turbo.
Done, thanks
from overpass-turbo.
Related Issues (20)
- Exporting as .png does not work in Safari HOT 3
- Regex not working for for addr:housenumber HOT 2
- is_in seems to be missing random areas HOT 3
- Unclear installation instructions HOT 1
- Move from OAuth 1.0a to OAuth 2.0 for OSM logins HOT 2
- Shortcut to comment/uncomment code in the editor
- export : centroid option HOT 4
- On MacOS cmd + H is hijacking default OS behaviour. HOT 1
- Queries stopped Working, API does not provide results HOT 3
- Mention dependencies in readme
- Output route relation / superroute tree (as gpx), with role filter HOT 1
- Can't select or paste text in editor on iOS Safari HOT 2
- Entity count table stacking in display when MapCSS rerender button clicked.
- 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
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.