Запрос http://overpass-turbo.eu/:
<osm-script output="json" timeout="25">
<!-- fetch area “Odessa” to search in -->
<id-query {{nominatimArea:Ukraine}} into="area"/>
<!-- gather results -->
<union>
<!-- query part for: “boundary=administrative” -->
<query type="relation">
<has-kv k="boundary" v="administrative"/>
<has-kv k="admin_level" v="4"/>
<area-query from="area"/>
</query>
<recurse type="relation-way"/>
<recurse type="way-node"/>
</union>
<!-- print results -->
<print mode="skeleton" />
</osm-script>
<!--
This has been generated by the overpass-turbo wizard.
The original search was:
“boundary=administrative in Odessa”
-->
<osm-script output="json" timeout="25">
<!-- fetch area “Odessa” to search in -->
<id-query {{nominatimArea:Одесская область}} into="area"/>
<!-- gather results -->
<union>
<!-- query part for: “boundary=administrative” -->
<query type="relation">
<has-kv k="boundary" v="administrative"/>
<has-kv k="admin_level" v="6"/>
<area-query from="area"/>
</query>
<recurse type="relation-way"/>
<recurse type="way-node"/>
</union>
<!-- print results -->
<print mode="meta"/>
<print />
</osm-script>
- Уменьшить размер, упростить
- Проставить метки
- При клике - приблизить, показать инфобокс