> For the complete documentation index, see [llms.txt](https://uttws.gitbook.io/gis-workshop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uttws.gitbook.io/gis-workshop/exercise/visualization-methods/track-lines.md).

# Track Lines

### Overview

Creak track lines between GPS points based on the animal and date/time.

### Points to Path

1. Search for `Points to Path` in the processing tool box. This will create lines between sequential points. Since there are multiple unique animals, you'll want to group by the unique tag\_ident and order by the timestamp field.

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2Fju2kjxFMFLDxgmRxhc0G%2Fpathlines.JPG?alt=media&amp;token=861a5430-8d9f-46ef-a357-48757fdc8172" alt=""><figcaption></figcaption></figure>

2. Without changing the path, it's going to save it as a **memory layer** (or 'scratch' layer). As it's in memory, it's not written off to disk and will vanish once you close QGIS. Incase our QGIS crashes let's save it as a shapefile file by selecting the three dots next to path.&#x20;
3. Click `Run.`Your map should look like the below:

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2Fgd9ngNvy81L9yRH5mcJT%2Fpathsmap.JPG?alt=media&amp;token=78e0b611-6e23-4b85-bb45-35300f0ec968" alt=""><figcaption></figcaption></figure>

1. Now we can style the lines based on the individual. Right click the layer > `Properties` > `Symbology`
2. Change the top drop down option to `Categorized` and select the value `tag-ident`
3. Select a `color ramp` of preference
4. At the bottom of the window screen, select `Classify > Apply`

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2FxYj3hRZFweYnfHV1F1yG%2Fsymbols.JPG?alt=media&amp;token=0aceef47-0df2-4585-82a8-d4cdba90909c" alt=""><figcaption></figcaption></figure>

Your map should look something like this:

<figure><img src="https://2205741137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cMAMCb5DcFjpDJPHG1T%2Fuploads%2F28EzAysXQF28Kk44Hdgx%2Fmapaths.JPG?alt=media&amp;token=50657ff9-40a3-4b01-a8cb-448be5837c49" alt=""><figcaption></figcaption></figure>
