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

Consider using the pyogrio library to speed up vector reading & writing #4

Open
robyngit opened this issue Oct 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@robyngit
Copy link
Member

Today I learned about the pyogrio package, created by the geopandas developers. It enables much faster reading (5-10x faster) & writing (5-20x faster) of vector formats than with geopandas alone. Using pyogrio.read_dataframe and pyogrio.write_dataframe would be super advantageous in all three of our packages: viz-staging, viz-raster, and viz-3dtiles. The docs also outline additional features that would be useful in speeding up our workflow:

However, note the warning:

Pyogrio is still at an early version and the API is subject to substantial change.

@robyngit robyngit added the enhancement New feature or request label Oct 24, 2022
@robyngit
Copy link
Member Author

Quick note that as of geopandas 0.11, you can set the reading & writing "engine" to pyogrio instead of the default/slower fiona. This is an easy step we could implement to make the workflow a little faster, but it would need some testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant