{"action":"created","issue":{"url":"https://api.github.com/repos/drolbr/Overpass-API/issues/45","labels_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/45/comments","events_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/45/events","html_url":"https://github.com/drolbr/Overpass-API/issues/45","id":16871898,"number":45,"title":"querying for areas inside an area?","user":{"login":"szymond","id":432837,"avatar_url":"https://avatars.githubusercontent.com/u/432837?v=3","gravatar_id":"","url":"https://api.github.com/users/szymond","html_url":"https://github.com/szymond","followers_url":"https://api.github.com/users/szymond/followers","following_url":"https://api.github.com/users/szymond/following{/other_user}","gists_url":"https://api.github.com/users/szymond/gists{/gist_id}","starred_url":"https://api.github.com/users/szymond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szymond/subscriptions","organizations_url":"https://api.github.com/users/szymond/orgs","repos_url":"https://api.github.com/users/szymond/repos","events_url":"https://api.github.com/users/szymond/events{/privacy}","received_events_url":"https://api.github.com/users/szymond/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/drolbr/Overpass-API/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2013-07-17T15:43:35Z","updated_at":"2015-01-29T04:09:42Z","closed_at":null,"body":"I'd like to extract information about areas inside areas (e.g. to get information about regions in country). I am trying to run something like this:\r\n\r\n```xml\r\n<query type=\"area\">\r\n  <area-query ref=\"3600049715\"/>\r\n  <has-kv k=\"admin_level\" v=\"4\"/>\r\n</query>\r\n<print/> \r\n```\r\n\r\nAnd it returns all areas (not limited to specified region). More or less the same query (but about nodes):\r\n```xml\r\n<query type=\"node\">\r\n  <area-query ref=\"3600049715\"/>\r\n  <has-kv k=\"shop\" v=\"kiosk\"/>\r\n</query>\r\n```\r\nworks fine. Is there a problem with API or I am doing something wrong?"},"comment":{"url":"https://api.github.com/repos/drolbr/Overpass-API/issues/comments/71966182","html_url":"https://github.com/drolbr/Overpass-API/issues/45#issuecomment-71966182","issue_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/45","id":71966182,"user":{"login":"jotpe","id":3539168,"avatar_url":"https://avatars.githubusercontent.com/u/3539168?v=3","gravatar_id":"","url":"https://api.github.com/users/jotpe","html_url":"https://github.com/jotpe","followers_url":"https://api.github.com/users/jotpe/followers","following_url":"https://api.github.com/users/jotpe/following{/other_user}","gists_url":"https://api.github.com/users/jotpe/gists{/gist_id}","starred_url":"https://api.github.com/users/jotpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jotpe/subscriptions","organizations_url":"https://api.github.com/users/jotpe/orgs","repos_url":"https://api.github.com/users/jotpe/repos","events_url":"https://api.github.com/users/jotpe/events{/privacy}","received_events_url":"https://api.github.com/users/jotpe/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T04:09:42Z","updated_at":"2015-01-29T04:09:42Z","body":"Wow, its already done, didn't know it. Great job!"}}