Senior Application Developer

loc: Maynooth, ON K0L 2S0tel: 613-553-0960email: rgsamways@gmail.com
Robin Samways

$ Atlas · Object Model

The two record types farpost-atlas-geo’s Postgres database stores, and how they relate.

## TRACKED_BUILDING


One row per seeded building on the map.

FieldPurpose
idPrimary key
addressDisplay address on the map and detail page
latitude, longitudeThe coordinate pair the spatial join runs against
owner nameSeeded fictional owner, for narrative color
region nameThe North Hastings municipality this building sits in

## TRACKED_RECORD


One row per tracked fact about a building — septic, well pump, foundation, or electrical panel.

FieldPurpose
idPrimary key
building idForeign key to the owning TrackedBuilding
record typeOne of septic, well pump, foundation, or electrical panel
last-recorded dateSource for the computed staleness fact
notesFree-text detail, e.g. septic tank location

## RELATIONSHIP


Every TrackedRecord belongs to exactly one TrackedBuilding— a straightforward one-to-many, the same shape as Farpost’s own building-to-record relationship that this piece deliberately echoes at a mapped, regional scale.

Feedback on this page