Skip to content

Conversation

@jw3126
Copy link
Member

@jw3126 jw3126 commented Nov 18, 2022

It is my understanding, that at some point in the past Base.convert === GeoInterface.convert. However, these are two different functions nowadays and we overload Base.convert where GeoInterface.convert would be the correct protocol in some cases.

@visr
Copy link
Member

visr commented Nov 19, 2022

I was confused as well about these two functions. Have you read JuliaGeo/GeoInterface.jl#66? I think the main takeaway is that it should be Base.convert, although that doesn't seem like a solution that can cover all cases as I mention in this post, so I think it needs more work.

@jw3126
Copy link
Member Author

jw3126 commented Nov 19, 2022

Oh interesting I was not aware, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants