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

Query database created with ingest #28

Open
vmx opened this issue Mar 31, 2022 · 1 comment
Open

Query database created with ingest #28

vmx opened this issue Mar 31, 2022 · 1 comment

Comments

@vmx
Copy link

vmx commented Mar 31, 2022

I don't know if it's a bug or if I'm doing something wrong. I create an eyros database with ingest like this (both are on eyros 4.6.1:

cargo +nightly run --release -- ingest --pbf ../../data/berlin-latest.osm.pbf --edb ../edb/

And they try to query it via:

cargo +nightly run --release --example query -- ../edb -180,-90,180,90

I get this error:

thread 'main' panicked at 'range start index 559651500 out of range for slice of length 24054', /eyros/src/bytes/from.rs:154:22
@ghost
Copy link

ghost commented May 5, 2022

This is probably because the eyros/examples/query.rs value type is u32, but peermaps-ingest and the whole peermaps stack uses a value type of Vec<u8>.

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

No branches or pull requests

1 participant