lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7226) Geo3d polygon data cleaning would be helpful
Date Sun, 17 Apr 2016 19:47:25 GMT


Michael McCandless commented on LUCENE-7226:

Thanks [~daddywri], but it still fails, in a different way:

Exception in thread "main" java.lang.IllegalArgumentException: cannot find a point that is
inside the polygon
	at org.apache.lucene.spatial3d.geom.GeoPolygonFactory.makeGeoPolygon(
	at org.apache.lucene.spatial3d.Geo3DPoint.fromPolygon(
	at org.apache.lucene.spatial3d.Geo3DPoint.fromPolygon(
	at org.apache.lucene.spatial3d.Geo3DPoint.newPolygonQuery(
	at perf.IndexAndSearchOpenStreetMaps.readPolygonQueries(
	at perf.IndexAndSearchOpenStreetMaps.queryIndex(
	at perf.IndexAndSearchOpenStreetMaps.main(

If you run the geo benchmark with {{-polyMedium}} it should show it...

> Geo3d polygon data cleaning would be helpful
> --------------------------------------------
>                 Key: LUCENE-7226
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/spatial3d
>    Affects Versions: master
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: master, 6.x
>         Attachments: LUCENE-7226.patch
> Some of the OpenStreetMap data has duplicate points, and edges that backtrack upon themselves.
 For most means of constructing polygons, it would be good to "correct" the data and prune
problematic points.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message