Closed nikmikov closed 4 years ago
Thanks for your PR! Sorry it took so long for me to notice it. I'll try to find some time to look at the code.
Thanks again! osmformat.proto
clearly states that DenseInfo
is optional and I'm glad this is now reflected in the code!
DenseInfo
might be left unpopulated by some exporters. In this caseDenseNodeIter
won't work. This PR is separatingDenseNodeIter
intoDenseNodeIter
andDenseNodeInfoIter
Example of such file: https://download.bbbike.org/osm/bbbike/Lausanne/Lausanne.osm.pbf