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 Transformation constructor for pipeline and fix show for it. #73

Merged
merged 3 commits into from
Dec 15, 2022

Conversation

evetion
Copy link
Member

@evetion evetion commented Nov 4, 2022

Fixes #69

Copy link
Member

@visr visr left a comment

Choose a reason for hiding this comment

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

This is great to have, thanks. I also like the Base.show improvements.

  1. The new single arg AbstractString Transformation constructor is supposed to represent a pipeline. Can we check in the constructor after proj_create if this is really the case, and throw an error if not? Or is there no PROJ API for that? I'm worried about people creating a Proj.Transformation("EPSG:28992"), which (I guess) doesn't make much sense or will error.
  2. Could you add a test for using the new constructor, including one that throws in the example above?

src/coord.jl Outdated Show resolved Hide resolved
src/coord.jl Outdated Show resolved Hide resolved
@visr visr mentioned this pull request Nov 6, 2022
@visr visr merged commit ae694c9 into master Dec 15, 2022
visr added a commit that referenced this pull request Dec 19, 2022
visr added a commit that referenced this pull request Dec 22, 2022
visr added a commit that referenced this pull request Dec 22, 2022
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.

Create Transformation with a single pipeline projection
2 participants