Mapper Data Flows
When system starts up and Model Constructor is fired up a copy of the MapperUI is created.
The user enters zone center point, GPS coordinates for the upper left and lower right of the map, and a picture of a map for the region.
An update version of the zone geometry is placed into the MapperUI
When the user is done the zone geometry is sent to both the Mapper (also created in the Model's constructor after the MapperUI) and the Data Store for backup.
Then the Model can request the number of zones from the Mapper
Address sent to the Mapper to be converted into an address
Black Box of Wonder mysteriously converts (hash function of address) the address into a GPS coordinate. Then the GPS coordinate is tested against all of the zone polygons to see which zone the point is inside.
Once the zone number is determined it gets sent back to the scheduler
Model gives GPS coordinate to the Mapper (presumably from a cab update) to be converted into a zone number.
Then the GPS coordinate is tested against all of the zone polygons to see which zone the point is inside and the result is returned to the model.