Examples of BinRange


Examples of mil.nga.giat.geowave.index.dimension.bin.BinRange

    final double maxRange = 200;

    final int expectedBinCount = 2;

    final BinRange[] expectedBinRanges = new BinRange[] {
      new BinRange(
          -180,
          -160),
      new BinRange(
          150,
          180)
    };

    BinRange[] binRange = getNormalizedRanges(
View Full Code Here

Examples of mil.nga.giat.geowave.index.dimension.bin.BinRange

    final double maxRange = -170;

    final int expectedBinCount = 2;

    final BinRange[] expectedBinRanges = new BinRange[] {
      new BinRange(
          -180,
          -170),
      new BinRange(
          160,
          180)
    };

    BinRange[] binRange = getNormalizedRanges(
View Full Code Here

Examples of mil.nga.giat.geowave.index.dimension.bin.BinRange

    // If the normalized max is less than normalized min, the range
    // crosses the date line
    if (normalizedMax < normalizedMin) {

      return new BinRange[] {
        new BinRange(
            -180,
            normalizedMax),
        new BinRange(
            normalizedMin,
            180)
      };
    }

    return new BinRange[] {
      new BinRange(
          normalizedMin,
          normalizedMax)
    };
  }
View Full Code Here

Examples of mil.nga.giat.geowave.index.dimension.bin.BinRange

    // ranges to the native bounds
    if (sfcIdAndBinInfo.rowIdOffset > 1) {
      final NumericData[] data = numericData.getDataPerDimension();
      for (final Entry<Integer, byte[]> entry : sfcIdAndBinInfo.binIds.entrySet()) {
        final int dimension = entry.getKey();
        final NumericRange range = baseDefinitions[dimension].getDenormalizedRange(new BinRange(
            entry.getValue(),
            data[dimension].getMin(),
            data[dimension].getMax(),
            false));
        data[dimension] = range;
View Full Code Here

Examples of mil.nga.giat.geowave.index.dimension.bin.BinRange

  @Override
  public BinRange[] getNormalizedRanges(
      final NumericData range ) {
    return new BinRange[] {
      new BinRange(
          // by default clamp to the min and max
          clamp(
              range.getMin(),
              min,
              max),
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.