Scale Intelligence■ Docs
Docs / The model / Gazetteer

Gazetteer.

The register of places: a place's names and their forms, its parent in the hierarchy a count rolls up through, its coordinates and its cell, its population and its source

Figure 1Gazetteerspecified
GAZETTEERrow at platform scopethe registered place idplace_idtextthe name and its formsnames[text]the place a count rolls up intoparentidoptionaldegreeslatitudenumberdegreeslongitudenumberthe cell of one standard hierarchy of cells at the resolution the parameter names; the sort key of every place-keyed tablecelltextpopulationcountoptionalsourceSourcenot ready without coordinatesstateReadinessa geometry in one standard encoding, for a place that is an areaareatextoptionalthe cells the area covers, at the resolution parametercells[text]optionaloverlapping areas outside the one parentmember_of[id]optionalSOURCEthrough sourceREADINESSthrough state
Gazetteer is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
its place id
store
postgres
family
market

Fields#

fieldtyperequirednote
place_idtextyesthe registered place id
names[text]yesthe name and its forms
parentidnothe place a count rolls up into
latitudenumberyesdegrees
longitudenumberyesdegrees
celltextyesthe cell of one standard hierarchy of cells at the resolution the parameter names; the sort key of every place-keyed table
populationcountno
sourceSourceyes
stateReadinessyesnot ready without coordinates
areatextnoa geometry in one standard encoding, for a place that is an area
cells[text]nothe cells the area covers, at the resolution parameter
member_of[id]nooverlapping areas outside the one parent

Routes that use it#

No route takes or returns Gazetteer directly. The record holds it, and the objects that point at it reach it.