[general]
name=AutoTrace Stratigraphic Boundary
qgisMinimumVersion=3.22
qgisMaximumVersion=4.99
supportsQt6=True
description=Predicts stratigraphic boundary outcrop lines from dip/dip-direction outcrop points and a DEM (structure-contour method), stops them at faults, builds a geological map from the edited lines, and a 3D geological model with sections. 依構造等高線原理由露頭位態與 DEM 預判地層邊界線並產生地質圖。 Video tutorials / 操作影片: 中文 https://youtu.be/5PLR4HU3O1w ; English https://youtu.be/risDZpzG0dE
about=For each outcrop point of a stratigraphic boundary (dip, dip direction, upper and lower unit codes) the boundary plane is intersected with the DEM, and the outcrop line is followed to both sides of the point.
    Points of the same boundary in the same fault block are joined end to end through an inverse-distance blend of their planes, and lines stop on faults.
    A second tool polygonizes the edited boundary lines with the faults and assigns units from the side of each boundary, producing a geology layer.
    A third tool builds a 3D geological model and geological sections from the geological map, DEM, attitudes and faults (implicit potential-field method), saved as GeoPackage (2D section sheet + 3D layers), DXF / OBJ / STL and an offline three.js 3D viewer.
    Includes a downloadable sample project (oblique-slip fault displacing a plunging fold) and an illustrated guide to the principle and operation.
    User interface and guide: English, 繁體中文, 简体中文, 日本語 (follows the QGIS locale, switchable in the plugin menu).
    Requires only QGIS (GDAL and NumPy shipped with QGIS).
version=1.4.2
author=yoshihuang
email=yoshi.hml@gmail.com
changelog=
    1.4.2 Description: links to the YouTube video tutorials (Chinese https://youtu.be/5PLR4HU3O1w, English https://youtu.be/risDZpzG0dE).
    1.4.1 Fix "No transform is available between Geological section (distance, elevation) and EPSG:4326": section layers keep the model CRS; their coordinate values are unchanged (x = distance from 0, y = elevation).
    1.4.0 Sections: each section line in its own GeoPackage layers and its own QGIS project; local section coordinates (x = distance from the section start, 0 at the left; y = elevation x V.E.).
    1.3.2 Sample folder renamed to case (case/case.qgz, case/data.gpkg, case/DEM.tif).
    1.3.1 Sample project renamed: case.qgz with data.gpkg (all paths in the project updated).
    1.3.0 3D model: all outputs (GeoPackage, 3D viewer, DXF / OBJ / STL) to one chosen folder; sections shown in a new QGIS project and window (with print layout), the current project is left unchanged; section cut in the 3D viewer; sample project updated (results of every step included).
    1.2.0 3D model: fold axial traces as an input (hinge constraints, shown in the viewer and on sections); DXF / OBJ / STL / viewer as separate output files; the QGIS map is draped on the terrain (viewer, OBJ texture, georeferenced PNG).
    1.1.0 New tool: 3D geological model and geological sections from the geological map (implicit potential-field method), exported to GeoPackage, DXF / OBJ / STL and an offline 3D viewer. Sample data updated (point 69).
    1.0.0 First stable release (same features as 0.1.2).
    0.1.2 Pass plugins.qgis.org checks: no try/except/pass (bandit B110), Qt6 scoped enums, exec() instead of exec_().
    0.1.1 Fix "wrapped C/C++ object of type AlgorithmWidget has been deleted" when closing the tool dialogs in QGIS 4; dialogs now open non-modally.
    0.1.0 First release: boundary tracing, geology builder, sample project, multilingual help (en, zh_TW, zh_CN, ja).
tags=geology,3D geological model,geological section,cross section,stratigraphy,structure contour,dip,strike,DEM,fault,geological map,outcrop,mapping
homepage=https://github.com/yoshihuang/AutoTraceStratigraphicBoundary
repository=https://github.com/yoshihuang/AutoTraceStratigraphicBoundary
tracker=https://github.com/yoshihuang/AutoTraceStratigraphicBoundary/issues
category=Analysis
icon=icons/icon.png
experimental=False
deprecated=False
hasProcessingProvider=yes
server=False
