Amin Said, Founder of Pure Technology Consulting LLC
https://puretechconsult.com
A customer address can sit between two locations and still belong clearly to the business, if the business has defined what coverage means. In this composite case study, a five-location service company discovered that its map, spreadsheet, and staff did not agree about who owned an address. The lesson was not to draw a more precise line, but to make the promise behind that line explicit and provable.
This is a composite case study assembled from patterns across engagements, not a specific client. It is general information about software design, not legal or operational advice.
The address nobody owned
The service business had five locations and an address near the seam between two of them. In a busy week, both locations assumed the other would take it. In a slow week, both claimed it. Nobody had written down who owned that address, so the spreadsheet, the dispatcher’s memory, and the map each gave a different answer.
The company found out when a customer called to ask why nobody came. The immediate problem was a missed visit. The underlying problem was that the business had no shared rule for turning an address into an accountable location.
A territory is a promise, not a radius
Two separate questions had been treated as one. Coverage asks whether the business can serve an address within the promise it makes. Assignment asks which location is accountable for that address. A circle drawn around a map pin answers neither question honestly.
A service promise is often about reaching an address within a time window. Drive time is therefore a more useful input than straight-line distance, which measures proximity without accounting for the road network. But even a drive-time boundary cannot choose an accountable location on its own. The business has to decide how to handle an address that falls inside more than one location’s service area, or none. Any digital transformation consulting roadmap that touches geography has to answer coverage and assignment as two separate questions, because collapsing them is what produces a map everyone trusts and a dispatch process nobody does.
Travel time is the honest boundary
An isochrone is a polygon showing the area reachable from a starting point within a specified travel-time budget. For example, Azure Maps Route Range creates a reachable-area polygon that can be used to filter addresses spatially. Its documented time budget can be up to 21,600 seconds when using a simplified polygon, or up to 3,600 seconds when requesting a higher-definition polygon. By default, the calculation uses the fastest route without traffic; traffic-aware optimization must be requested.
An isochrone is a budget boundary, not a promise of arrival at a particular clock time. Travel conditions change through the day, and a boundary calculated under one departure assumption may not represent another. The coverage record therefore needs to capture that assumption, such as the departure time and whether traffic was considered. Without those inputs, the business cannot reliably reproduce what its territory meant when an assignment was made.

Addresses are the hard part
A boundary only helps if the address is located well enough to evaluate against it. The Census Geocoder documentation explains that its results derive from address ranges in the MAF/TIGER database. Those ranges include possible structure numbers even when the actual structures do not exist. Coordinates are interpolated, or estimated along the range, and results are returned when the range-match score meets the required threshold.
That distinction matters at the edge of a territory. Two addresses on the same street can sometimes land on the same interpolated point. A new building may not match a known range, and rural or route-style addresses can be harder to locate reliably. A coordinate that looks exact on a screen is not necessarily a surveyed location.
The system should store each coordinate alongside its source, method, and confidence. It should also prevent an interpolated result from silently overwriting a verified location. A location with uncertainty near a territory seam may need review rather than an automatic assignment.

Where overlaps and gaps get decided
Spatial software applies exact rules to points and polygons, but those rules do not express the business’s intent by themselves. In PostGIS, ST_Contains requires the interiors of both geometries to share at least one point. As a result, a point exactly on a polygon boundary is not contained; ST_Covers is the more inclusive predicate. PostGIS also warns that invalid geometries can produce unexpected results, and that ST_Contains uses available spatial indexes automatically.
So a point-in-polygon lookup can legitimately return zero matches or two. Neither result should be treated as an exceptional software failure that the system resolves arbitrarily. Each represents a business decision: what happens when an address lies on a seam, outside all areas, or within overlapping coverage?
Any business process automation consulting engagement that touches geography has to make that precedence explicit, because no software can infer it from a boundary file.
For this business, the agreed precedence was:
- An explicit customer assignment.
- A written exception.
- The geographic rule.
- The nearest serving location.
This was the order the business agreed to, not a universal standard. Whichever rule fires should be recorded on the address or assignment record, so the outcome is explainable rather than dependent on which geography function returns first.
What the system has to prove
Every assignment should preserve the rule that produced it, when it was evaluated, the version of the territory geometry in use, and the geocode quality behind the address. This is the record that lets an operator explain not only who was assigned, but why.
Territories should have versions, not silent edits. A boundary change creates a new version with an effective date. If a customer later questions an assignment, the business can consult the rules that were in force at that time rather than trying to reconstruct an earlier map from memory. A custom web application development effort that skips this step leaves the business with a map it can redraw but cannot explain. The decision history is part of the operating model, not an optional audit trail, and it is what turns a map into a record.
The map is a query result, not a picture
An operations manager drawing a boundary in a general-purpose drawing tool creates a useful starting point, not a system of record. The system of record needs the agreed rule, its geometry, and its version. The map should be a rendering of those elements, not the place where the business logic lives.
When a location is added or moved, nearby boundaries and affected addresses need to be reconsidered. A scheduled re-evaluation that produces a clear difference report for an operator to approve can be more valuable than a visually polished map.
A nightly re-evaluation job rarely needs AI workflow automation. The exception queue it produces is a more appropriate place for assistance: bespoke AI solutions could help organize ambiguous cases for human review. But any model suggestion should be clearly logged as a suggestion, not quietly treated as the decision or the rule that justified it.
The compute limits you will actually hit
Comparing travel times across locations can help resolve some assignments, but a full matrix of every location against every address does not scale without constraint. In the Google Routes API documentation, a route matrix contains one element for each origin and destination pair. Its limits include 625 elements for non-transit routes, 100 when traffic-aware optimal routing is requested, and up to 50 waypoints specified by address or place ID. Errors can also apply to individual elements rather than the entire response.
A practical design caches travel time by origin and destination and computes it only where an actual decision depends on it. The application should treat a matrix with element-level errors as a partial answer, not a completed result. This keeps missing route data from masquerading as evidence that a location cannot serve an address.
What we would do differently
- Write the coverage promise down before drawing anything.
- Agree on the precedence order with the people who answer the phone, not only in a workshop.
- Record geocode quality on the address record from day one.
- Version the territory and publish a difference report before it takes effect.
Coverage you cannot prove is coverage you cannot defend
The map was never the hard part. The rules were. A territory becomes dependable when the business can state who is accountable for an address, under which rule, at what time, and against which version of the boundary. That clarity lets a service company make its coverage promise more consistently and explain how it applied.
If you are considering a custom coverage model, book a discovery and scoping conversation with Pure Technology Consulting. No obligation.
General references
- Azure Maps Route Range
- Census Geocoder documentation
- PostGIS ST_Contains
- Google Routes API Compute Route Matrix
Informational disclaimer: This article is general information about software design and is not legal or operational advice.
Amin Said, Founder of Pure Technology Consulting LLC
https://puretechconsult.com
Phone: +1 (803) 921-0969

Leave a Reply