Package org.opengis.filter.spatial

Examples of org.opengis.filter.spatial.Intersects.evaluate()


        LineString geom = gf.createLineString(coords);
        LiteralExpressionImpl expr2 = new LiteralExpressionImpl(geom);
        Intersects intersects = fac.intersects(expr1, expr2);

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(intersects.evaluate(testFeature));
    
        intersects = fac.intersects(expr2, expr1);

        LOGGER.finer( intersects.toString());           
View Full Code Here


        LiteralExpressionImpl expr2 = new LiteralExpressionImpl(geom);
        Intersects intersects = fac.intersects(expr1, expr2);

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(intersects.evaluate(testFeature));
    
        intersects = fac.intersects(expr2, expr1);

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
View Full Code Here

        assertTrue(intersects.evaluate(testFeature));
    
        intersects = fac.intersects(expr2, expr1);

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(intersects.evaluate(testFeature));

        Function function = new GeometryFunction(geom);
        intersects = fac.intersects(expr1, function);
        LOGGER.finer( intersects.toString());           
View Full Code Here

    
        intersects = fac.intersects(expr2, expr1);

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(intersects.evaluate(testFeature));

        Function function = new GeometryFunction(geom);
        intersects = fac.intersects(expr1, function);
        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
View Full Code Here

        assertTrue(intersects.evaluate(testFeature));

        Function function = new GeometryFunction(geom);
        intersects = fac.intersects(expr1, function);
        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(intersects.evaluate(testFeature));
       

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
View Full Code Here

        Function function = new GeometryFunction(geom);
        intersects = fac.intersects(expr1, function);
        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(intersects.evaluate(testFeature));
       

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue( intersects.evaluate(testFeature) );
View Full Code Here

        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(intersects.evaluate(testFeature));
       

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue( intersects.evaluate(testFeature) );
       
        coords[0] = new Coordinate(0, 0);
        coords[1] = new Coordinate(3, 0);
        coords[2] = new Coordinate(6, 0);
View Full Code Here

        assertTrue(intersects.evaluate(testFeature));
       

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue( intersects.evaluate(testFeature) );
       
        coords[0] = new Coordinate(0, 0);
        coords[1] = new Coordinate(3, 0);
        coords[2] = new Coordinate(6, 0);
        expr2 = new LiteralExpressionImpl(gf.createLineString(coords));
View Full Code Here

        coords[2] = new Coordinate(6, 0);
        expr2 = new LiteralExpressionImpl(gf.createLineString(coords));
        intersects = fac.intersects(expr1, expr2);

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(!intersects.evaluate(testFeature));

        expr2 = new LiteralExpressionImpl(null);
        intersects = fac.intersects(expr1, expr2);
View Full Code Here

        expr2 = new LiteralExpressionImpl(gf.createLineString(coords));
        intersects = fac.intersects(expr1, expr2);

        LOGGER.finer( intersects.toString());           
        LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
        assertTrue(!intersects.evaluate(testFeature));

        expr2 = new LiteralExpressionImpl(null);
        intersects = fac.intersects(expr1, expr2);

        LOGGER.finer( intersects.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.