Demand Database#

The Demand submodule of polaris-studio uses the same database management layer as the Supply module but is significantly less mature in terms of its capabilities for manipulation of the database and for ensuring consistency.

Demand Data Model#

Demand data for polaris is generally stored in a sqlite database called “ModelName-Demand.sqlite”. This section will document the structure and purpose of the tables in that database.

Conventions#

A few conventions have been adopted in the definition of the data model and some are listed below:

  • Geometry field is always called geo

  • projection is always planar and in meters

  • Tables required by the data model have capital first letter

Pure data tables#

Geometry-enabled tables#