> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camo.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Create/Edit Company Map Layers

> Learn how to create and edit company map layers to customize the map view for your organization.

## Overview

Company map layers are custom layers of points or boundaries that are private to your organization. Once created, they appear on the map for everyone in your account under **Company Layers**, grouped by the category you assign.

There are two shape types:

**Boundary layers** — collections of areas or polygons, such as sales territories, service areas, or elevator draw regions.

**Point layers** — collections of locations, such as retailers, facilities, grain elevators, or applicator sites.

There are two ways to build a layer: import an existing GIS file, or create the layer manually and add features to it one at a time.

> [!NOTE]
>
> Creating and editing company map layers requires the **Create/Edit Company Map Layers** permission (Map Layers feature area, CamoAg Enterprise). Without it, users can still view and toggle company layers on the map, but the **New Company Layer** button and all editing options are hidden. See [Access Control (RBAC)](https://docs.camo.ag/account-settings/role-based-access-control.md) for how to add a permission to a role.

## Where to start

**1. Open the Company Layers panel**

From the map, expand **Company Layers** in the left navigation menu.

**2. Click New Company Layer**

Choose **Boundary layer**, **Point layer**, or **Import shapefile** from the dropdown.

## Importing a map file

Importing is the fastest path when you already have your geography in a GIS file. CamoAg reads the file, verifies it, and creates a layer with one feature per shape in the file.

> [!NOTE]
>
> Accepted formats are `.zip` (a zipped shapefile), `.geojson`, and `.kml`, up to **20 MB**. Files must contain less than **25k features**. To upload a larger file or a different format, contact support.

**1. Open the import modal**

Click **New Company Layer > Import shapefile**. The **Import GIS File** modal opens.

**2. Select your file**

Drag and drop your file onto the upload area, or click to browse. The file uploads and is verified automatically — watch for **File is verified!** before continuing. If verification fails, the specific error is shown beneath the file name so you can correct the file and try again.

**3. Name the layer**

The **Layer Name** is pre-filled from the file name. Edit it to whatever you want users to see on the map.

**4. Select a Title Property**

After verification, CamoAg lists the attribute fields found in your file with an example value from the first record. Pick the field that should be used as each feature's title on the map — for example, `TERRITORY_NAME` or `SITE_ID`.

**5. Add a source URL (optional)**

Click **Enter Source URL** to record where the data came from. This is useful for layers sourced from a public agency dataset that you may need to refresh later.

**6. Upload**

Click **Upload**. Processing runs in the background and can take several minutes for large files — you'll be notified when the layer is ready.

> [!TIP]
>
> The shape type (boundary or point) is detected from the file, so there's no need to choose it beforehand.

## Creating a layer manually

Manual creation is a two-part process: first you define the layer itself, then you add features to it.

### Step 1: Define the layer

**1. Choose the layer type**

Click **New Company Layer** and select **Boundary layer** or **Point layer**. This cannot be changed after the layer is created.

**2. Enter a Layer Name**

This is the name users will see in the Company Layers list. Required.

**3. Choose a Layer Category**

Categories group related layers together in the navigation menu. Select an existing category from the dropdown, or click **Create** to type a new one. Layers default to the **Other** category.

**4. Pick a Default Display Color**

Choose the color used to draw this layer on the map. Boundary layers can be left with no color (an outline only) by clearing the selection; point layers default to gray.

**5. Add Feature Attributes**

Attributes are the custom fields available on every feature in the layer — for example, `Account Owner`, `Acres`, or `Contract End Date`. Click **Add attribute** for each one and give it a label. Use the arrows to reorder attributes; the order here is the order users see when viewing a feature.

**6. Save**

Click **Save**. The layer is created and you're taken to its details page, ready to add features.

### Step 2: Add features to the layer

From the layer's details page, click **Add feature to layer**.

> [tab] Point layers
>
> A new point is dropped at the center of your current map view. In the form, set the **Title**, fill in any feature attributes, and optionally add an address. Latitude and longitude are shown read-only — reposition the point by dragging it on the map. Click **Save**.

> [tab] Boundary layers
>
> The boundary edit tools open on the map. Build the shape using:
>
> * **Draw Polygon** — trace the boundary by hand
> * **Multi-select** — click existing map features, such as counties or townships, to use their geometry
> * **Merge Boundaries** — combine multiple selected shapes into one
> * **Cut** — remove a section from a shape
> * **Simplify** — reduce the number of vertices on a complex shape
> * **Delete** — remove a shape and start over
>
> When the geometry is right, click **Finish Selection**, then enter a **Feature Name**, fill in your feature attributes, and click **Save**. Use **Edit feature on map** to return to the drawing tools.

Repeat for each feature. The feature count is shown in the layer header as you go.

## Editing a layer

Open the layer from **Company Layers** and use the menu in the layer header:

| Action | What it does |
| - | - |
| Edit Layer Settings | Change the layer name, category, display color, and feature attributes |
| Archive Layer | Removes the layer from the map. Available once the layer contains features — it can be reinstated within 30 days by contacting support |
| Delete Layer | Permanently deletes the layer. Only available while the layer is empty |

> [!NOTE]
>
> Existing feature attributes can't be deleted once features are using them — use the eye icon to hide an attribute instead. New attributes you've added but not yet saved can be removed with the trash icon.

### Moving a boundary to another layer

If a boundary was imported or drawn into the wrong layer, you can move it to a different company layer instead of deleting and redrawing it. The boundary's geometry moves with it, so there's no need to rebuild the shape.

**1. Open the boundary**

Open the layer that currently contains the boundary from **Company Layers**, then select the boundary feature you want to move.

**2. Choose the move option**

From the feature's menu, choose to move the feature to another layer.

**3. Select the destination layer**

Pick the layer the boundary should belong to. Only boundary layers are offered as destinations.

**4. Confirm the move**

Confirm the move. The boundary is removed from the original layer and appears in the destination layer, and the feature count in each layer header updates to match.

> [!NOTE]
>
> Features can only move between layers of the same shape type: boundary features move to other boundary layers, and point features move to other point layers. To move a boundary into a point layer, or the reverse, create a new feature in the destination layer. Moving features requires the **Create/Edit Company Map Layers** permission.
