Examples of TOverlaps


Examples of org.opengis.filter.temporal.TOverlaps

            "    </gml:TimePeriod> "
            "   </fes:TOverlaps> " +
            "</fes:Filter>";
        buildDocument(xml);

        TOverlaps overlaps = (TOverlaps) parse();
        assertNotNull(overlaps);
       
        assertTrue(overlaps.getExpression1() instanceof PropertyName);
        assertEquals("timeInstanceAttribute", ((PropertyName)overlaps.getExpression1()).getPropertyName());

        assertTrue(overlaps.getExpression2() instanceof Literal);
        assertTrue(overlaps.getExpression2().evaluate(null) instanceof Period);
    }
View Full Code Here

Examples of org.opengis.filter.temporal.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
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.