class OrganisationUnitPolygonCoveringCoordinateFilter implements Filter<OrganisationUnit> {

    @Override
    public boolean retain( OrganisationUnit unit )
    {
        Geometry geometry = unit.getGeometry();
        return geometry != null && FeatureType.getTypeFromName(geometry.getGeometryType()) == FeatureType.POLYGON
            && GeoUtils.checkPointWithMultiPolygon( longitude, latitude, unit.getGeometry() );
    }

    public  OrganisationUnitPolygonCoveringCoordinateFilter( double longitude, double latitude );

}