-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use separated Coords #11
Comments
FWIW, interleaved coords will still work and the optimizations that I'm talking about aren't implemented quite yet. The optimizations I'm talking about are:
If ESRI JSON is similar to GeoJSON I imagine constructing the interleaved version is easier to do from your end. All this to say that I think you can safely defer this one for quite a while if you'd like 🙂 |
Thanks for the heads up! Esri JSON is quite quite close to geojson coords are structured like The way it works is that I have my struct Aside: I suspect any use of geoarrow or more low-level geometry representations will lead to a massive speed up regardless of a copy or not :) |
It's true. I've even found so far that Arrow WKB is a huge speed boost (compared to anything involving lists of R objects). |
Per recommendation separated x &y coordinates should be used when creating a geoarrow array as it will improve conversion to R types.
Comment: geoarrow/geoarrow-c#78
Example affected lines:
serde_esri/src/arrow_compat.rs
Line 209 in 1f7f70e
@kylebarron
The text was updated successfully, but these errors were encountered: