Skip to content
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 C++ API to transform coordinate and a C++ quickstart #3705

Merged
merged 6 commits into from
Apr 19, 2023

Conversation

rouault
Copy link
Member

@rouault rouault commented Apr 9, 2023

Fixes #3593

@rouault rouault added this to the 9.3.0 milestone Apr 9, 2023
@rouault rouault merged commit 977ce13 into OSGeo:master Apr 19, 2023
Comment on lines +490 to +492
PJ_COORD CoordinateTransformer::transform(PJ_COORD coord) {
return proj_trans(d->pj_, PJ_FWD, coord);
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for late feedback after this is already merged. Would be nice to be able to pass proj_direction as parameter.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to be able to pass proj_direction as parameter.

you can call inverse() on a CoordinateOperation

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.

Examples for the C++ API
2 participants