Examples of BBoxFilterSplitter


Examples of org.geotools.caching.util.BBoxFilterSplitter

   *
   *
   * @param filter
   */
  private Filter[] splitFilter(Filter filter){
    BBoxFilterSplitter splitter = new BBoxFilterSplitter();
        filter.accept(splitter, null);

        Filter spatial_restrictions = splitter.getFilterPre();
        Filter other_restrictions = splitter.getFilterPost();

        return new Filter[]{spatial_restrictions, other_restrictions};
       
  }
View Full Code Here

Examples of org.geotools.caching.util.BBoxFilterSplitter

           a mixture of logical filters (or, and, not) and bbox filters,
           and for now I do not know how to handle this */

        //PostPreProcessFilterSplittingVisitor splitter = new PostPreProcessFilterSplittingVisitor(caps, this.fs.getSchema(), null) ;
        /* so we use this splitter which will return a single BBOX */
        BBoxFilterSplitter splitter = new BBoxFilterSplitter();
        filter.accept(splitter, null);

        Filter spatial_restrictions = splitter.getFilterPre();
        Filter other_restrictions = splitter.getFilterPost();

        if (spatial_restrictions == Filter.EXCLUDE){
            //nothing to get
            return new EmptyFeatureCollection(this.getSchema());
        }else if (spatial_restrictions == Filter.INCLUDE ) {
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.