/** * This utility method will convert a JTS envelope to contraints that can be used in a GeoWave * query. * * @return Constraints as a mapping of NumericData objects representing ranges for a latitude * dimension and a longitude dimension */ public static Constraints basicConstraintsFromEnvelope(final Envelope env) { return new Constraints(basicConstraintSetFromEnvelope(env)); }
destinationListOfSets.add(basicConstraintSetFromEnvelope(env)); if (checkTopoEquality) { retVal = new GeometryFactory().toGeometry(env).equalsTopo(geometry);
if (indexCrs.equals(GeometryUtils.getDefaultCRS())) { bounds = GeometryUtils.basicConstraintSetFromEnvelope( projectedReferenceEnvelope).getIndexConstraints(indexStrategy); } else {