-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add spatial filtering support to Kart #456
Comments
Kart spatial filtering
Generally works fine in spite of this but these will all be needed at some point |
Setting a spatial filter locally during a kart clone or kart init is mostly working - however, there are lots of gaps that need to be revisited. Tracking them here so they don't get forgotten: Setting and applying spatial filters locally:
Applying spatial filters to data sent over network - partial clone:
|
As of #475, spatial-index changes to kart have begun - these depend on S2 / pywraps2, and on git 2.33 or later. |
Code for maintaining a spatial index in a kart repo is mostly done at 92e590a, but still has the following issues:
Won't fix all of these immediately - will try and make progress on the overall flow, so as to get to something that works sooner rather than later (even if only one some platforms) |
Git filter extension is WIP at https://github.com/koordinates/kart/tree/git-spatial-filter-extension
|
|
|
Something else we need - when a kart repo is to be used as a server, it should have |
The index is switched from S2 cells that approximate envelopes - now it is simply envelopes. This removes our dependency on S2. |
Closing since spatial filtering is launched, will reopen either individual issues or a new tracking bug |
It should be possible to work with a "spatially filtered" Kart repo. This is a repo which has a particular geometry which is the stored in the config which is treated as a spatial filter, such that -
There is some more complexity around these concepts (such as, making sure the user doesn't accidentally reuse the PK from a feature that doesn't match their current filter, since PKs must be globally unique) but that is the basic idea.
The text was updated successfully, but these errors were encountered: