{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-studio-classic/issues/1473","labels_url":"https://api.github.com/repos/mapbox/mapbox-studio-classic/issues/1473/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-studio-classic/issues/1473/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-studio-classic/issues/1473/events","html_url":"https://github.com/mapbox/mapbox-studio-classic/issues/1473","id":109969140,"number":1473,"title":"KML regression with +0.2.8","user":{"login":"BergWerkGIS","id":4549888,"avatar_url":"https://avatars.githubusercontent.com/u/4549888?v=3","gravatar_id":"","url":"https://api.github.com/users/BergWerkGIS","html_url":"https://github.com/BergWerkGIS","followers_url":"https://api.github.com/users/BergWerkGIS/followers","following_url":"https://api.github.com/users/BergWerkGIS/following{/other_user}","gists_url":"https://api.github.com/users/BergWerkGIS/gists{/gist_id}","starred_url":"https://api.github.com/users/BergWerkGIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BergWerkGIS/subscriptions","organizations_url":"https://api.github.com/users/BergWerkGIS/orgs","repos_url":"https://api.github.com/users/BergWerkGIS/repos","events_url":"https://api.github.com/users/BergWerkGIS/events{/privacy}","received_events_url":"https://api.github.com/users/BergWerkGIS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"BergWerkGIS","id":4549888,"avatar_url":"https://avatars.githubusercontent.com/u/4549888?v=3","gravatar_id":"","url":"https://api.github.com/users/BergWerkGIS","html_url":"https://github.com/BergWerkGIS","followers_url":"https://api.github.com/users/BergWerkGIS/followers","following_url":"https://api.github.com/users/BergWerkGIS/following{/other_user}","gists_url":"https://api.github.com/users/BergWerkGIS/gists{/gist_id}","starred_url":"https://api.github.com/users/BergWerkGIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BergWerkGIS/subscriptions","organizations_url":"https://api.github.com/users/BergWerkGIS/orgs","repos_url":"https://api.github.com/users/BergWerkGIS/repos","events_url":"https://api.github.com/users/BergWerkGIS/events{/privacy}","received_events_url":"https://api.github.com/users/BergWerkGIS/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-10-06T09:31:38Z","updated_at":"2015-10-06T09:31:38Z","closed_at":null,"body":"Since 0.2.8 it is not possible to open KMLs anymore (verified with 0.2.7 and 0.3.1).\r\n\r\nThey fail with\r\n\r\n```\r\nError: OGR source missing extent\r\n```\r\n\r\nI tracked it down to the `mapnik-omnivore` function `getExtent` where\r\n\r\n```js\r\n  var tranformation = new gdal.CoordinateTransformation(\r\n    this.gdalLayer.srs,\r\n    gdal.SpatialReference.fromEPSG(4326)\r\n  );\r\n```\r\n\r\nfails with `Unable to open EPSG support file gcs.csv. Try setting GDAL_DATA.`:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4549888/10304776/7b829b6a-6c1c-11e5-8436-9805950d4e3e.png)\r\n\r\n`GDAL_DATA` is set correctly and the directory, that `GDAL_DATA` points to contains `gcs.csv`.\r\n\r\nUsing `mapnik-omnivore` alone (not in the context of Mapbox Studio Classic) `digest()` works as expected and returns the correct extent.\r\n\r\nMaybe `postinstall` step `npm dedupe` messes something up.\r\n\r\nInvestigating ..."}}