Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geowave-dev] SpatialQuery CompareOperations


The CompareOperation.CONTAINS is an optimization for 'within a range' type search. 
See executePolygonAndTimeRangeQuery in  mil.nga.giat.geowave.examples.queryGeoTemporalQueryExample

To gain full use of those operators, use mil.nga.giat.geowave.adapter.vector.query.cql.CQLQuery.

See:  examples/src/main/java/mil/nga/giat/geowave/examples/query/SpatialQueryExample.java

 


On Fri, Feb 26, 2016 at 6:14 PM, Jose M <soloninguno@xxxxxxxxxxx> wrote:

Hi again,


I was looking at the CompareOperations in SpatialQueryFilter and seems they use the JTS Geometry compare methods.


As I see, only CONTAINS and OVERLAPS are implemented (in facts don't know why but OVERLAPS uses interesect instead of overlaps Geometry method).


Can the other methods be used (coveredBy, covers, crosses, disjoint, equals, intersect, touches, within)?

I can update the SpatialQueryFilter code adding new enums to CompareOperations on my own, just want to know if I need to consider something else. Don't know if they were not implemented because missing time, or for some incompatibility with geowave.


Thanks!



_______________________________________________
geowave-dev mailing list
geowave-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geowave-dev



Back to the top