<br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 10:13 AM, Krzysztof Czainski <span dir="ltr"><<a href="mailto:1czajnik@gmail.com" target="_blank">1czajnik@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div><div class="gmail_quote"><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div>Can you try the same conversion in Proj4 to see if it works?</div></blockquote><div><br></div></div><div>Ok. Please see the attached file my_test.c. It works as expected with proj-4.7.0</div></div></div></blockquote>
<div><br></div><div>Ok, that's good. Hopefully that will make it easier to compare results to find the bug. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote">
<div class="gmail_quote"><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div> And it would be helpful to have the expected output. </div></blockquote><div><br></div></div><div>If you mean, the expected output of the conversion, it is lon=21, lat=52. If the output lon/lat are in radians instead, that's OK too - I don't really know exactly what to expect ;-)</div>
</div></div></blockquote><div><br></div><div>Yes, that's what I meant.  Doh - makes sense that that is the output for this case! </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="gmail_quote">

<div><br></div></div></div></blockquote></div>