Package org.opengis.filter.capability

Examples of org.opengis.filter.capability.SpatialCapabilities


       
        return operators.getOperator( Touches.NAME ) != null;
    }

    public Object visit( Within filter, Object extraData ) {
        SpatialCapabilities spatial = capabilities.getSpatialCapabilities();
        if( spatial == null ) return false;
       
        SpatialOperators operators = spatial.getSpatialOperators();
        if( operators == null ) return false;
       
        return operators.getOperator( Within.NAME ) != null;
    }
View Full Code Here


        // Filter Capabilities
        // this part is not optional, the schema has min = 0, so we don't check for the sections
        final FilterFactory2 ffFactory = CommonFactoryFinder.getFilterFactory2(GeoTools.getDefaultHints());
        // - Spatial Capabilities
        //SpatialCapabilities spatialCapabilities = ffFactory.spatialCapabilities(geometryOperands, spatialOperands);
        SpatialCapabilities spatialCapabilities = new CSWSpatialCapabilities();
           
        // - Scalar Capabilities
        Operator[] operators = new Operator[] { ffFactory.operator("EqualTo"),
                ffFactory.operator("Like"), ffFactory.operator("LessThan"),
                ffFactory.operator("GreaterThan"), ffFactory.operator("LessThanEqualTo"),
View Full Code Here

TOP

Related Classes of org.opengis.filter.capability.SpatialCapabilities

Copyright © 2018 www.massapicom. 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.