{"action":"opened","issue":{"url":"https://api.github.com/repos/koopjs/koop-github/issues/26","labels_url":"https://api.github.com/repos/koopjs/koop-github/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/koopjs/koop-github/issues/26/comments","events_url":"https://api.github.com/repos/koopjs/koop-github/issues/26/events","html_url":"https://github.com/koopjs/koop-github/issues/26","id":104666214,"number":26,"title":"error when geojson file and folder in the same repo have the same name","user":{"login":"manueltimita","id":4958941,"avatar_url":"https://avatars.githubusercontent.com/u/4958941?v=3","gravatar_id":"","url":"https://api.github.com/users/manueltimita","html_url":"https://github.com/manueltimita","followers_url":"https://api.github.com/users/manueltimita/followers","following_url":"https://api.github.com/users/manueltimita/following{/other_user}","gists_url":"https://api.github.com/users/manueltimita/gists{/gist_id}","starred_url":"https://api.github.com/users/manueltimita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manueltimita/subscriptions","organizations_url":"https://api.github.com/users/manueltimita/orgs","repos_url":"https://api.github.com/users/manueltimita/repos","events_url":"https://api.github.com/users/manueltimita/events{/privacy}","received_events_url":"https://api.github.com/users/manueltimita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T10:43:58Z","updated_at":"2015-09-03T10:43:58Z","closed_at":null,"body":"If a repo has both a folder and a geojson file with the same name, Koop fails with `\"No geojson found\"`.\r\n\r\nExample repo here: [https://github.com/gregoiredavid/france-geojson](https://github.com/gregoiredavid/france-geojson). `gregoiredavid/france-geojson/communes` works (well, partially only, due to size/many features I guess), whereas `gregoiredavid/france-geojson/regions` fails.\r\n\r\nCommunes: [http://koop.dc.esri.com/github/gregoiredavid/france-geojson/communes/preview](http://koop.dc.esri.com/github/gregoiredavid/france-geojson/communes/preview)\r\n\r\nRegions: [http://koop.dc.esri.com/github/gregoiredavid/france-geojson/regions/preview](http://koop.dc.esri.com/github/gregoiredavid/france-geojson/regions/preview)"}}