a-b-street / osm2streets

Convert OSM to street networks with detailed geometry
https://a-b-street.github.io/osm2streets
Apache License 2.0
94 stars 8 forks source link

Add Support for .osm.pbf Input #226

Closed sqrtM closed 10 months ago

sqrtM commented 11 months ago

Summary

This pull request introduces support for the PBF input format.

Changes Made

Issue

Closes #225

Testing

Added virgin_islands folder to the test suite. It is large enough to show the capability and speed of the PBF format over XML, while not being so large that it becomes inhibitive for the developer (or Github size limits).

Screenshots

image Main island visualized on geojson.io using the generated geometry.

Additional Notes

There are a couple of considerations that are important to take note of here. If any of them are not to your liking, just let me know, and I'll fix them right up! :


Thank you very much for your time and have a nice day!

dabreegster commented 11 months ago

Thank you so much for the PR! Just to let you know, I'm rushing to finish some urgent work before State of the Map next weekend. I don't think I'll be able to look at this til the 13th. Sorry for the delay :\

sqrtM commented 11 months ago

Thank you so much for the PR! Just to let you know, I'm rushing to finish some urgent work before State of the Map next weekend. I don't think I'll be able to look at this til the 13th. Sorry for the delay :\

oh, man, no worries. get to it when you get to it and I'll be around to clean up after the review. not a problem in the least. have a great week!

sqrtM commented 10 months ago

great! thanks a bunch for the review ! :)

gonna be a BIT busy with the day job this week, but this should be done sooner than later!

be back soon with the changes + rebase. have a nice rest of the week!

sqrtM commented 10 months ago

alright -- as for your current suggestions, i think everything should be implemented! feel free to have another glance over everything at your leisure.

let me know if there's anything else you'd like or any other suggestions you may have. thanks!! (PS sorry for accidentally closing the pr. i'm honestly not entirely sure what caused that. but everything should be good!)

sqrtM commented 10 months ago

Happy to help! let me know if there's anything else i can do for you. thanks!