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

Transfer OGR sources incrementally that are too large to fit in memory #17

Open
brownag opened this issue Mar 2, 2024 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@brownag
Copy link
Owner

brownag commented Mar 2, 2024

[...] it may sometimes be desirable to transfer between OGR sources without reading them into memory. Minimal support for querying and writing a SpatVectorProxy for an arbitrary source was added in 8f3cae4... but a more general solution would use an ogr2ogr-like interface, rather than going through a SpatVector/R intermediate object.

Originally posted by @brownag in #15 (comment)

@brownag brownag self-assigned this Mar 2, 2024
@brownag brownag added the enhancement New feature or request label Mar 3, 2024
@brownag
Copy link
Owner Author

brownag commented Mar 3, 2024

To clarify--this may require incremental reading into memory--but the key goal is that sources that are too large to fit in memory will not be read in their entirety, but rather read/write in chunks.

@brownag brownag changed the title Transfer OGR sources without reading them into memory Transfer OGR sources incrementally that are too large to fit in memory Mar 3, 2024
@brownag
Copy link
Owner Author

brownag commented Mar 5, 2024

An alternative to hand rolling an approach for this would be to use gdalraster::ogr2ogr()--a new feature in current development (1.9.0.9070) version--which should be able to do exactly what this issue calls for; related to #19

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
None yet
Development

No branches or pull requests

1 participant