osmflat-rs icon indicating copy to clipboard operation
osmflat-rs copied to clipboard

Interest in addition of spatial index archive?

Open boydjohnson opened this issue 1 year ago • 6 comments

I thought to add a spatial index to osmflat-rs, and have it partially implemented here (https://github.com/boxdot/osmflat-rs/compare/master...boydjohnson:osmflat-rs:feature/geospatial-archive). It is implemented for Nodes and Ways, but not relations.

The index is this implementation (https://docs.rs/space-time/latest/space_time/xzorder/xz2_sfc/struct.XZ2SFC.html).

It allows for indexing Nodes, Ways, and Relations with the same curve, based on bounding box.

Aside from asking if you would consider a PR, I was wondering if there would be crates.io releases in the future for osmflat and osmflatc?

Best regards.

boydjohnson avatar Aug 24 '24 16:08 boydjohnson