Examples of toverlaps()


Examples of org.opengis.filter.FilterFactory.toverlaps()

    @Test (expected=UnsupportedOperationException.class)
    public void testTOverlapsUnsuported() throws Exception{
     
      FilterFactory ff = CommonFactoryFinder.getFilterFactory((Hints) null);
      TOverlaps filter = ff.toverlaps(ff.property("date"), newSampleDate());
     
        FilterToCQL toCQL = new FilterToCQL();
        filter.accept( toCQL, null ).toString();
    }
View Full Code Here

Examples of org.opengis.filter.FilterFactory2.toverlaps()

    // can also check of property is within a certain period
    Date date2 = FORMAT.parse("2001-07-04T12:08:56.235-0700");
    Instant temporalInstant2 = new DefaultInstant(new DefaultPosition(date2));
    Period period = new DefaultPeriod(temporalInstant, temporalInstant2);

    Filter within = ff.toverlaps(ff.property("constructed_date"),
            ff.literal(period));
    // temporal end
}

void caseSensitive() throws Exception {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.