Skip to content

Commit 5192d8a

Browse files
authored
Add skmob and gtfs_functions dep
1 parent ece36fe commit 5192d8a

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,34 @@
22

33
The Trajectools plugin adds trajectory analysis algorithms to the QGIS Processing toolbox.
44

5-
![Trajectools screenshot](screenshots/trajectools.PNG)
6-
![Trajectools clipping screenshot](screenshots/trajectools2.PNG)
75

86

9-
**Note: This plugin depends on MovingPandas!** You will need to install MovingPandas in your QGIS Python environment. I recommend installing both QGIS and MovingPandas from conda-forge:
7+
## Requirements
8+
9+
Trajectools requires [MovingPandas](https://github.com/movingpandas/movingpandas) (a Python library for movement data analysis) and optionally integrates [scikit-mobility](https://scikit-mobility.github.io/scikit-mobility/) and [gtfs_functions](https://github.com/Bondify/gtfs_functions).
10+
11+
The recommended way to install these dependencies is through conda/mamba:
1012

1113
```
1214
(base) conda create -n qgis -c conda-forge python=3.9
1315
(base) conda activate qgis
14-
(qgis) mamba install -c conda-forge qgis movingpandas
16+
(qgis) mamba install -c conda-forge qgis movingpandas scikit-mobility
17+
(qgis) pip install gtfs_functions
1518
```
1619

17-
More details: https://anitagraser.com/2023/01/21/pyqgis-jupyter-notebooks-on-windows-using-conda/
20+
(More details: https://anitagraser.com/2023/01/21/pyqgis-jupyter-notebooks-on-windows-using-conda/)
21+
22+
The Trajectools plugin can be installed directly in QGIS using the built-in Plugin Manager:
23+
24+
![image](https://github.com/emeralds-horizon/UC3-traveltime-analytics/assets/590385/9f6cdb53-f2b3-4f2f-82cf-923d3b61341f)
1825

26+
**Figure 1: QGIS Plugin Manager with Trajectools plugin installed.**
1927

28+
29+
30+
## Examples
31+
32+
The individual Trajectools algorithms are flexible and modular and can therefore be used on a wide array on input datasets, including, for example, the open [Microsoft Geolife dataset](http://research.microsoft.com/en-us/downloads/b16d359d-d164-469e-9fd4-daa38f2b2e13/) a [sample](https://github.com/emeralds-horizon/trajectools-qgis/tree/main/sample_data) of which is included in the plugin repo:
33+
34+
![Trajectools screenshot](screenshots/trajectools.PNG)
35+
![Trajectools clipping screenshot](screenshots/trajectools2.PNG)

0 commit comments

Comments
 (0)