<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Javier,</p>
<p>No, there's no such function.</p>
<p>I'm wondering if we shouldn't generalize that as a function that
returns all known transformations that have a specified CRS as the
source or target<br>
</p>
<p>PJ_OBJ_LIST* proj_crs_get_related_operations(PJ_CONTEXT* ctxt,
const PJ* crs, const char* const *options)<br>
</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 20/04/2021 à 18:47, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKvsuMonHgDS970X6zZT2Bpx+WvAZj3Wm60EkhccHKGt=w@mail.gmail.com">
<div dir="ltr">
<div>Hi</div>
<div><br>
</div>
<div>Given a vertical CRS, I would like to get the list of
possible geoid models that apply to it.</div>
<div>Is there any way in the C++ API to get that information?</div>
<div>(use case: give the user a list of available geoid models,
to select the desired one).<br>
</div>
<div><br>
</div>
<div>If not, I am happy to make a PR using an SQL query (that is
the only way I found). The input would be the CRS auth-code,
the output a list of strings.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Javier.</div>
<div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">.___ ._ ..._ .. . ._.
.___ .. __ . _. . __.. ... .... ._ .__<br>
Entre dos pensamientos racionales <br>
hay infinitos pensamientos irracionales.<br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
PROJ mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</a>
</pre>
</blockquote>
<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>