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

Implement crs and geometrycolumn fallbacks via DataAPI #161

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

asinghvi17
Copy link
Member

@asinghvi17 asinghvi17 commented Sep 21, 2024

  • Needs tests
  • needs docs

Comment on lines +101 to +108
function _get_dataapi_metadata(geom::GeomType, key, default) where GeomType
if DataAPI.metadatasupport(GeomType).read
if key in DataAPI.metadatakeys(geom)
return DataAPI.metadata(geom, key; style = false)
end
end
return default
end
Copy link
Member Author

Choose a reason for hiding this comment

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

Should I move this to some other location / file?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe to (a new) metadata.jl? I discussed having a Geometadata.jl package with @rafaqz, but that's probably overkill for now.

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