You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Since some
*.osm.pbf
files are quite large, do you think it would be possible toyield
each row of data instead of appending it to adict
? So thatparse_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. @mikeqfuThe text was updated successfully, but these errors were encountered: