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

Ignacio Vera updated LUCENE-7955:
---------------------------------
    Attachment: LUCENE-7955-test.patch

Attached the side effect of end points as point. When a shape contains a 
degenerate path it will always return OVERLAPS because of the following method:

    /** Determine if this endpoint intersects a GeoShape.
     *@param geoShape is the GeoShape.
     *@return true if there is shape intersect this endpoint.
     */
    public boolean intersects(final GeoShape geoShape) {
      return geoShape.isWithin(point);
    }

> New GeoShape: GeoDegeneratePath
> -------------------------------
>
>                 Key: LUCENE-7955
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7955
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ignacio Vera
>            Assignee: Karl Wright
>            Priority: Minor
>             Fix For: 6.7, master (8.0), 7.1
>
>         Attachments: LUCENE-7955-test.patch
>
>
> Hi [~daddywri],
> I propose to add new type of shape for GeoPaths that have a cutoffangle < 
> MINIMUM_RESOLUTION. We can define it as a shape consisting of points exactly 
> on the path.
> It would be a much lighter version of GeoStandardPath and created only when 
> the cutoff angle is between 0 and MINIMUM_RESOLUTION.
> Thanks!
> Ignacio
>   



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to