<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<blockquote type="cite"
cite="mid:CAE49LKx23GL15yvXSK5UU0_JLNbJmW=bquuRMHKWmtsoPp8zCQ@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>EPSG:1236, AGD84 to WGS 84 (2) is missing. This has an
accuracy of 5, same as EPSG:15789. </div>
<div><br>
</div>
<br>
<div><br>
</div>
<div>Question 1:</div>
<div>Is this to be considered as a bug, or is it a logical
explanation? I have a couple of more similar examples. <br>
</div>
</div>
</blockquote>
<p>You'll get it with the --show-superseded flag of projinfo:</p>
<p>projinfo -s AGD84 -t "WGS 84" --summary --spatial-test intersects
--show-superseded<br>
Candidate operations found: 5<br>
EPSG:1669, AGD84 to WGS 84 (7), 3.0 m, Australia - Queensland,
South Australia, Western Australia, federal areas offshore west of
129°E.<br>
EPSG:1109, AGD84 to WGS 84 (1), 4.0 m, Australia - Queensland,
South Australia, Western Australia, federal areas offshore west of
129°E.<br>
EPSG:15789, AGD84 to WGS 84 (8), 5.0 m, Australia - Queensland,
South Australia, Western Australia, federal areas offshore west of
129°E.<br>
EPSG:1236, AGD84 to WGS 84 (2), 5.0 m, Australia - Queensland,
South Australia, Western Australia, federal areas offshore west of
129°E.<br>
DERIVED_FROM(EPSG):15785, AGD84 to WGS 84 (9), 2.9 m, Australia -
Queensland, South Australia, Western Australia, federal areas
offshore west of 129°E., at least one grid missing<br>
</p>
<p>EPSG:1236, AGD84 to WGS 84 (2) has been superseded per EPSG:1669,
AGD84 to WGS 84 (7)</p>
<p>The supersession is recorded in the supersession table of proj.db
and also shows in the remark of EPSG:1236<br>
</p>
<p> REMARK["""Higgins parameters"". Replaced by AGD84 to GDA94
(2) (code 1280) and AGD84 to WGS 84 (7) (code 1669). Note: AGD84
officially adopted only in Queensland, South Australia and Western
Australia."]]<br>
<br>
</p>
<blockquote type="cite"
cite="mid:CAE49LKx23GL15yvXSK5UU0_JLNbJmW=bquuRMHKWmtsoPp8zCQ@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>Question 2:</div>
<div>On the other side, I am able to get the pipeline going from
4203 to 4326 (AGD84 to WGS 84 (2)). by using: </div>
<div><span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;color:rgb(149,56,0)">Transformer</span><span style="color:rgb(36,41,47);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap">.</span><span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;color:rgb(130,80,223)">from_pipeline</span><span style="color:rgb(36,41,47);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap">(</span><span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;color:rgb(207,34,46)">f</span><span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;color:rgb(10,48,105)">"urn:ogc:def:coordinateOperation:EPSG::</span>1236<span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;color:rgb(10,48,105)">"</span><span style="color:rgb(36,41,47);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap">) </span></div>
<div>
<div><br>
</div>
<div>As the API I develop delivers transformation pipelines in
both directions, where coordinates are not
always given(optional), It's easy to get the pipeline in
both directions using TransformerGroup.</div>
<div><br>
</div>
<div>I am considering using the urn definition <a
class="gmail_plusreply" id="plusReplyChip-0"
moz-do-not-send="true">+</a> <span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;color:rgb(149,56,0)">Transformer</span><span style="color:rgb(36,41,47);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap">.</span><span style="font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap;color:rgb(130,80,223)">from_pipeline</span>
instead, but struggle to find a way to get the reverse
pipeline (from EPSG:4326 to EPSG:4203 (EPSG:1236)).</div>
<div>Someone who can help on how this can be done?</div>
</div>
</div>
</blockquote>
<p>PROJ itself has a proj_coordoperation_create_inverse() method,
but it doesn't seem to be used by pyproj. Something to potentially
raise to <a class="moz-txt-link-freetext" href="https://github.com/pyproj4/pyproj">https://github.com/pyproj4/pyproj</a></p>
<p>Even</p>
<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>