# `Macaw.Frame.Transforms.Projection`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/transforms/projection.ex#L1)

The `projection` step (spec/04 §7.2): positions through the frame's projection
(`needs: [:projection]`), by `Macaw.Draw.Geo.Path`.

`fields: [longitude, latitude]` adds `x` and `y`; `field`, a GeoJSON geometry (or a
`{longitude, latitude}` point), adds its projected `path` and its centroid as `x`, `y`.
A row the projection clips keeps its place with `nil`s (visualize D-130), so a scale
inferring its domain sees every row whatever the viewpoint. Bad data (a missing or
non-numeric coordinate, a geometry that is no map) is dropped. Neither option is
`{"fields", :required}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
