<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Javier,</p>
<p>If you need a WKT2 with a coordinate operation, then you can
simply wrap any PROJ string expressing a coordinate operation like
the following:<br>
</p>
<p>$ projinfo "+proj=geogoffset +dh=5" -o WKT2:2019 -q<br>
<br>
CONVERSION["PROJ-based coordinate operation",<br>
METHOD["PROJ-based operation method: +proj=geogoffset +dh=5"]]<br>
</p>
<p>Of course only interoperable in the PROJ universe.</p>
<p>Otherwise using Transformation::createGeographic3DOffsets() /
createGeographic2DWithHeightOffsets() could have been an option,
but if your source and target CRS aren't geographic, PROJ will
complain when getting the PROJ transformation string.<br>
</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 29/11/2021 à 16:53, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKvBVC7uJZND9nSiP8=7gE44tV18HEJb+jxm8iRbzDYdZg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Thanks Even</div>
<div><br>
</div>
<div>Is there anything equivalent to that as Vertical CRS to use
in a Compound? I know it is not correct geodetically, but I
want it just as a WKT temporary object. I just need that PROJ
is able to understand it and use it in a transformation.<br>
</div>
<div>That is, given a horizontal CRS, I want to create a
compound (or anything equivalent) with a vertical offset (as
WKT2 if it makes things easier)</div>
<div><br>
</div>
<div>Thanks.<br>
</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>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 1 Nov 2021 at 17:01,
Even Rouault <<a href="mailto:even.rouault@spatialys.com"
moz-do-not-send="true">even.rouault@spatialys.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Javier<br>
</p>
<div>Le 01/11/2021 à 13:32, Javier Jimenez Shaw a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi</div>
<div><br>
</div>
<div>I want to make a transformation (at the end an
operation::CoordinateOperation) that replaces the
geoid model with a local constant value.</div>
<div><br>
</div>
<div>In some cases there is public grid file for a geoid
model, but I can get a (constant) undulation value
(let's say 42.9m) in a (small) area of work. I would
like to include this undulation value in the
transformation.</div>
<div><br>
</div>
<div>How can I do that? is there any pipeline option for
that? (I do not see a way in <a
href="https://proj.org/operations/transformations/vgridshift.html"
target="_blank" moz-do-not-send="true">https://proj.org/operations/transformations/vgridshift.html</a>)
Or a way to directly create the CoordinateOperation?</div>
</div>
</blockquote>
<p>You can use the <a
href="https://proj.org/operations/transformations/geogoffset.html"
target="_blank" moz-do-not-send="true">https://proj.org/operations/transformations/geogoffset.html</a>
with the dh parameter. This is for example used for
transformation EPSG:15596<br>
</p>
<p>Even<br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Thanks<br>
</div>
<div>
<div>
<div dir="ltr">.___ ._ ..._ .. . ._. .___ .. __ .
_. . __.. ... .... ._ .__<br>
Entre dos pensamientos racionales <br>
hay infinitos pensamientos irracionales.<br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
PROJ mailing list
<a href="mailto:PROJ@lists.osgeo.org" target="_blank" moz-do-not-send="true">PROJ@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/proj" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/proj</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote>
</div>
</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>