Open ErichDonGubler opened 5 years ago
Mmm, I don't get the goal of this crate.
osmpbfreader is now quite stable in term of interface. It's used in production for about one year now in our geocoder mimirsbrunn.
@TeXitoi: osmpbfreader
seems to be a production-quality library for the PBF format -- which is why I mentioned it first. As for this crate's goal: I haven't found any coherent set of CLI tools for dealing with OSM in general in the Rust ecosystem a la osmosis
. I sincerely doubt I'll get to the point where this is "production-ready", but I want a few tools like this and I love writing Rust, so thought I'd at least make it forward-compatible with that outcome. :) Perhaps I've missed something you can suggest?
I don't really plan on publishing this as a set of crates unless I decide to make this ready for production, so at this point it'd be fair not to expect much.
OK, feel free to ask anything, I'll try to respond.
As of products using osmpbfreader (that can contain interesting code as mutlipolygon parsing)
https://github.com/CanalTP/mimirsbrunn https://github.com/CanalTP/osm-transit-extractor https://github.com/CanalTP/improve_ntfs_with_osm
Only the first is in production.
It'd be nice if we could integrate with/share some ecosystem with other crates.
osmpbfreader
looks like the most featureful PBF reader. I have no strong opinions about what to do in relation to this crate yet, but I'll tag @Texitoi here in case he's interested in this. If not, feel free to ignore this!osmpbf
seems to have the sort of interface I was thinking of, and has some useful documentation describing how the PBF format is generally laid out.osm-xml
seems to have a lot of core functionality we care about implemented, but the design seems to have some issues that I will, at some point, enumerate and discuss with the crate author. Those issues are almost certainly exclusive to the over-engineering I'm thinking about and might not actually be important.