Territories & zones 5 minUpdated November 21, 2026
How to assign customers to the nearest warehouse territory
Upload your customer list (a CSV with latitude and longitude) in the MapGO Workspace, choose Tag by my zones, add your territory file and press Submit. Every customer gets a zone column with the territory it is in, and you can download one CSV per warehouse. With the sample files below, the 24 Texas customers split 8 / 8 / 8 between the Dallas, Houston and San Antonio warehouses, with none outside a territory.
Step 1. Upload the customer CSV
Open the Workspace upload and drop your customer CSV. It needs a latitude and a longitude column in decimal degrees (named latitude/longitude, lat/lng or SourceLatitude/SourceLongitude). Any other columns, such as the customer id, name and city, come back unchanged in the results.

24 locations loaded from customers_texas.csv. Under Select operation, Tag by my zones is chosen. Step 2. Add the territory file and submit
Under Select operation, choose Tag by my zones. Drop your territory file in Your zones: a zipped Shapefile, GeoJSON, KML/KMZ or GeoPackage. MapGO counts the areas it found. In Label zones by, pick the column that names each territory (here
zone), then press Submit.
3 zones found in warehouse_zones_texas.geojson, labelled by the zone column. Step 3. Open the results in the Dashboard
Go to Dashboard → Zone Tagging and open the job for your file. The top shows how many customers landed in each territory, and how many fell outside all of them. The table below lists every row with its new
zonecolumn.
8 customers per warehouse, 0 outside all zones. Step 4. Download one CSV per territory
Next to each territory, the CSV button downloads only the customers in that territory, ready to send to that warehouse. Download all tagged rows gives the whole list in one file with the
zonecolumn added.
Result
All 24 customers are assigned: 8 to North Texas (Dallas warehouse), 8 to Southeast Texas (Houston warehouse) and 8 to South & West Texas (San Antonio warehouse). None are outside a territory. Each result row keeps your original columns and adds zone and match_count (how many territories the customer falls in).
Questions
What if a customer is in two territories?
It is counted in both, and its `match_count` is 2. That is why the counts per territory can add up to more than the number of customers. Overlapping territories are worth fixing in the zone file if every customer should belong to exactly one warehouse.
What happens to customers outside every territory?
They stay in the results with an empty `zone`, and the summary shows them as "outside all zones", so nobody is dropped silently.
Which file formats can the territories be in?
A zipped Shapefile, GeoJSON, KML or KMZ, or GeoPackage. Any column in the file can name the territories.
How many customers can I tag at once?
It depends on your plan's zone-tagging limit per upload. The pricing page lists the rows per upload for each plan.
Want to see the same example on a map first? Read Assign every row to a territory, or open the Workspace and try it with the sample files.
Updated November 21, 2026. More how-to guides