[Talk-in] Map of State of Maharashtra vs Map of Districts of Maharashtra from overpass turbo

Ashim Kapoor ashimkapoor at gmail.com
Thu Feb 1 09:17:22 UTC 2018


Dear All,

I am currently learning Overpass API (I need this in order to do my job). I
have a query :

I can extract the state boundary of Maharashtra by doing :

area[name = Maharashtra];
rel(area)[boundary = administrative][admin_level=4];
(._;>;);
out body;

I can extract the boundries of districts of Maharashtra by doing :

area[name = Maharashtra];
rel(area)[boundary = administrative][admin_level=5];
(._;>;);
out body;

(Please note :  I am doing the above 2 queries in http://overpass-turbo.eu/
)

Query 1 : Why does the boundary returned by the 2nd code chunk -
corresponding to districts of Maharashtra - not include Mumbai ?

Query 2 : I want ONE map  of both the state and the district boundaries. To
this I do :

area[name = Maharashtra];
(rel(area)[boundary = administrative][admin_level=4];
rel(area)[boundary = administrative][admin_level=5];);
(._;>;);
out body;

Basically I have taken the union ie. ( ... ) of the statements for State
and District boundaries.

My query is that I am ONLY seeing the state level boundaries. Why is the
union not giving me the union of the state and district boundaries ?

Best Regards,
Ashim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-in/attachments/20180201/22a7e119/attachment.html>


More information about the Talk-in mailing list