Package

org.locationtech.geomesa

raster

Permalink

package raster

In these lexiEncode and -Decode functions, a double is encoded or decoded into a lexical representation to be used in the rowID in the Accumulo key.

In the lexiEncodeDoubleToString function, the double is truncated via floor() to four significant digits, giving a scientific notation of #.###E0. This is to ensure that there is flexibility in the precision of the bounding box given when querying for chunks. Prior to rounding the resolution, it was found that even that slightest change in bounding box caused the resolution to be calculated differently many digits after the decimal point, leading to a different lexical representation of the resolution. This meant that no chunks would be returned out of Accumulo, since they did not match the resolution calculated upon ingest.

Now, there is greater flexibility in specifying a bounding box and calculating a resolution because we save only four digits after the decimal point.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. raster
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. object AccumuloStoreHelper

    Permalink
  2. object RasterParams

    Permalink
  3. package data

    Permalink
  4. val defaultResolution: Double

    Permalink
  5. package index

    Permalink
  6. package iterators

    Permalink
  7. def lexiDecodeStringToDouble(str: String): Double

    Permalink

    The string representation of a double, str, is decoded to its original Double representation and then truncated to a certain number of significant digits to remain consistent with the lexiEncode function.

  8. def lexiDecodeStringToInt(str: String): Int

    Permalink
  9. def lexiEncodeDoubleToString(number: Double): String

    Permalink

    The double, number, is truncated to a certain number of significant digits and then lexiEncoded into a string representations.

  10. def lexiEncodeIntToString(number: Int): String

    Permalink
  11. val mc: MathContext

    Permalink
  12. val rasterMajcMaxVers: String

    Permalink
  13. val rasterMincMaxVers: String

    Permalink
  14. val rasterScanMaxVers: String

    Permalink
  15. val rasterSft: SimpleFeatureType

    Permalink
  16. val rasterSftDtgName: String

    Permalink
  17. val rasterSftGeomName: String

    Permalink
  18. val rasterSftName: String

    Permalink
  19. val rasterSplitThresh: String

    Permalink
  20. val roundingMode: RoundingMode

    Permalink
  21. val significantDigits: Int

    Permalink
  22. package util

    Permalink
  23. package wcs

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped