public static Filter getIntersectsGeometryFilter ( String geomName , Geometry geometry ) throws CQLException { Filter result = CQL . toFilter ( "INTERSECTS(" + geomName + ", " + geometry . toText ( ) + " )" ) ; return result ; }
Creates an intersect filter .