[jira] [Updated] (LUCENE-7955) New GeoShape: GeoDegeneratePath

2017-09-10 Thread Ignacio Vera (JIRA)

 [ 
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-7955) New GeoShape: GeoDegeneratePath

2017-09-05 Thread Ignacio Vera (JIRA)

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

Ignacio Vera updated LUCENE-7955:
-
Summary: New GeoShape: GeoDegeneratePath  (was: New GeoShape: 
GeoDegeneratedPath)

> New GeoShape: GeoDegeneratePath
> ---
>
> Key: LUCENE-7955
> URL: https://issues.apache.org/jira/browse/LUCENE-7955
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Ignacio Vera
>Priority: Minor
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org