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: https://www.youtube.com/watch?v=c0pJOoL6OEQ
- Adding lines
- Editing lines
- Managing line installations
- Downloading line information
- Creating Lines from track logs
How to add a line to your project
- Select your project from your My Projects list.
- Click on the Lines section of your project.
- Select Add line from the Lines menu.
- 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:
- Using the map:
- Use the — tool at the bottom of the map to draw the line on the map
- Double-click to finish drawing.
- If the line is not in the right place, delete it using the "Delete features" button, and re-draw the line.
- Using the Data field below the map:
- The Data field allows you to cut and paste shape data in WKT format recorded from the Trap.nz App, or from GIS systems such as ArcGIS or Quantum. If you add WKT here it will be used instead of the map drawing.
- 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.
- Using the map:
- Click the green "Save" button at the bottom of the page
- Start from the Lines section of your project (If you have more than one project, check that you're in the right one)
- Scroll down to the list of lines under the map, and select the line you wish to edit.
- Click on the “Edit” button above the map
- 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.)
- 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.
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
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:
- Select the project from your My Projects list.
- Go to the Manage Traps / Manage Bait Stations / Manage Monitoring Stations section of your project.
- (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.
- Select the checkboxes of the installations you want to edit.
- From the Operations dropdown menu, select Change trap details / Change bait station details / Change station details.
- Click the "Execute" button.
- Select the "Line" checkbox, and select the line that you want to add the installations to.
- Click the "Next" button.
- 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:
- Navigate to the Lines section of your project.
- (Optional) Choose which line(s) you want to download from the line filter list. Click the green "Apply" button to apply the filter.
- Scroll down to the bottom of the page and click the "Download CSV" button.
- 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