{"action":"created","issue":{"url":"https://api.github.com/repos/perliedman/reproject/issues/11","repository_url":"https://api.github.com/repos/perliedman/reproject","labels_url":"https://api.github.com/repos/perliedman/reproject/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/perliedman/reproject/issues/11/comments","events_url":"https://api.github.com/repos/perliedman/reproject/issues/11/events","html_url":"https://github.com/perliedman/reproject/issues/11","id":131365974,"number":11,"title":"Can't seem to work with crss: doesn't seem to be properly read","user":{"login":"reinvantveer","id":9550733,"avatar_url":"https://avatars.githubusercontent.com/u/9550733?v=3","gravatar_id":"","url":"https://api.github.com/users/reinvantveer","html_url":"https://github.com/reinvantveer","followers_url":"https://api.github.com/users/reinvantveer/followers","following_url":"https://api.github.com/users/reinvantveer/following{/other_user}","gists_url":"https://api.github.com/users/reinvantveer/gists{/gist_id}","starred_url":"https://api.github.com/users/reinvantveer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinvantveer/subscriptions","organizations_url":"https://api.github.com/users/reinvantveer/orgs","repos_url":"https://api.github.com/users/reinvantveer/repos","events_url":"https://api.github.com/users/reinvantveer/events{/privacy}","received_events_url":"https://api.github.com/users/reinvantveer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-04T14:34:29Z","updated_at":"2016-02-05T09:47:47Z","closed_at":"2016-02-05T09:46:44Z","body":"Hi!\r\n\r\nCan you perhaps shed some light on why\r\n```javascript\r\nfunction toWGS84(geojson) {\r\n    var crss = {\r\n        \"EPSG:28992\": proj4.Proj(\"+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.237,50.0087,465.658,-0.406857,0.350733,-1.87035,4.0812 +units=m +no_defs\")\r\n    };\r\n\r\n    return reproject.toWgs84(geojson, \"EPSG:28992\", crss);\r\n}\r\n```\r\nthrows error\r\n```\r\nTypeError: Cannot read property 'EPSG:28992' of undefined\r\n    at determineCrs (data-bag/node_modules/reproject/index.js:67:17)\r\n    at reproject (data-bag/node_modules/reproject/index.js:77:12)\r\n    at Object.module.exports.toWgs84 (data-bag/node_modules/reproject/index.js:130:14)\r\n    at Object.toWGS84 (data-bag/bag.js:264:22)\r\n    at Context.<anonymous> (data-bag/test/test.js:140:27)\r\n```\r\nPlease?"},"comment":{"url":"https://api.github.com/repos/perliedman/reproject/issues/comments/180275957","html_url":"https://github.com/perliedman/reproject/issues/11#issuecomment-180275957","issue_url":"https://api.github.com/repos/perliedman/reproject/issues/11","id":180275957,"user":{"login":"perliedman","id":1246614,"avatar_url":"https://avatars.githubusercontent.com/u/1246614?v=3","gravatar_id":"","url":"https://api.github.com/users/perliedman","html_url":"https://github.com/perliedman","followers_url":"https://api.github.com/users/perliedman/followers","following_url":"https://api.github.com/users/perliedman/following{/other_user}","gists_url":"https://api.github.com/users/perliedman/gists{/gist_id}","starred_url":"https://api.github.com/users/perliedman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perliedman/subscriptions","organizations_url":"https://api.github.com/users/perliedman/orgs","repos_url":"https://api.github.com/users/perliedman/repos","events_url":"https://api.github.com/users/perliedman/events{/privacy}","received_events_url":"https://api.github.com/users/perliedman/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T09:47:47Z","updated_at":"2016-02-05T09:47:47Z","body":"Thanks for reporting! Turned out to be a parameter missing in the `toWgs84` function.\r\n\r\nI've committed a fix and released version 1.0.1 which contains the fix."}}