Examples of BBOXImpl


Examples of org.geotools.filter.spatial.BBOXImpl

                break;
            case FilterType.GEOMETRY_BEYOND:
                curFilter = new BeyondImpl(null, null);
                break;
            case FilterType.GEOMETRY_BBOX:
                curFilter = new BBOXImpl(null, null);
                break;
            case FilterType.GEOMETRY_TOUCHES:
                curFilter = new TouchesImpl(null, null);
                break;
            default:
View Full Code Here

Examples of org.geotools.filter.spatial.BBOXImpl

        PropertyName name = property(propertyName);
        return bbox(name, minx, miny, maxx, maxy, srs);
    }

    public BBOX bbox( Expression geometry, Expression bounds ) {
        return new BBOXImpl(geometry, bounds );
    }
View Full Code Here

Examples of org.geotools.filter.spatial.BBOXImpl

        }
        catch (IllegalFilterException ife) {
            new IllegalArgumentException("Unable to convert to Polygon:"+bounds).initCause(ife);
        }
       
        return new BBOXImpl(name,bbox, matchAction);
    }
View Full Code Here

Examples of org.geotools.filter.spatial.BBOXImpl

    }
   

    public BBOX bbox(Expression e, double minx, double miny, double maxx, double maxy, String srs, MatchAction matchAction) {
     
      BBOXImpl box = bbox2d (e, new ReferencedEnvelope(minx,maxx,miny,maxy,null), matchAction);       
        box.setSRS(srs);
       
        return box;
    }
View Full Code Here

Examples of org.geotools.filter.spatial.BBOXImpl

    protected abstract AbstractFeatureCache createInstance(int capacity)
        throws FeatureCacheException, IOException;

    public void testExtractEnvelope() {
        BBOXImpl filter = (BBOXImpl) Generator.createBboxFilter(new Coordinate(0.1, 0.9), 0.2, 0.3);
        Envelope e = CacheUtil.extractEnvelope(filter);
        Envelope c = new Envelope(0, 0.2, 0.75, 1.05);
        assertEquals(c, e);
    }
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.