Macaw.Frame.Transforms.Contour (macaw_frame v0.1.0)

Copy Markdown View Source

The contour step (spec/04 §7.2): iso-lines of a grid of values, by Macaw.Draw.Contour (needs: [:frame]).

field holds the grid's values in row order over size: [columns, rows] (required), thresholds (10) a count or a list of values. One row per ring of every threshold:

  • without bounds, its value and closed path, the grid stretched to the plot;
  • with bounds: [west, south, east, north] in degrees, its value and geometry, a GeoJSON "Polygon" in degrees with the grid spanning the bounds (its first row the north edge), wound clockwise on a north-up map as Macaw.Draw.Geo.Path reads an exterior ring, for a following projection step to draw on a map (spec/04 decisions).

A grid whose values are not columns · rows is {"size", {:length, n}}; an empty table has no rings.

Summary

Functions

What the frame is called when a data layer's rows are laid out by this step (spec/11 §2.2).

Functions

phrase()

@spec phrase() :: String.t()

What the frame is called when a data layer's rows are laid out by this step (spec/11 §2.2).