{"action":"created","issue":{"url":"https://api.github.com/repos/kartograph/kartograph.py/issues/90","labels_url":"https://api.github.com/repos/kartograph/kartograph.py/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/kartograph/kartograph.py/issues/90/comments","events_url":"https://api.github.com/repos/kartograph/kartograph.py/issues/90/events","html_url":"https://github.com/kartograph/kartograph.py/issues/90","id":19767407,"number":90,"title":"LCC projection throws error","user":{"login":"cspencer51","id":2494925,"avatar_url":"https://avatars.githubusercontent.com/u/2494925?v=3","gravatar_id":"","url":"https://api.github.com/users/cspencer51","html_url":"https://github.com/cspencer51","followers_url":"https://api.github.com/users/cspencer51/followers","following_url":"https://api.github.com/users/cspencer51/following{/other_user}","gists_url":"https://api.github.com/users/cspencer51/gists{/gist_id}","starred_url":"https://api.github.com/users/cspencer51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cspencer51/subscriptions","organizations_url":"https://api.github.com/users/cspencer51/orgs","repos_url":"https://api.github.com/users/cspencer51/repos","events_url":"https://api.github.com/users/cspencer51/events{/privacy}","received_events_url":"https://api.github.com/users/cspencer51/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-09-19T16:54:58Z","updated_at":"2015-03-04T04:35:48Z","closed_at":null,"body":"When working with a Lambert Conformal Conic projection, and the following .json config file I, I get \"ERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is known.\"\r\n\r\n```\r\n{\r\n\t\"proj\": {\r\n\t\t\"id\": \"proj4\",\r\n\t\t\"opts\": \"+proj=lcc\"\r\n\t},\r\n\t\"layers\": {\r\n\t\t\"base\": {\r\n\t\t\t\"src\": \"COMMUNE.shp\",\r\n\t\t\t\"join\": {\r\n\t\t\t\t\"group-by\": {\r\n\t\t\t\t\t\"commune\": \"NOM_COMM\"\r\n\t\t\t\t},\r\n\t\t\t\t\"export-ids\": false\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\n```\r\n$ kartograph fr.json -o fr.svg\r\nERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is known.\r\n  cli.py, in render_map()\r\n  71: K.generate(cfg, args.output, preview=args.preview, format=format, stylesheet=css)  kartograph.py, in generate()\r\n  46: _map = Map(opts, self.layerCache, format=format)  map.py, in __init__()\r\n  42: layer = MapLayer(layer_id, layer_cfg, me, layerCache)  maplayer.py, in __init__()\r\n  35: self.source = handle_layer_source(self.options, self.cache)  layersource/__init__.py, in handle_layer_source()\r\n  32: src = ShapefileLayer(src)  layersource/shplayer.py, in __init__()\r\n  40: self.proj = pyproj.Proj(srs.ExportToProj4())  /usr/local/lib/python2.7/site-packages/pyproj/__init__.py, in __new__()\r\n  343: return _proj.Proj.__new__(self, projstring)  _proj.pyx, in _proj.Proj.__cinit__ (_proj.c:950)()\r\n  80: None\r\nprojection not named\r\n```\r\n\r\nThere's not a lot of documentation on how the projections are supposed to work, so that part of the JSON is pieced together from what I've found here: https://github.com/kartograph/kartograph.py/issues/34 and here: ftp://ftp.remotesensing.org/proj/OF90-284.pdf .\r\n\r\nAnyone else have this issue with either LCC or another projection?"},"comment":{"url":"https://api.github.com/repos/kartograph/kartograph.py/issues/comments/77095838","html_url":"https://github.com/kartograph/kartograph.py/issues/90#issuecomment-77095838","issue_url":"https://api.github.com/repos/kartograph/kartograph.py/issues/90","id":77095838,"user":{"login":"r-barnes","id":3118036,"avatar_url":"https://avatars.githubusercontent.com/u/3118036?v=3","gravatar_id":"","url":"https://api.github.com/users/r-barnes","html_url":"https://github.com/r-barnes","followers_url":"https://api.github.com/users/r-barnes/followers","following_url":"https://api.github.com/users/r-barnes/following{/other_user}","gists_url":"https://api.github.com/users/r-barnes/gists{/gist_id}","starred_url":"https://api.github.com/users/r-barnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-barnes/subscriptions","organizations_url":"https://api.github.com/users/r-barnes/orgs","repos_url":"https://api.github.com/users/r-barnes/repos","events_url":"https://api.github.com/users/r-barnes/events{/privacy}","received_events_url":"https://api.github.com/users/r-barnes/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T04:35:48Z","updated_at":"2015-03-04T04:35:48Z","body":"I'm having a similar issue with\r\n\r\n    ERROR 6: No translation for Albers to PROJ.4 format is known."}}