lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-2268) Add support for Point in Polygon searches
Date Mon, 17 Sep 2012 05:33:07 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Smiley resolved SOLR-2268.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: David Smiley  (was: Grant Ingersoll)

SOLR-3304 is committed, and consequently there is now polygon support; I'm closing this issue.

Polygons and various other shapes are implemented by [Spatial4j|https://github.com/spatial4j/spatial4j]
(ASL licensed lib) used by the new Lucene 4 spatial module.  Points, rectangles, and circles
are implemented directly by Spatial4j whereas JTS is used for polygons and other shapes supported
in the WKT format.  Spatial4j wraps JTS to add geospatial awareness -- notably dateline wrap.
 Pole wrap is not yet supported.  The new SpatialRecursivePrefixTreeFieldType added to Solr
can index any Spatial4j shape and query by them as well.

I've got a preliminary wiki page on this but I need to update it and see how to integrate
this content with the rest of the wiki.  http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
                
> Add support for Point in Polygon searches
> -----------------------------------------
>
>                 Key: SOLR-2268
>                 URL: https://issues.apache.org/jira/browse/SOLR-2268
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: David Smiley
>             Fix For: 4.0
>
>         Attachments: SOLR-2268.patch
>
>
> In spatial applications, it is common to ask whether a point is inside of a polygon.
 Solr could support two forms of this: 
> # A field contains a polygon and the user supplies a point.  If it does, the doc is returned.
 
> # A document contains a point and the user supplies a polygon.  If the point is in the
polygon, return the document
> With both of these case, it would be good to support the negative assertion, too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message