Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

rouault
Copy link
Member

@rouault rouault commented Apr 26, 2024

stripVerticalComponent() was implemented in the initial commit of the PROJ 6 / GDAL Barn SRS effort, but was not used internally at that time. Just as a potential useful method for future users

Later we needed promoteTo3D(), and soon after the reverse operation, but we (likely) forgot about the existence of stripVerticalComponent(). Hence a new demoteTo2D() method, which is more capable than the initial stripVerticalComponent().

@rouault rouault force-pushed the stripVerticalComponent_alias_demoteTo2D branch from d974873 to 6fdef27 Compare April 26, 2024 15:00
@rouault rouault changed the title CRS::stripVerticalComponent() CRS::stripVerticalComponent(): Redirect it to demoteTo2D(std::string(), nullptr) Apr 26, 2024
@rouault rouault force-pushed the stripVerticalComponent_alias_demoteTo2D branch from 6fdef27 to 1ab7c44 Compare April 26, 2024 15:01
…), nullptr)

stripVerticalComponent() was implemented in the initial commit of the PROJ 6 / GDAL
Barn SRS effort, but was not used internally at that time. Just as a potential
useful method for future users

Later we needed promoteTo3D(), and soon after the reverse operation, but
we (likely) forgot about the existence of stripVerticalComponent(). Hence
a new demoteTo2D() method, which is more capable than the initial
stripVerticalComponent().
@rouault rouault force-pushed the stripVerticalComponent_alias_demoteTo2D branch from 1ab7c44 to d3cb3fb Compare April 26, 2024 18:24
@rouault rouault added this to the 9.5.0 milestone Apr 29, 2024
@rouault rouault merged commit 5a95429 into OSGeo:master Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants