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

Saving GDF with columnar metadata #98

Open
alex-s-gardner opened this issue Nov 26, 2024 · 4 comments
Open

Saving GDF with columnar metadata #98

alex-s-gardner opened this issue Nov 26, 2024 · 4 comments

Comments

@alex-s-gardner
Copy link

columnar metadata is critical for keeping track of things like units, sources, timestamp exc..

Is there a GDF.write method that supports writing/reading of table metadata?

@evetion
Copy link
Owner

evetion commented Nov 27, 2024

At the moment no. Afaik GDAL doesn't have a concept of columnar metadata and the only (geo)spatial format that does is Arrow. Even then, with metadata you might be restricted to Strings only.

In Julia we have columnar metadata support on DataFrames and we could make a geospatial vector type that also stores it.

@alex-s-gardner
Copy link
Author

Having a geo format that could support both metadata and geometries could lay a foundation greater flexibility when working with geo tables. This could also open up options for better integration with DD if we can store dimensions information in the metadata.

@alex-s-gardner
Copy link
Author

we could make a geospatial vector type

Is this a big lift and how would it work?

@evetion
Copy link
Owner

evetion commented Nov 29, 2024

Depends on how much functionality we put in. Think of it as a wrapper, or a wrapper with a spatial index a la geoacceleratedarrays. It seems less work than a GeoDataFrame type.

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

No branches or pull requests

2 participants