Skip to content

lonboard.experimental.traits

lonboard.experimental.traits.PointAccessor

Bases: FixedErrorTraitType

A representation of a deck.gl point accessor.

Various input is allowed:

  • A numpy ndarray with two dimensions and data type np.uint8. The size of the second dimension must be 2 or 3, and will correspond to either XY or XYZ positions.
  • A pyarrow FixedSizeListArray or ChunkedArray containing FixedSizeListArrays. The inner size of the fixed size list must be 2 or 3 and its child must be of floating point type.