-
Notifications
You must be signed in to change notification settings - Fork 11
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
Querying synapses with bounding box fails #137
Comments
Hey @javierhow! I think you are looking for |
Hey Ben! Hope you're having a good time. I tried
and it failed, too ( Javi |
hi @javierhow - my mistake, the docs for that parameter are wrong (opened a PR to fix it) but it should be
which found me 3 synapses. Just a note: it was taking a while to run for me without |
Thanks! That worked. I would like to look for everything in that bounding box without my request timing out – is that possible? Should I open a new issue? |
Javier, glad to see you using CAVE! There's very little we are doing other than passing the query off to PostGIS. It seems like these spatial queries are not particularly fast for large tables and are strongly limited by the performance of your SQL server (how much CPU and ram it's allocated, etc). I would recommend chopping up your field of view into smaller regions and iterating over it. For a start, I would leave two of the dimensions in place and see how small you have to make the third before you start having reasonable performance. We're starting to work on updated documentation, and a recipe along these lines would be a good one. |
Hello again Casey! :) It looks like it always takes 8.6 minutes, no matter how large a field of view. It also looks like it always searches for locations in the native 4 x 4 x 40 nm resolution, even when I pass a desired_resolution parameter. Is that a mistake? |
Hello!
I tried to run
but this failed with error.
TypeError: query_table() got an unexpected keyword argument 'bounding_box'
Any idea why?
Thanks!
Javier
The text was updated successfully, but these errors were encountered: