[PROJ] stripVerticalComponent vs demoteTo2D

Even Rouault even.rouault at spatialys.com
Fri Apr 26 08:02:14 PDT 2024


Javier,

Embarrassingly, probably just the result of me having forgotten 
stripVerticalComponent() existed when demoteTo2D() was needed. I've just 
issued https://github.com/OSGeo/PROJ/pull/4127 
"CRS::stripVerticalComponent(): Redirect it to demoteTo2D(std::string(), 
nullptr)"

Even

Le 26/04/2024 à 16:28, Javier Jimenez Shaw via PROJ a écrit :
> Hi
>
> In the class CRS I see two methods: stripVerticalComponent vs demoteTo2D
> The implementations are different. But, is there any practical 
> difference in the result?
> (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)
>
> Thanks.
> .___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20240426/ff56a4c9/attachment.htm>


More information about the PROJ mailing list