Package org.opengis.filter.expression

Examples of org.opengis.filter.expression.Literal


        return ff.intersects(property, geom);
    }

  public PropertyIsEqualTo buildSpatialRelateFilter() throws CQLException {

    Literal pattern = this.resultStack.popLiteral();

    Literal geometry = this.resultStack.popLiteral();

    PropertyName property = this.resultStack.popPropertyName();

    FilterFactory2 ff = (FilterFactory2) filterFactory;
    Expression[] args = new Expression[] { property, geometry, pattern };
View Full Code Here


        return new CrossesImpl(geometry1, geometry2 , matchAction );
    }

    public Disjoint disjoint(String propertyName, Geometry geometry) {
        PropertyName name = property(propertyName);
        Literal geom = literal(geometry);
       
        return disjoint( name, geom );
    }
View Full Code Here

   * @param patternToken
   * @return
   */
    public Literal buildDE9IM(final String tokenImage){
     
        Literal literal = filterFactory.literal(tokenImage);

        return literal;
    }
View Full Code Here

        return literal;
    }
 

    public BinarySpatialOperator buildSpatialTouchesFilter() throws CQLException {
        Literal geom = this.resultStack.popLiteral();

        Expression property = this.resultStack.popExpression();

        FilterFactory2 ff = (FilterFactory2) filterFactory; // TODO this cast must be removed. It depends of Geometry implementation
View Full Code Here

        return ff.touches(property, geom);
    }

    public BinarySpatialOperator buildSpatialCrossesFilter() throws CQLException {
        Literal geom = this.resultStack.popLiteral();

        Expression property = this.resultStack.popExpression();

        FilterFactory2 ff = (FilterFactory2) filterFactory; // TODO this cast must be removed. It depends of Geometry implementation
View Full Code Here

        return disjoint( name, geom );
    }
   
    public Disjoint disjoint(String propertyName, Geometry geometry, MatchAction matchAction) {
        PropertyName name = property(propertyName);
        Literal geom = literal(geometry);
       
        return disjoint( name, geom, matchAction );
    }
View Full Code Here

        return  ff.crosses(property, geom);
    }

    public BinarySpatialOperator buildSpatialWithinFilter() throws CQLException {

        Literal geom = this.resultStack.popLiteral();

        Expression property = this.resultStack.popExpression();

        FilterFactory2 ff = (FilterFactory2) filterFactory; // TODO this cast must be removed. It depends of Geometry implementation
View Full Code Here

        return ff.within(property, geom);
    }

    public BinarySpatialOperator buildSpatialContainsFilter() throws CQLException {

        Literal geom = this.resultStack.popLiteral();

        Expression property = this.resultStack.popExpression();

        FilterFactory2 ff = (FilterFactory2) filterFactory; // TODO this cast must be removed. It depends of Geometry implementation
View Full Code Here

    }
   
    public DWithin dwithin(String propertyName, Geometry geometry,
            double distance, String units) {
        PropertyName name = property(propertyName);
        Literal geom = literal(geometry);
       
        return dwithin( name, geom, distance, units );
    }
View Full Code Here

    }

    public BinarySpatialOperator buildSpatialOverlapsFilter() throws CQLException {

        Literal geom = this.resultStack.popLiteral();

        Expression property = this.resultStack.popExpression();

        FilterFactory2 ff = (FilterFactory2) filterFactory; // TODO this cast must be removed. It depends of Geometry implementation
View Full Code Here

TOP

Related Classes of org.opengis.filter.expression.Literal

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.