Johannes Hofmann
Johannes Hofmann
I agree and I will try to see if it is feasible.
Hey nyurik, sorry for taking so long to respond. I would refrain from changing the *.proto files in a semantic way for now, as it would make it harder to...
I like that idea! And builder structs seem like a good way to avoid having to allocate a node with all of its tags, only to be destroyed again so...
Hey nyurik, I wanted to let you know, that I started pushing commits to this branch: https://github.com/b-r-u/osmpbf/tree/writer Writing blobs and blocks is implemented, but there is still a lot of...
Hi @nyurik, this is really interesting. I'm glad to help you. I couldn't quite get the requirements for the output files. Is each element considered separately (as they are stored...
I was thinking about something like this as a starting point: ```rust use osmpbf::{BlobReader, BlobDecode, Element}; use rayon::prelude::*; fn main() -> anyhow::Result { let reader = BlobReader::from_path("bremen-latest.osm.pbf")?; reader.par_bridge() .try_for_each( |blob|...
To expand this small example and find usability issues with osmpbf I created a repo: https://github.com/b-r-u/osm2gzip Maybe it can evolve to a useful tool.
A node index is still missing in the code, I can add it later today. It should be a HashMap from node id to position, which can be used in...
Oh, I guess that's true. I was thinking that it may work with a 64 bit key (the node id) and a 64 bit value (two i32 coordinates), but with...
Sorry for my late reply! Following our discussion, I actually implemented a proof of concept in May but didn't get around to include it in this library. It also re-creates...