Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geobuf Index #46

Open
mourner opened this issue May 8, 2015 · 1 comment
Open

Geobuf Index #46

mourner opened this issue May 8, 2015 · 1 comment

Comments

@mourner
Copy link
Member

mourner commented May 8, 2015

Lets discuss indexing. Previous discussion: #27 (comment)

I think the solution I'd like to see here is a separate PBF-based format that would come as a separate file coupled with a Geobuf file that would store:

  • serialized R-Tree (rbush) with leafs pointing to feature offsets in the geobuf pbf
  • a map of feature ids to feature offsets for fast single-feature seeking

The R-tree serialization should avoid embedded messages because they are hard to decode lazily. I'd imagine one possible solution to be nodes stored as a flat set of messages, with references to children implemented as offset pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants