<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Javier,</p>
<p>Embarrassingly, probably just the result of me having forgotten
stripVerticalComponent() existed when demoteTo2D() was needed.
I've just issued <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/PROJ/pull/4127">https://github.com/OSGeo/PROJ/pull/4127</a>
"CRS::stripVerticalComponent(): Redirect it to
demoteTo2D(std::string(), nullptr)"</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 26/04/2024 à 16:28, Javier Jimenez
Shaw via PROJ a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKvMQZTyLXCx5CRms4jbhP3rqeoZ1Ak_3srcj4JhMur7Gw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi</div>
<div><br>
</div>
<div>In the class CRS I see two methods: stripVerticalComponent
vs demoteTo2D</div>
<div>The implementations are different. But, is there any
practical difference in the result?</div>
<div>(Except that demoteTo2D is looking in the database in case
there is an equivalent definition there to assign an id, and
that you can change the name)</div>
<div><br>
</div>
<div>Thanks.<br>
</div>
<div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>.___ ._ ..._ .. . ._. .___ .. __ . _. . __.. ...
.... ._ .__</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></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>