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

GeoShape indexing and query support #2164

Closed

Conversation

chrismale
Copy link
Contributor

Based on the spatial module in Lucene trunk, this PR adds support for indexing and querying arbitrary shapes (Points, Rectangles, Polygons). Since both documents and queries can be shapes, the notion of a relationship between shapes is included so users can query for shapes that intersect the query shape, are disjoint of, or are contained within. Also included is more extensive support for parsing GeoJSON shapes.

The underlying logic is implemented using two projects, Shape4j which provides Shape implemetations and handles much of the spatial logic, and JTS, which is used by Shape4j for Polygons and by code in the PR to implement the contains relationship.

@travisbot
Copy link

This pull request fails (merged 37aaa00c into b979dfa).

@travisbot
Copy link

This pull request fails (merged 9e2347e into ad0e916).

1 similar comment
@travisbot
Copy link

This pull request fails (merged 9e2347e into ad0e916).

@kimchy
Copy link
Member

kimchy commented Aug 13, 2012

Pushed. Lets create an issue corresponding to this change with full docs on how it works.

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

Successfully merging this pull request may close these issues.

None yet

3 participants