GeoGenius.Published.AreaRelation (geo_genius v0.2.0)

Copy Markdown View Source

One parent-to-child edge among areas of a release, as published_area_relations and its release-scoped base release_relations project it.

Read-only. intersection_area_m2, parent_coverage and child_coverage carry a value only for a measured relation; all three are null for one asserted from source data. parent_coverage and child_coverage are ratios from 0 to 1, not the percentages GeoGenius.AreaMatch reports.

Summary

Types

t()

@type t() :: %GeoGenius.Published.AreaRelation{
  __meta__: term(),
  child_area_id: Ecto.UUID.t() | nil,
  child_area_key: String.t() | nil,
  child_coverage: Decimal.t() | nil,
  collection_key: String.t() | nil,
  intersection_area_m2: Decimal.t() | nil,
  parent_area_id: Ecto.UUID.t() | nil,
  parent_area_key: String.t() | nil,
  parent_coverage: Decimal.t() | nil,
  relation_type: String.t() | nil,
  release_id: Ecto.UUID.t() | nil
}