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

GDAL RFC 86 Column-oriented read API for vector layers #23

Open
rsbivand opened this issue Jun 2, 2022 · 2 comments
Open

GDAL RFC 86 Column-oriented read API for vector layers #23

rsbivand opened this issue Jun 2, 2022 · 2 comments

Comments

@rsbivand
Copy link

rsbivand commented Jun 2, 2022

https://lists.osgeo.org/pipermail/gdal-dev/2022-June/055884.html introduces OSGeo/gdal#5830, https://github.com/rouault/gdal/blob/rfc_86/doc/source/development/rfc/rfc86_column_oriented_api.rst. Looks potentially promising! @edzer - is this helpful in sdsr?

@jorisvandenbossche
Copy link

Dewey is already working on a POC to consume it: https://github.com/paleolimbot/rfc86

@paleolimbot
Copy link
Collaborator

paleolimbot commented Jun 2, 2022

Joris beat me to it! I put that together yesterday because I was curious how much of the speed differences were internal to GDAL and how much of them were a result of (avoiding) constructing millions of R strings (my lightly tested conclusion was that it's some of both).

I think the main benefit will be that all the packages implementing a version of readOGR won't have to implement their own OGR field -> R vector logic. In that proof-of-concept I use the Arrow R package's conversion but there's no reason that the conversion couldn't live in something standalone (like narrow).

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

3 participants