具有特定级别的管理边界关系,获得父级边界的最佳方法是什么?
这适用于布拉迪斯拉发市部分Petržalka: http://overpass-turbo.eu/s/ewU
[out:csv(::id,::type,"name","admin_level")];
rel(2208781);
(._;<<;);
out;
结果是:
@id @type name admin_level
14296 relation Slovensko 2
388210 relation okres Bratislava V 8
388265 relation Bratislavský kraj 4
1702499 relation Bratislava 6
2208781 relation Petržalka 9
但它对维也纳部分Meidling不起作用 http://overpass-turbo.eu/s/ex1
[out:csv(::id,::type,"name","admin_level")];
rel(1990596);
(._;<<;);
out;
结果
@id @type name admin_level
1990596 relation Meidling 9
显然,问题在于维也纳边界关系中没有定义子关系。有没有可靠的方法来找到这些亲子关系?