Module

Model.Extent

Package
purescript-stac
Repository
jisantuc/purescript-stac

#OneOrBoth Source

data OneOrBoth a

Predicate requiring at least one non-Nothing item in a list of two items. The implementation implies SizeEqualTo D2 but I don't know how to express that predicate as a dependency.

Instances

#TwoDimBbox Source

newtype TwoDimBbox

A TwoDimBbox represents a bounding box in two dimensions.

Constructors

Instances

#SpatialExtent Source

type SpatialExtent = { bbox :: Array TwoDimBbox }

A SpatialExtent represents the collection of two dimensional bboxes covered by a collection.

#TemporalExtent Source

newtype TemporalExtent

A TemporalExtent represents the time span covered by a StacCollection. It can be open on no more than one side.

Constructors

Instances

#Interval Source

type Interval = { interval :: Array TemporalExtent }

An Interval represents the collection of time spans covered by a StacCollection.

#StacExtent Source

type StacExtent = { spatial :: SpatialExtent, temporal :: Interval }

A StacExtent represents the combined time and geographic extents covered by a StacCollection.