{"action":"created","issue":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/2745","labels_url":"https://api.github.com/repos/mapnik/mapnik/issues/2745/labels{/name}","comments_url":"https://api.github.com/repos/mapnik/mapnik/issues/2745/comments","events_url":"https://api.github.com/repos/mapnik/mapnik/issues/2745/events","html_url":"https://github.com/mapnik/mapnik/issues/2745","id":64703379,"number":2745,"title":"GeoJSON extract_bounding_box_grammar fails on alternatively ordered properties","user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-27T06:09:26Z","updated_at":"2015-03-27T10:22:30Z","closed_at":"2015-03-27T10:22:20Z","body":"The GeoJSON plugin fails to parse this file when `cache_features=False`:\r\n\r\n```json\r\n{\r\n    \"type\": \"FeatureCollection\",\r\n    \"features\": [\r\n        {\r\n            \"geometry\": {\r\n                \"type\": \"Point\",\r\n                \"coordinates\": [0,0]\r\n            },\r\n            \"properties\": {},\r\n            \"type\": \"Feature\"\r\n        }\r\n     ]\r\n}\r\n```\r\n\r\nIt works with `cache_features=True`. It looks like the problem is that the `extract_bounding_box_grammar` cannot cope with the `\"type\": \"Feature\"` not coming first.\r\n\r\n/cc @artemp \r\n"},"comment":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/comments/86892053","html_url":"https://github.com/mapnik/mapnik/issues/2745#issuecomment-86892053","issue_url":"https://api.github.com/repos/mapnik/mapnik/issues/2745","id":86892053,"user":{"login":"artemp","id":59056,"avatar_url":"https://avatars.githubusercontent.com/u/59056?v=3","gravatar_id":"","url":"https://api.github.com/users/artemp","html_url":"https://github.com/artemp","followers_url":"https://api.github.com/users/artemp/followers","following_url":"https://api.github.com/users/artemp/following{/other_user}","gists_url":"https://api.github.com/users/artemp/gists{/gist_id}","starred_url":"https://api.github.com/users/artemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemp/subscriptions","organizations_url":"https://api.github.com/users/artemp/orgs","repos_url":"https://api.github.com/users/artemp/repos","events_url":"https://api.github.com/users/artemp/events{/privacy}","received_events_url":"https://api.github.com/users/artemp/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T10:22:30Z","updated_at":"2015-03-27T10:22:30Z","body":"fixed in 51b65534f5b6f11a6403e27de52cbfea66b86958"}}