<div dir="ltr"><div>I'm having trouble with Cassini-Soldner: </div><div><br></div><div># Good point - agreeable coords<br>echo "-6 -71" | proj +proj=cass +R=6378137        # spherical  -217097.18 -7914445.72<br>echo "-6 -71" | proj +proj=cass +ellps=WGS84      # ellipsoidal -217749.76 -7891343.23<br><br># Bad point - ellipsoidal diverges<br>echo "149 45" | proj +proj=cass +R=6378137        # spherical: 2377511.89 14538559.49<br>echo "149 45" | proj +proj=cass +ellps=WGS84      # ellipsoidal: -2738664.72 28023005.14 (WRONG)</div><div><br></div><div>That second coordinate seems wildly wrong, I've compared with GeographicLib which shows </div><div><br></div><div>lon,lat,x,y<br>-6.000000,-71.000000,-217749.757184,-7891343.215151<br>149.000000,45.000000,2381489.299010,14528505.93346</div><div><br></div><div>I've laid out a longer description exploring this (and includes the C++ wrapper for GeographicLib): </div><div><br></div><div><a href="https://github.com/mdsumner/projcassini">https://github.com/mdsumner/projcassini</a></div><div><br></div><div>I hope that's enough to show the problem, I found this very confusing but the output of GeographicLib makes me more confident. </div><div><br></div><div>Cheers, Mike</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34)"><div dir="ltr">Michael Sumner</div><div dir="ltr">Research Software Engineer<br>Australian Antarctic Division<br>Hobart, Australia</div><div dir="ltr">0438489030<br>e-mail: <a href="mailto:mdsumner@gmail.com" style="color:rgb(17,85,204)" target="_blank">mdsumner@gmail.com</a></div></div></div></div></div>