Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

DB import multiprocessing - more functional #88

Open
gjn opened this issue Jul 23, 2015 · 1 comment
Open

DB import multiprocessing - more functional #88

gjn opened this issue Jul 23, 2015 · 1 comment

Comments

@gjn
Copy link

gjn commented Jul 23, 2015

...as we do with the tiling. We should use generator functions. Otherwise, with long imports, some processes will stop really working. I've ended up having 2 processes working in the end.

@loicgasser
Copy link
Contributor

That's what I was trying to achieve with my last PR, I am iterating through a GDAL layer to get the features one by one but I am not sure the features are actually streamed from the shapefile. So not 100% sure this is doable with GDAL. But yes we should look into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants