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

Make generator to parse data for performance improvement with large files #2

Open
manesioz opened this issue Oct 11, 2019 · 1 comment

Comments

@manesioz
Copy link

manesioz commented Oct 11, 2019

Since some *.osm.pbf files are quite large, do you think it would be possible to yield each row of data instead of appending it to a dict? So that parse_osm_pbf() would become a generator. This would be great for my use-case, if you want I can start a PR for this feature if you think its useful/feasible. @mikeqfu

@manesioz manesioz changed the title yield (instead of appending to a dict) parsed data for performance increase on large files Make generator to parse data for performance improvement with large files Oct 12, 2019
@Evgeny-ubrr
Copy link

hi, as of today is it possible to process large pbf files by chunks with pydriosm?

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

Successfully merging a pull request may close this issue.

2 participants