commit 9193f1d07b7567a5350ab944be9b4196df4768be
parent 4354803d2091290c894b7a4671b166d3e84c3f6b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 10 May 2026 00:22:02 +0200
chore(release): document GeoPackage output metadata
Diffstat:
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/tem_loader/metadata.txt b/tem_loader/metadata.txt
@@ -3,11 +3,15 @@ name=TEM Loader
qgisMinimumVersion=3.40.0
qgisMaximumVersion=4.99.0
description=Load TEM inversion XYZ files as styled 3D vector layers
-version=0.1.5
+version=0.1.6
author=Anders Damsgaard
email=andam@geus.dk
about=QGIS plugin for loading geophysical inversion models. Adds a menu item to the "Plugin" menu. The models are loaded as 3D points for the terrain surface with line numbers as labels, 3D points for depth of investigation (DOI), and model layers as 3D lines. The plugin supports profile visualization using the "Elevation Profile" tool in QGIS.
changelog=
+ 0.1.6
+ * Increase performance on large datasets by writing outputs to GeoPackage layers instead of CSV
+ * Create spatial indexes for output layers to improve map and profile responsiveness
+ * Add Workbench wide XYZ export support
0.1.5
* Add 3D Map View rendering for points, DOI, and layers
* Pre-compute per-layer color from resistivity for 3D rendering
diff --git a/test/test_core.py b/test/test_core.py
@@ -17,7 +17,23 @@ from tem_loader.core import (
FIXTURE_DIR = Path(__file__).parent / "data"
-STYLES_DIR = Path(__file__).resolve().parent.parent / "tem_loader" / "styles"
+PLUGIN_DIR = Path(__file__).resolve().parent.parent / "tem_loader"
+STYLES_DIR = PLUGIN_DIR / "styles"
+METADATA_PATH = PLUGIN_DIR / "metadata.txt"
+
+
+class MetadataTests(unittest.TestCase):
+ def test_metadata_version_tracks_geopackage_release(self):
+ text = METADATA_PATH.read_text()
+ version_line = next(
+ line for line in text.splitlines() if line.startswith("version=")
+ )
+ version = version_line.split("=", 1)[1]
+ version_tuple = tuple(int(part) for part in version.split("."))
+
+ self.assertGreaterEqual(version_tuple, (0, 1, 6))
+ self.assertIn(f"\t{version}\n", text)
+ self.assertIn("GeoPackage", text)
class ProcessXYZTests(unittest.TestCase):