Skip to main content

Exporting & Importing Shapefiles

This guide outlines the steps to import shapefiles into TytonAI and recreate a deleted training area. It includes instructions for mapping classifications, managing workflows, and verifying the successful import.


Overview

In this example, users export an existing training area as a shapefile .zip, delete the training area from the project and then re-import the shapefile to restore or transfer the data. This is useful for versioning, backup or migrating training data between projects.


Step 1: Export the Training Area

  1. In the Explorer Panel, right-click the Training Area you want to export.
  2. Select Export as > Shapefile.
  3. Save the exported .zip file to your local device.

Ensure your training area polygons include classifications, color codes, and any other metadata you want to retain.


Step 2: Delete the Original Training Area

  1. Right-click the Training Area again.
  2. Select Delete.
  3. Confirm the deletion to remove it from the project.

Step 3: Begin Import Process

  1. Click the Import icon in the main toolbar.
  2. In the Import Panel, click Browse Files and select the .zip shapefile previously exported.
  3. Click Import to begin the import process.

Step 4: Map Classifications and Attributes

During the import:

  • TytonAI will prompt you to map imported attributes (e.g. Class, Color, UUID) to the existing classification system in your current project.
  • Confirm or adjust the mapping using the drop-down selectors provided.
  • Click Continue to proceed.

This ensures imported features align with your current project schema and class definitions.


Step 5: Monitor Import Workflow

  1. A new Import Shapefile workflow will appear in the Workflow Monitor tab.
  2. Click on the workflow to view progress, logs, and status.
  3. Wait for the workflow to complete. This may take a few minutes depending on file size and system load.

Step 6: Verify Import

  1. Once the import is complete, go to the Map tab.
  2. Your imported shapefile will now appear as a new Training Area in the Explorer.
  3. Expand the training area to view individual polygons and classifications.

tip
  • Use Clear Class Names: Ensure your exported shapefile includes standardized class names that match your project's current classification system to simplify the mapping step.
  • Keep Attributes Clean: Clean up attribute tables before export to avoid confusion during the import mapping stage. Unnecessary columns or inconsistent field names may cause mapping issues.
  • Workflow Monitoring: Always check the Workflow Monitor tab for logs and success confirmation. Failures may occur if shapefile schemas do not match the expected structure.
  • Avoid Overwrites: Rename imported training areas if you're working in a shared project to prevent confusion or accidental overwrites with existing layers.