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

feature request: df = GeoDataFrame(path2file) #97

Open
alex-s-gardner opened this issue Nov 25, 2024 · 2 comments
Open

feature request: df = GeoDataFrame(path2file) #97

alex-s-gardner opened this issue Nov 25, 2024 · 2 comments

Comments

@alex-s-gardner
Copy link

In Ratesrs.jl you can define a Raster as Raster(path2file).. I'm wondering if it would be cleaner to have a similar API for GeoDataFrames where df = GeoDataFrame(path2file) which would be equivalent to df = GeoDataFrames.read(path2file).
I recognize that GeoDataFrame is not a Type so maybe this goes against the broader Julia standard.

@evetion
Copy link
Owner

evetion commented Nov 25, 2024

Well it's not a type... yet. I'm seriously considering making it a type so we can operate on the dataframe, instead of needing to pick columns and such.

@alex-s-gardner
Copy link
Author

alex-s-gardner commented Nov 25, 2024

Ya... I can see that all roads are starting to point to a new Type

A new type could also help enforce CRS in the metadata

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