Skip to content

Commit 1dd5cd7

Browse files
authored
Merge pull request #19 from anitagraser/mpd
Refactoring for MovingPandas
2 parents 9164762 + 8425dce commit 1dd5cd7

16 files changed

+7116
-605
lines changed

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"python.testing.pytestArgs": [
3+
"tests"
4+
],
5+
"python.testing.unittestEnabled": false,
6+
"python.testing.pytestEnabled": true
7+
}

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,15 @@ The Trajectools plugin adds trajectory tools to the QGIS Processing toolbox.
77
![Trajectools screenshot](https://raw.githubusercontent.com/anitagraser/qgis-processing-trajectory/master/screenshots/trajectools.PNG)
88

99

10-
**Note: This plugin depends on GeoPandas!** GeoPandas is now included in OSGeo4W. Use **Advanced install** and search for GeoPandas in the **Select Packages** dialog.
10+
**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:
11+
12+
```
13+
conda create -n qgis python=3.9
14+
(base) PS C:\Users\anita> conda activate qgis
15+
(qgis) PS C:\Users\anita> mamba install -c conda-forge qgis=3.28.2
16+
(qgis) PS C:\Users\anita> mamba install -c conda-forge movingpandas
17+
```
18+
19+
More details: https://anitagraser.com/2023/01/21/pyqgis-jupyter-notebooks-on-windows-using-conda/
20+
1121

__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
***************************************************************************
55
trajectoryProviderPlugin.py
66
---------------------
7-
Date : December 2018
8-
Copyright : (C) 2018 by Anita Graser
7+
Date : December 2023
8+
Copyright : (C) 2023 by Anita Graser
99
Email : anitagraser@gmx.at
1010
***************************************************************************
1111
* *
@@ -18,8 +18,8 @@
1818
"""
1919

2020
__author__ = 'Anita Graser'
21-
__date__ = 'Dec 2018'
22-
__copyright__ = '(C) 2018, Anita Graser'
21+
__date__ = 'Dec 2023'
22+
__copyright__ = '(C) 2023, Anita Graser'
2323

2424
# This will get replaced with a git SHA1 when you do a git archive
2525

geometry_utils.py

Lines changed: 0 additions & 99 deletions
This file was deleted.

metadata.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name=Trajectools
33
description=Processing tools for handling trajectory data
44
about=Trajectools provides a collection of tools for handling trajectory data. This plugin depends on GeoPandas! Sample data for testing the functionality is provided with the plugin download.
55
category=Plugins
6-
version=1.0.3
6+
version=2.0
77
qgisMinimumVersion=3.0
88
qgisMaximumVersion=4.0
99

@@ -20,7 +20,9 @@ repository=https://github.com/anitagraser/qgis-processing-trajectory
2020
experimental=True
2121
deprecated=False
2222

23-
changelog=1.0.3
23+
changelog=2.0
24+
- Switch to MovingPandas backend
25+
1.0.3
2426
- Fix #10 New GeoPandas CRS handling
2527
1.0.2
2628
- Fix #8 Trajectories from point layer: not ordered by time

overlay.py

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)