GeoShape indexing and query support #2164

Closed
wants to merge 1 commit into
from

3 participants

@chrismale

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

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

@travisbot

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

@travisbot

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

@kimchy
elastic member

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

@kimchy kimchy closed this Aug 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment