Creating a zone
The module Areas It allows you to delimit coverage areas to organize the operational care of specialists and providers. From this view, you can create, edit, delete, and associate vendors to each zone.
1. Enter the AFLS configuration console. From the main menu go to Zone > Administration.
2. In the information view, click New to create a record. In the detail view you will find the sections: Area Information, Area and Suppliers.
Area Information
3. Fill in the fields on the tab Area Information:
| Field | Description |
|---|---|
| Area Name | Name with which the coverage will be identified. Example: North Zone. |
| Detail of the area | Supporting text to identify the objective of the area. |
| Assign priority | It can be Min., Low, Medium, High, or Max. If the same address coincides in multiple zones, AFLS prioritizes the highest priority address. |
| State | Defines whether the zone is enabled (Active) or not. |

Delimit the area on the map
4. On the Area, click Manage Zones to open the map. Then, select Edit and draw the polygon that delimits the coverage area.
Tools available on the map:
- Clear Zone: Deletes the drawn polygon to recreate it.
- Save area: Allows you to save the drawn polygon.
- Management of points to delimit: Load points in bulk for GeoJSON file or flat import.

⚐ Note: If you need to split a territory for multiple providers, create multiple zones and see Split Work Zone.
Associate suppliers
5. On the Suppliers, associate the providers who will serve the area.

⚐ Note:
1. Supplier partnership is optional.
2. You can only delete zones that are not associated with work orders.
A direction can belong to several zones, and a specialist can also be related to several zones depending on the operation.
6. To edit a zone, select a record in the listing and update the required information in the detail view.
7. Click Save to confirm the changes.
8. To delete a zone, select the record in the listing and use the Eliminate.
Import Points
9. On the Area, click Manage Zones to open the map. Once opened, click on Edit and then in Management of points to delimit. The window will open Import points for the zone, where you can choose between Flat Import and Import by file.

Flat Import
10. Use this option when you need to paste coordinates manually in bulk. On the Flat Import, copy the coordinates of the points.
⚐ Note: Each point must be formatted
longitud;latitud, and each point should go on a different line.

11. Click Validate for the system to review the content.
12. Review the validation result. The system indicates which points are valid and which have errors.

Correct or delete invalid points (for example, incorrect longitude and latitude coordinates). The import is not complete until you have purged those records.
13. When the data is correct, click Import.
Import by file
14. Use this option to upload a GeoJSON file with dots in bulk.
In the window Import points for the zone, go to the Import by file. There you can download the sample template or upload a file of your own.

15. If you select Download Zone Import Model Template, you’ll get a .zip with an example of a GeoJSON structure.

16. Select Upload file, choose the GeoJSON button, and click Open.
17. Click Validate to review the file before importing it.

The system will display valid and invalid points in a result window.

Correct or remove invalid points (incorrect longitude or latitude) from the file and repeat validation if necessary.
18. Click Import to finish loading points in the area.