Module map_model::objects::zone[][src]

Expand description

Zones and AccessRestrictions are used to model things like:

  1. gated communities, where only trips beginning or ending at a building in the neighborhood may use any of the private roads
  2. Stay Healthy Streets, where most car traffic is banned, except for trips beginning/ending in the zone
  3. Congestion capping, where only so many cars per hour can enter the zone

Structs

A contiguous set of roads with access restrictions. This is derived from all the map’s roads and kept cached for performance.

Functions