{"action":"opened","issue":{"url":"https://api.github.com/repos/OSGeo/proj.4/issues/295","labels_url":"https://api.github.com/repos/OSGeo/proj.4/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/OSGeo/proj.4/issues/295/comments","events_url":"https://api.github.com/repos/OSGeo/proj.4/issues/295/events","html_url":"https://github.com/OSGeo/proj.4/issues/295","id":105029843,"number":295,"title":"Issue when trying to convert to lat/long system from gauss-kruger.","user":{"login":"greenleafone7","id":5569899,"avatar_url":"https://avatars.githubusercontent.com/u/5569899?v=3","gravatar_id":"","url":"https://api.github.com/users/greenleafone7","html_url":"https://github.com/greenleafone7","followers_url":"https://api.github.com/users/greenleafone7/followers","following_url":"https://api.github.com/users/greenleafone7/following{/other_user}","gists_url":"https://api.github.com/users/greenleafone7/gists{/gist_id}","starred_url":"https://api.github.com/users/greenleafone7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenleafone7/subscriptions","organizations_url":"https://api.github.com/users/greenleafone7/orgs","repos_url":"https://api.github.com/users/greenleafone7/repos","events_url":"https://api.github.com/users/greenleafone7/events{/privacy}","received_events_url":"https://api.github.com/users/greenleafone7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-05T14:37:07Z","updated_at":"2015-09-05T14:37:07Z","closed_at":null,"body":"I have some variables that look like this\r\n\r\n`x1 = 4566236.297;\r\ny1 = 5827396.697;`\r\n\r\nthat use the gauss-kruger zone 4, system. When trying to convert these to a latitude longitute value by trying\r\n```\r\nif (!(pj_merc = pj_init_plus(\"+proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=4500000 +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs\"))) {\r\n        exit(1);\r\n    }\r\nif (!(pj_latlong = pj_init_plus(\"+proj=latlong +datum=WGS84\"))) {\r\n        exit(1);\r\n}\r\n\r\nx1 *= DEG_TO_RAD;\r\ny1 *= DEG_TO_RAD;\r\n\r\npj_transform(pj_merc, pj_latlong, 1, 1, &x1, &y1, NULL );\r\n```\r\n\r\nI get back `-0.433622 0.0128923`.\r\n\r\nAm I doing something wrong?"}}