[ https://issues.apache.org/jira/browse/LUCENE-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley updated LUCENE-6544: --------------------------------- Attachment: LUCENE-6544.patch Final patch is here, with CHANGES.txt as follows: {noformat} * LUCENE-6544: Geo3D: (1) Regularize path & polygon construction, (2) add PlanetModel.surfaceDistance() (ellipsoidal calculation), (3) cache lat & lon in GeoPoint, (4) add thread-safety where missing -- Geo3dShape. (Karl Wright, David Smiley) {noformat} I'll commit later at lunch. > Geo3d cleanup: Regularize path and polygon construction, plus consider adding > ellipsoid surface distance method > --------------------------------------------------------------------------------------------------------------- > > Key: LUCENE-6544 > URL: https://issues.apache.org/jira/browse/LUCENE-6544 > Project: Lucene - Core > Issue Type: Improvement > Components: modules/spatial > Reporter: Karl Wright > Attachments: LUCENE-6544.patch, LUCENE-6544.patch > > > Geo3d's way of constructing polygons and paths differs in that in one case > you construct points and the other you feed lat/lon values directly to the > builder. Probably both should be supported for both kinds of entity. > Also it may be useful to have an accurate point-point ellipsoidal distance > function. This is expensive and would be an addition to the arc distance we > currently compute. It would probably be called "surface distance". -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org