<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Here is some discussion with code todo this using geographic lib</div><div><br></div><a href="https://sourceforge.net/p/geographiclib/mailman/message/31830144/">https://sourceforge.net/p/geographiclib/mailman/message/31830144/</a><div><br></div><div>http://geographiclib.sourceforge.net/<br><div><br></div><div><br><div><div>On Mar 8, 2016, at 3:18 PM, Antoine Cottin <a.cottin@carbomap.com> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello list,<div class=""><br class=""></div><div class="">I’m trying to convert some ECEF data to UTM zone 33N (WGS84) in a C++ application. My code is working but the results are not correct as the data are skewed along an axis.</div><div class=""><br class=""></div><div class="">I’ve adapted the example code available on the wiki about pj_transform but wonder if there is anything special to consider in term of coordinates order for the ECEF input as the X,Y,Z might not be obvious? and I believe it’s the reason for the skewed results...</div><div class=""><br class=""></div><div class="">Any pointer welcome.</div><div class="">Best regards.</div><div class="">Antoine</div><div class=""><div class="">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">-----------------------<br class="">Dr Antoine Cottin<br class="">Chief Technology Officer</div><div style="orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Carbomap Ltd.<br class="">Edinburgh Centre for Carbon Innovation<br class="">High School Yards<br class="">Edinburgh EH1 1LZ</div><div style="orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">-----------------------</div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><a href="http://www.carbomap.com/" class="">http://www.carbomap.com</a></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span style="orphans: auto; widows: auto;" class=""><a href="http://carbomap.wordpress.com/" class="">http://carbomap.wordpress.com</a></span></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span style="text-align: -webkit-auto;" class=""><a href="http://github.com/carbomap" class="">http://github.com/carbomap</a></span></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span style="text-align: -webkit-auto;" class="">@carbomap</span></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">+44 (0)7577 444-046</div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br></div></div></body></html>