[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [geomesa-users] Problem creating OR filter with disjoint geometries
|
Beau,
The master branch on GeoMesa has been deprecated (and will someday soon
be removed). This fix has been pushed to both the accumulo1.5.x/1.x
branch and back-ported to the accumulo1.4.x/1.x branch.
If you encounter any issues, please let us know.
Thanks!
Sincerely,
-- Chris
On Tue, 2014-06-24 at 19:25 +0000, Beau Lalonde wrote:
> Thanks Chris!
>
> Just for clarification, are you merging it into the accumulo1.5.x/1.x branch or the master branch?
>
> Thanks again,
>
> Beau
>
> -----Original Message-----
> From: geomesa-users-bounces@xxxxxxxxxxxxxxxx [mailto:geomesa-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Chris Eichelberger
> Sent: Tuesday, June 24, 2014 3:04 PM
> To: Geomesa User discussions
> Subject: Re: [geomesa-users] Problem creating OR filter with disjoint geometries
>
> Beau,
>
> Your timing is exceptionally good. We are reviewing a code change that should help to address exactly this issue. It should be merged into the main branch later today. When it is, I'll drop you a line.
>
> Thanks!
>
> Sincerely,
> -- Chris
>
>
> On Tue, 2014-06-24 at 19:00 +0000, Beau Lalonde wrote:
> > All,
> >
> > I occasionally have the need to perform a GeoMesa query against multiple disjoint regions in space.
> >
> > Currently, I am able to query successfully if I perform separate queries for each region, but just today I attempted to do a single query by OR'ing two geometries together and I ended up getting back results that were not in either of my two geometries. I am not sure if this is a bug, a limitation, or if I am doing something wrong.
> >
> > Here is my code:
> > ...
> > FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2();
> > Filter filter = ff.or(Arrays.asList(geographyfilter1, geographyfilter2));
> > Query query = new Query(simpleFeatureTypeName, filter);
> > ...
> >
> > My code compiles and executes as if nothing is wrong, but the query results are not what I expect, because I get back results that do not appear when I perform separate queries for geographyfilter1 and geographyfilter2.
> >
> > Is there a way I can perform such a query as a single query?
> >
> > Thanks,
> >
> > Beau
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > geomesa-users mailing list
> > geomesa-users@xxxxxxxxxxxxxxxx
> > http://www.locationtech.org/mailman/listinfo/geomesa-users
>
> _______________________________________________
> geomesa-users mailing list
> geomesa-users@xxxxxxxxxxxxxxxx
> http://www.locationtech.org/mailman/listinfo/geomesa-users
> _______________________________________________
> geomesa-users mailing list
> geomesa-users@xxxxxxxxxxxxxxxx
> http://www.locationtech.org/mailman/listinfo/geomesa-users