一个地方与openstreetmap的管理关系 [英] Administrative relations of a place with openstreetmap
问题描述
我做了很多关于如何使用立交桥api 的研究,尝试了很多 http://overpass-turbo.eu/ 上的内容,但我无法找到获得结果我期待着......
我想查询一下,找到一个地方只有行政关系的所有关系(地点部门,地区部门这个地方,国家)被同化为AdministrativeArea的地方
如果你们中的任何人有一个想法
谢谢!
只需使用以下查询即可得到结果:
IS_IN(45.6178738,4.6703107) - > .A;
rel(pivot.a)[boundary = administrative];
出标签;
我用中心点45.6178738,4.6703107来获得这一点所包含的所有相关关系。
在立交桥上试用它: http:// overpass-turbo。 eu / s / jQS
I did a lot of research about how to use overpass-api tried a lot of things on http://overpass-turbo.eu/ but i can't find the way to get the result i'm expecting ...
I would like with a query, to find all the relations a place has but only administrative relations (department of the place, region of the place, country) everyhting that is assimilated to an "AdministrativeArea"
Tried this with both nominatim and the overpass_api
If any of you guys have an idea Thanks !
Just use the following query to get the result:
is_in(45.6178738,4.6703107)->.a;
rel(pivot.a)[boundary=administrative];
out tags;
I used the center point 45.6178738,4.6703107 to get all relevant relations this point is contained in.
Try it in overpass turbo: http://overpass-turbo.eu/s/jQS
这篇关于一个地方与openstreetmap的管理关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!