-
Notifications
You must be signed in to change notification settings - Fork 39
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
scalability of geometry encoding #534
Comments
I think we can do better though, primarily by supporting chunked arrays as input. The arrays get passed to GEOS, so we'll need to Everything else is up to
@martinfleis a couple of questions:
|
Not without writing that line of code shown above in our code.
Could you open a request in shapely? That would need to be implemented there by someone who speaks C. |
OK let me do some more thorough profiling and I'll open an issue there. |
I've been playing with encoding larger datasets using the cf-xarray geometry approach. Here's some code
I confirmed that the scaling is roughly linear. At this rate, it will take > 500 seconds to encode the whole dataset. Decoding is about 20x faster.
I'm wondering if there are some low-hanging fruit that can be found to optimize this.
Alternatively, we could explore storing geometries as WKB, as geoparquet does.
The text was updated successfully, but these errors were encountered: