I need polygons of states in my Country.
After many tries, I got to this. It does return the states of my country, but there are no paths and many items that I did not want.
I've been using http://overpass-turbo.eu/ to test my queries.
[out:json][timeout:25];
{{geocodeArea:Czechia}}->.searchArea;
(
relation["boundary"="administrative"]["admin_level"="7"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
I want to know:
- What I need to do to get polygons of results (the states in my case)
- Why am I getting roads and other stuff when I am specifying boundary and admin_level.
- How to do a similar query next time (I will be getting at least the same for Slovakia)