class LegacyYearZ3SFC extends Z3SFC
Z3SFC with a legacy, incorrect max time value of 52 weeks. The max value is kept the same to ensure that index keys and query ranges are consistent. Any dates that exceed the original max time will be dropped into the last time bin, potentially degrading results for the last day or two of the year.
- Annotations
- @deprecated
- Deprecated
(Since version 3.2.0) Z3SFC
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LegacyYearZ3SFC
- Z3SFC
- SpaceTimeFillingCurve
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
LegacyYearZ3SFC(precision: Int = 21)
Alternate constructor
Alternate constructor
- precision
bits used per dimension - note all precisions must sum to less than 64
-
new
LegacyYearZ3SFC(dims: LegacyYearZ3Dimensions)
- dims
curve dimensions
Value Members
-
def
index(x: Double, y: Double, t: Long, lenient: Boolean = false): Long
- Definition Classes
- LegacyYearZ3SFC → Z3SFC → SpaceTimeFillingCurve
-
def
invert(z: Long): (Double, Double, Long)
- Definition Classes
- Z3SFC → SpaceTimeFillingCurve
-
val
lat: NormalizedDimension
- Definition Classes
- Z3SFC
-
val
lon: NormalizedDimension
- Definition Classes
- Z3SFC
-
def
ranges(xy: Seq[(Double, Double, Double, Double)], t: Seq[(Long, Long)], precision: Int, maxRanges: Option[Int]): Seq[IndexRange]
Gets ranges
Gets ranges
- xy
sequence of bounding boxes, in the form of (xmin, ymin, xmax, ymax)
- t
sequence of time bounds, in the form of (tmin, tmax)
- precision
precision of the zvalues to consider, up to 64 bits
- maxRanges
rough upper bound on the number of ranges to return
- Definition Classes
- Z3SFC → SpaceTimeFillingCurve
-
def
ranges(x: (Double, Double), y: (Double, Double), t: (Long, Long), precision: Int, maxRanges: Option[Int]): Seq[IndexRange]
- Definition Classes
- SpaceTimeFillingCurve
-
def
ranges(x: (Double, Double), y: (Double, Double), t: (Long, Long), precision: Int): Seq[IndexRange]
- Definition Classes
- SpaceTimeFillingCurve
-
def
ranges(x: (Double, Double), y: (Double, Double), t: (Long, Long)): Seq[IndexRange]
- Definition Classes
- SpaceTimeFillingCurve
-
val
time: NormalizedDimension
- Definition Classes
- Z3SFC
-
val
wholePeriod: Seq[(Long, Long)]
- Definition Classes
- Z3SFC