<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Calibri;font-size:12pt;color:#000000;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Center">
UNCLASSIFIED<br>
</p>
<br>
<div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi PROJ people</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am looking at a conversion (EPSG:4176->EPSG:4272) which is lat/lon->lat/lon via a distortion grid. Unexpectedly I get a different answer by adding 360 degrees to the input coordinate. </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It looks like this possibility is not accounted for when testing whether the grid is applicable, so it falls back to the less accurate option. Is that correct? And if so would it make sense to allow longitude wrapping when evaluating conversion options?</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
$ test_nzgd1949.sh</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
+ cs2cs</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Rel. 8.2.1, January 1st, 2022</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
usage: cs2cs [-dDeEfIlrstvwW [args]]</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[[--area name_or_code] | [--bbox west_long,south_lat,east_long,north_lat]]</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[--authority {name}] [--accuracy {accuracy}] [--no-ballpark]</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[+opt[=arg] ...] [+to +opt[=arg] ...] [file ...]</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
+ echo -42 173</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
+ cs2cs EPSG:4167 EPSG:4272 -d 8</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-42.00171693 172.99984072 0.00000000</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
+ echo -42 -187</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
+ cs2cs EPSG:4167 EPSG:4272 -d 8</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-42.00169999 172.99986158 0.00000000</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div style="background-color: rgb(255, 255, 255); margin: 0px;"></div>
<p style="margin: 0cm 0cm 0.0001pt;"><span style="font-family: "Segoe UI", sans-serif; font-size: 12pt; color: rgb(0, 113, 152); background-color: rgb(255, 255, 255);"><b>Chris Crook
</b></span><span style="font-family: "Segoe UI", sans-serif, serif, EmojiFont; font-size: 12pt; color: rgb(0, 113, 152); background-color: rgb(255, 255, 255);"><b> (</b></span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 113, 152);"><b><a href="https://www.publicservice.govt.nz/our-work/diversity-and-inclusion/pronoun-use-in-email-signatures/" id="OWA8369df18-0ac7-78aa-4eb7-bb62d1084889" class="OWAAutoLink" title="https://www.publicservice.govt.nz/our-work/diversity-and-inclusion/pronoun-use-in-email-signatures/" style="color: rgb(0, 113, 152); margin-top: 0px; margin-bottom: 0px;">he/him</a></b></span><span style="font-family: "Segoe UI", sans-serif, serif, EmojiFont; font-size: 12pt; color: rgb(0, 113, 152); background-color: rgb(255, 255, 255);"><b>)</b></span><span style="font-family: "Segoe UI", sans-serif; font-size: 10pt; color: rgb(55, 173, 71); background-color: rgb(255, 255, 255);"><br>
</span><span style="font-family: "Segoe UI", sans-serif; font-size: 10pt; color: rgb(65, 64, 66); background-color: rgb(255, 255, 255);">Geodetic Scientist</span></p>
<p style="text-align: left; background-color: rgb(255, 255, 255); margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(32, 31, 30);">
<span style="font-family: "Segoe UI", sans-serif; font-size: 10pt; color: rgb(65, 64, 66);">Location Information</span></p>
<p style="text-align: left; background-color: rgb(255, 255, 255); margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(32, 31, 30);">
<span style="font-family: "Segoe UI", sans-serif; font-size: 4pt; color: rgb(65, 64, 66);"> </span></p>
<p style="text-align: left; background-color: rgb(255, 255, 255); margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(32, 31, 30);">
<span style="font-family: "Segoe UI", sans-serif; font-size: 9pt; color: blue;"><a href="mailto:ccrook@linz.govt.nz" target="_blank" id="OWAd031f3b5-b3bf-504b-d472-01301b59cc74" class="OWAAutoLink" rel="noopener noreferrer" style="color: blue; margin: 0px;">ccrook@linz.govt.nz</a></span><span style="font-family: "Segoe UI", sans-serif; font-size: 9pt; color: rgb(65, 64, 66);"> |
<b>DDI </b>04 460 0567 | <b>MOB</b> 021 027 44211</span></p>
<p style="text-align: left; background-color: rgb(255, 255, 255); margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(32, 31, 30);">
<span style="font-family: "Segoe UI", sans-serif; font-size: 6pt; color: rgb(65, 64, 66);"> </span></p>
<p style="text-align: left; background-color: rgb(255, 255, 255); margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(32, 31, 30);">
<span style="font-family: "Segoe UI", sans-serif; font-size: 4pt; color: rgb(65, 64, 66);"> </span></p>
<table style="text-align: left; background-color: rgb(255, 255, 255); color: rgb(32, 31, 30); box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td style="width: 120.2pt; height: 1.2pt; text-align: left; border-top: 1pt solid windowtext; padding: 5.4pt 5.4pt 0cm 0cm;">
<p style="text-align: left; margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 8pt; color: blue;"><u><a href="https://www.linz.govt.nz/" target="_blank" id="OWA3f158f39-aa06-a96c-1ee7-99f59d201287" class="OWAAutoLink" rel="noopener noreferrer" style="color: blue; margin: 0px;"><img alt="cid:image001.png@01D622F4.BA10B4F0" width="146" height="38" style="width: 146px; height: 38px; margin: 0px;" data-outlook-trace="F:1|T:1" src="cid:c0b72ffc-d0f1-4381-8824-aba35ffe90e5"></a></u></span></p>
</td>
<td style="width: 283.8pt; height: 1.2pt; text-align: left; border-top: 1pt solid windowtext; padding: 5.4pt 5.4pt 0cm 0cm;">
<p style="text-align: left; margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 9pt; color: rgb(65, 64, 66);">Wellington Office, Level 7, Radio New Zealand House, 155 The Terrace<br>
PO Box 5501, Wellington 6145, New Zealand</span></p>
<p style="text-align: left; margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 9pt; color: rgb(0, 113, 152);"><u><a href="http://www.linz.govt.nz/" target="_blank" id="OWAd614e46d-c30e-78de-3b9b-b9302bba245e" class="OWAAutoLink" title="http://www.linz.govt.nz/" rel="noopener noreferrer" style="color: rgb(0, 113, 152); margin: 0px;">www.linz.govt.nz</a></u></span><span style="font-family: "Segoe UI", sans-serif; font-size: 9pt; color: rgb(65, 64, 66);"> |
</span><span style="font-family: "Segoe UI", sans-serif; font-size: 9pt; color: rgb(0, 113, 152);"><u><a href="http://www.data.linz.govt.nz/" target="_blank" id="OWA27b2d1d1-e458-2bf0-e923-7745d7ac21c9" class="OWAAutoLink" title="http://www.data.linz.govt.nz/" rel="noopener noreferrer" style="color: rgb(0, 113, 152); margin: 0px;">data.linz.govt.nz</a></u></span></p>
<p style="text-align: left; margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt;">
<span style="font-size: 6pt; color: rgb(65, 64, 66);"> </span></p>
<p style="text-align: left; line-height: 15.4px; margin: 0cm 0cm 8pt; font-family: Calibri, sans-serif; font-size: 11pt;">
<span style="font-family: "Segoe UI", sans-serif; color: rgb(5, 99, 193);"><u><a href="https://www.facebook.com/landinformationnz/" target="_blank" id="OWA899c63ee-e48f-5d15-24f1-c30b839488b6" class="OWAAutoLink" rel="noopener noreferrer" style="color: rgb(5, 99, 193); margin: 0px;"><img alt="cid:image002.png@01D6342C.DB5A4560" width="26" height="26" style="width: 26px; height: 26px; margin: 0px;" data-outlook-trace="F:1|T:1" src="cid:a1443488-d5dc-4a24-a66f-173db65df308"></a></u></span><span style="font-family: "Segoe UI", sans-serif; color: rgb(65, 64, 66);">
</span><span style="font-family: "Segoe UI", sans-serif; color: rgb(5, 99, 193);"><u><a href="https://www.linkedin.com/company/land-information-new-zealand/" target="_blank" id="OWA121de6f9-504f-a8ee-b86e-35533f178c16" class="OWAAutoLink" rel="noopener noreferrer" style="color: rgb(5, 99, 193); margin: 0px;"><img alt="cid:image004.png@01D6342C.DB5A4560" width="26" height="26" style="width: 26px; height: 26px; margin: 0px;" data-outlook-trace="F:1|T:1" src="cid:a509fb4a-ea34-406c-b01a-71f369ccf3df"></a></u></span><span style="font-family: "Segoe UI", sans-serif; color: rgb(65, 64, 66);">
</span><span style="font-family: "Segoe UI", sans-serif; color: rgb(5, 99, 193);"><u><a href="https://twitter.com/LandInfoNZ" target="_blank" id="OWA3fdb7b58-5a17-2680-ee17-8cf92ef31a50" class="OWAAutoLink" rel="noopener noreferrer" style="color: rgb(5, 99, 193); margin: 0px;"><img alt="cid:image006.png@01D6342C.DB5A4560" width="25" height="25" style="width: 25px; height: 25px; margin: 0px;" data-outlook-trace="F:1|T:1" src="cid:098968d5-54b9-419f-b650-9ca71c095550"></a></u></span><span style="font-family: "Segoe UI", sans-serif; color: rgb(65, 64, 66);">
</span><span style="font-family: "Segoe UI", sans-serif; color: rgb(5, 99, 193);"><u><a href="https://www.youtube.com/user/linzvideoofficial" target="_blank" id="OWA82a057b1-a738-a37b-4bb3-893f76802fe5" class="OWAAutoLink" rel="noopener noreferrer" style="color: rgb(5, 99, 193); margin: 0px;"><img alt="cid:image011.png@01D6342C.DB5A4560" width="26" height="26" style="width: 26px; height: 26px; margin: 0px;" data-outlook-trace="F:1|T:1" src="cid:f7909589-ae2b-4206-8f1d-50cb2095935f"></a></u></span></p>
<p style="text-align: left; margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; font-size: 11pt;">
<span style="font-family: "Segoe UI", sans-serif; font-size: 9pt; color: rgb(65, 64, 66);"> </span></p>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<br>
<hr>
<font face="Verdana" color="Black" size="2"><br>
This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please
notify us immediately (Phone 0800 665 463 or customersupport@linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.<br>
</font></div>
<br>
<p style="font-family:Calibri;font-size:12pt;color:#000000;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Center">
UNCLASSIFIED<br>
</p>
</body>
</html>