This QGIS Plugin is able to transform a valid GPX file (with a time field and a track_points layer) to a space time cube. Uses Matplotlib and PyQGIS.
You can run the script in two ways:
-
As a QGIS 3.X Plugin (directly through Plugins -> Manage and Install Plugins -> GPXtoSpaceTimeCube, or from: https://plugins.qgis.org/plugins/GPXToSpaceTimeCube)
-
As a standalone code in the QGIS Python Console
-
Clone or download this repository and place items in a folder, e.g. "GPXToSpaceTimeCube"
-
Copy folder to your QGIS plugin directory, on Windows this is typically:
C:\Users\<username>\.qgis2\python\plugins
or on Linux: /home/<username>/.local/share/QGIS/QGIS3/profiles/default/python/plugins
-
Open QGIS and enable the tool from Plugins>Manage and Install Plugins> ☑ "GPXToSpaceTimeCube"
-
Run the tool from the toolbar (GPX icon) and enter input GPX file
Simply open the gpx_to_spacetime_cube_python_console.py file in the root directory in the QGIS Python Console, and change the input path to the GPX file and run the code.
