A computer-readable medium on which is stored a computer program for identifying the geographic region of a geographic area which contains a geographic zone, said geographic area being divided into a plurality of non-overlapping geographic regions, each of said geographic regions being defined by a region boundary of a plurality of region boundary points, and a plurality of non-overlapping geographic zones, each of said geographic zones being defined by a zone boundary of a plurality of zone boundary points comprising instructions which, when executed by a computer, perform the steps of:
- A. selecting one of said plurality of zone boundary points of said geographic zone as a selected zone boundary point;
- B. selecting one of said plurality of non-overlapping geographic regions as a selected region, said selected region being defined by a region boundary of a plurality of region boundary points;
- C. making a determination as to whether said selected zone boundary point is located within said selected region by
- drawing a line of predetermined slope through said selected zone boundary point and through said selected region so that said line intersects a first boundary point of said selected region and a second boundary point of said selected region,
- checking whether said selected zone boundary point lies on said line between said first boundary point and said second boundary point,
- if said selected zone boundary point lies on said line between said first boundary point and said second boundary point, then defining said determination to be that said selected zone boundary point is located within said selected region, and
- if said selected zone boundary point does not lie on said line between said first boundary point and said second boundary point, then defining said determination to be that said selected zone boundary point is not located within said selected region;
- D. if said determination in said step C is that said selected zone boundary point is located within said selected region, then repeating said step C with another one of said plurality of zone boundary points as said selected zone boundary point;
- and
- E. if at least a predetermined percentage of said plurality of zone boundary points is located within said selected region, identifying said selected region.