Lines allow you to group installations together. They don't require a physical location, though most often they are used to follow a physical track or path. Lines can be used however it makes sense within your project. When adding installations, you can associate them with a particular line. This allows you to create records and reports which are filtered by their line. Check out this YouTube video about how to use lines here:

Adding lines

How to add a line to your project

  1. Select your project from your My Projects list.
  2. Click on the Lines section of your project.
  3. Select Add line from the Lines menu.
  4. Enter the details for the line (required fields are indicated by *).
    • Line name*: Give the line a descriptive name
    • Line type*: Lines can be used to group any combination of traps, bait stations and/or monitoring stations.  Select the types of stations which will be on this line (you can select more than one choice by holding down the control on your keyboard while clicking).
    • Select colour: Choose which colour you want the line to be on the map.
    • Location: Lines don’t require a physical location on the Trap.NZ system - some projects use lines simply to group installations together, though most often they are used to follow a physical track or path.

      There are three different ways to add a line location:
      1. Using the map:
        1. Use the tool at the bottom of the map to draw the line on the map
        2. Double-click to finish drawing.
        3. If the line is not in the right place, delete it using the "Delete features" button, and re-draw the line.
      2. Using the Data field below the map:
        • The Data field allows you to cut and paste shape data in WKT format recorded from the App, or from GIS systems such as ArcGIS or Quantum.  If you add WKT here it will be used instead of the map drawing.
      3. Using GPX:
        • If you have a GPX file for the line, you can upload it then click the "Place line using GPX file" button to place the line on the map. Note that the GPX file should contain a route or track log, not installation locations or points. 
  5. Click the green "Save" button at the bottom of the page

Editing lines

  1. Start from the Lines section of your project (If you have more than one project, check that you're in the right one)
  2. Scroll down to the list of lines under the map, and select the line you wish to edit.
  3. Click on the “Edit” button above the map
  4. Here you can edit the line name, type, colour and location. (For instruction on how to edit the line on the map, watch the video above.)
  5. When you are done, click the green “Save” button at the bottom of the page.


Managing line installations

Only users with an "Administrator" role in a project can access these tools.

Note: The line needs to exist in your project before any installation can be added to it. You can learn how to create lines here.

Managing line installations can be done at the individual level by setting the Line field while editing an installation, however in many cases it makes more sense to do this via bulk editing.


Adding a single installation to a line

To add a new installation to a line:

When you're adding an installation to your project, you can add them to a line at this stage by selecting the line from the dropdown menu labelled "Line" on the Create Installation form.

e.g. When creating a new Bait Station


To add an existing installation to a line:

If you want to add an existing installation to a line, you can do this by editing the installation, and selecting the line from the "Line" dropdown menu.


Adding multiple installations to a line

You can add multiple installations to a line from the "Manage Traps / Manage Bait Stations / Manage Monitoring Stations" menu.

While multiple installation types (e.g. Traps and Bait Stations) can be part of the same line, each installation type needs to be added one-by-one (e.g. you can add multiple traps to a line using the instructions below, then to add multiple bait stations, repeat the same steps in the Bait Stations section of the website).

To add multiple installations to a line:
  1. Select the project from your My Projects list.
  2. Go to the Manage Traps / Manage Bait Stations / Manage Monitoring Stations section of your project.
  3. (Optional) If you have a lot of installations, you can search for the particular installations that you want to edit using the filter bar. Click the green "Apply filter" button to show the filtered traps.
  4. Select the checkboxes of the installations you want to edit.
  5. From the Operations dropdown menu, select Change trap details / Change bait station details / Change station details.
  6. Click the "Execute" button.
  7. Select the "Line" checkbox, and select the line that you want to add the installations to.
  8. Click the "Next" button.
  9. Check your changes and click the green "Confirm" button to save your changes.


Removing installations from a line

To remove installations from a line, follow the instructions above, but instead of selecting a line, select "None".

Downloading line information

Line information (line name, colour, and a wkt string describing the line path) can be downloaded to a CSV file. CSV files can be viewed and edited easily in spreadsheet programs like Excel or Google Sheets.

To download line information:
  1. Navigate to the Lines section of your project.
  2. (Optional) Choose which line(s) you want to download from the line filter list. Click the green "Apply" button to apply the filter. 
  3. Scroll down to the bottom of the page and click the "Download CSV" button.
  4. When prompted, select a location on your device to save the file.

Creating Lines from track logs

This is an effective method to create an exact line for your project. Generally it is better to use recorded tracks as only a starting point for creating lines as often they contain too much detail, and way finding errors.

Creating Lines from track logs

If you have used the Walk a Line (proximity) function in the app, track logs will be listed in the project records.


Select the track line you are wanting to create a track log from


It will then display as a map with your track on it


This will then display the coordinates of your track