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

Prepared geometry #103

Open
asinghvi17 opened this issue Apr 12, 2024 · 0 comments · May be fixed by #105
Open

Prepared geometry #103

asinghvi17 opened this issue Apr 12, 2024 · 0 comments · May be fixed by #105
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@asinghvi17
Copy link
Member

"Prepared geometry" is basically a regular geometry with an attached cache, which can be a sorted edge list, an Rtree, a monotone chain decomposition, etc.

We should create prepared geometry wrapper structs which hold a geometry + its cache. It may also contain a field verifying whether the geometry has been validated or not. (This will require special handling in e.g. apply, probably).

Preparations would also require an interface, both to create them, and a trait like interface where we can use multiple libraries' implementations (LibSpatialIndex.jl, SortTileRecursiveTree.jl, NearestNeighbors.jl, etc.)

The wrapper would also have to wrap feature collections, so we can use rtrees defined in things like .gpkg files or elsewhere for spatial joins etc.

@asinghvi17 asinghvi17 added enhancement New feature or request help wanted Extra attention is needed labels Apr 12, 2024
@asinghvi17 asinghvi17 linked a pull request Apr 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant