-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add method DerivedProjectedCRS::demoteTo2D and implement promoteTo3D #3317
Add method DerivedProjectedCRS::demoteTo2D and implement promoteTo3D #3317
Conversation
e055b9d
to
163ad04
Compare
Looks good to me. You just have to add the new symbol in scripts/reference_exported_symbols.txt as suggested below (you can also manually insert it from the suggestion of the diff if not running Linux)
|
Thanks Even. I have just added that line. Looks like I do not have to add anything to the |
no, nothing needed on the documentation side You might also want to run the ./scripts/reformat_cpp.sh script to make sure the code is formatted consistently with the rest, but as you rightly adapted similar existing code, I suspect it should already be properly formatted (this isn't checked by CI, as this might be a bit painless for people with have not the right setup to run the formatter, so from time to time I run it on my side) |
Does it make sense to do the same (promoteTo3D and demoteTo2D) for |
maybe... ? But I don't see a strong need to add that, at least now. PROJ cannot do much with EngineeringCRS apart import/export from/into WKT/PROJJSON, so I don't see a pressing need for adding those methods, whose main usefulness is for createOperations() purposes. |
DerivedProjectedCRS
do not work properly withpromoteTo3D
anddemoteTo2D
.This PR tries to implement that functionality.