[
https://issues.apache.org/jira/browse/LUCENE-4351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-4351:
---------------------------------
Attachment: LUCENE-4351_Spatial4j_0_3.patch
Here's the patch; there were many changes needed. Many were trivial, like
GeohashUtils and ParseUtils moving to the .io. package, or SimpleSpatialContext
being just SpatialContext now. The biggest change was circle.getRadius() and
DistanceCalculator.distance() being degrees based. Chris and I thought it best
that Lucene spatial retain distance unit neutrality, and hence the distance
ValueSource out of the SpatialStrategy is in degrees as well.
Also, I modified the complex
TestRecursivePrefixTreeStrategy.geohashRecursiveRandom() test to use circular
data clusters instead of rectangular, since at the poles those rectangles don't
look too rectangular ;-) May not have been strictly necessary as part of the
patch but while debugging an unknown failure I wanted to make this improvement.
> Upgrade Spatial4j to 0.3
> ------------------------
>
> Key: LUCENE-4351
> URL: https://issues.apache.org/jira/browse/LUCENE-4351
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial
> Reporter: David Smiley
> Assignee: David Smiley
> Fix For: 4.0
>
> Attachments: LUCENE-4351_Spatial4j_0_3.patch
>
>
> This version of Spatial4j has various API level improvements. It features
> dateline wrap for polygons.
--
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: [email protected]
For additional commands, e-mail: [email protected]