[general]
name=ColorGPX
description=GPX轨迹按速度/高度/坡度渲染及批量处理工具，支持工程图层、单个或多个GPX和extensions扩展字段。 / Render and batch-process GPX tracks by speed, elevation or slope from project layers or one/many GPX files, including extension fields.
version=3.7.1
qgisMinimumVersion=3.1
qgisMaximumVersion=4.99
author=OpenQGIS
email=OpenQGIS@outlook.com
about=提取GPX轨迹的速度、高程和坡度信息，生成点、线或渐变线图层并进行彩色化渲染。统一支持QGIS工程图层、单个/多个GPX及文件夹批量输入，提供字段预检查、模拟速度、临时/独立文件/单一GeoPackage输出和结果报告。 / Extracts and renders speed, elevation and slope from GPX tracks. Supports project layers, one or many GPX files, and folder batches through a unified queue with capability checks, simulated speed, temporary/separate/single-GeoPackage outputs, and result reports.
tracker=https://github.com/OpenQGIS/ColorGPX/issues
repository=https://github.com/OpenQGIS/ColorGPX
tags=GPX,Analysis,gradient,interpolated,slope,degree,extensions
homepage=https://github.com/OpenQGIS/ColorGPX
category=Analysis
icon=icons/icon.png
changelog=
  Version 3.7.1:
  - 🛡️ 修复 Bandit B110 安全审计报错，添加 # nosec B110 标记。 / Fixed Bandit B110 security audit error by adding # nosec B110 annotations.
  - ✨ 优化批量处理面板，高程/时间/速度来源添加属性图标并规范“原生”速度命名。 / Added property icons for elevation/time/speed source in batch panel.

  Version 3.7.0:
  - 🌐 修复批处理面板、实时预览与追踪提示中的中英文混杂与多语言缺失问题。 / Fixed i18n translation issues in batch generator, hover preview, and tracking tip labels.
  - ⚡ 全面提升全插件 PyQt6 / QGIS 4.0 枚举兼容性。 / Enhanced PyQt6 and QGIS 4.0 enum compatibility across all modules.

  Version 3.6.0:
  - ⚡ 优化代码架构与资源占用，专注于单轨迹与 GPX 批量渲染处理。 / Optimized code architecture and resource usage, focusing on single-track and GPX batch rendering.
  - ✨ 保留并优化单轨迹与 GPX 批量处理队列，支持多来源输入、能力预检查、多输出模式及批处理报告。 / Retained and optimized single-track and GPX batch processing modules with multi-source queue, capability preflight, multi-output options, and result reports.
  - 🎨 优化独立工具栏与专属图标。 / Refined standalone toolbar and action icons.

  Version 3.4.2:
  - 🚀 优化批量生成窗口为 750 px 紧凑布局，渲染与输出选项改为完整可见的单选项，并支持折叠全局设置及输出设置。 / Improved the batch generator with a compact 750 px layout, fully visible radio options, and collapsible global and output settings.

  Version 3.4.0:
  - ✨ 将单轨迹生成与批量生成拆分为两个独立入口，分别提供紧凑生成器及多来源队列、预检查、输出策略和结果报告。 / Split single-track and batch generation into separate workflows with a compact generator and a multi-source queue, preflight checks, output policies, and result reports.

  Version 3.3.2:
  - 📋 新增批处理结果报告，分类显示完整、部分、跳过和失败任务，支持CSV导出、定位图层、打开输出目录和失败重试。 / Added batch result reports with complete/partial/skipped/failed categories, CSV export, layer location, output-folder access, and failed-task retry.
  - 🔒 完成批量处理安全加固：路径规范化、目录边界校验、资源上限、符号链接过滤、CSV公式注入防护和覆盖二次确认。 / Hardened batch processing with path normalization, output-boundary checks, resource limits, symlink filtering, CSV formula-injection protection, and overwrite confirmation.
  - 🧩 处理与渲染成功后才将结果加入工程，失败任务不会留下半成品图层。 / Results are added to the project only after processing and rendering succeed, preventing partial layers after failures.

  Version 3.3.1:
  - 💾 新增临时图层、每任务独立文件和单一GeoPackage三种批量输出模式。 / Added temporary-layer, per-task file, and single-GeoPackage batch output modes.
  - 🏷️ 新增命名模板、自动序号、跳过和确认覆盖等重名策略，并将结果自动归入带时间戳的图层组。 / Added naming templates, suffix/skip/confirmed-overwrite collision policies, and timestamped result groups.
  - ⏳ 新增总体进度、任务状态更新、任务间取消以及单任务失败隔离。 / Added overall progress, per-task status updates, between-task cancellation, and failure isolation.

  Version 3.3.0:
  - 🗂️ 将单文件生成面板升级为统一任务队列，支持QGIS工程图层、一个/多个GPX文件及文件夹扫描。 / Replaced the single-input panel with a unified queue for project layers, one/many GPX files, and folder scans.
  - 🔎 新增时间、高程、速度和坡度能力预检查，区分原始/扩展/模拟速度及完整、部分和不可运行状态。 / Added capability preflight for time, elevation, speed, and slope, including original/extension/simulated speed and ready/partial/blocked states.
  - ⚙️ 新增继续处理、严格模式和仅完整任务三种异常策略，并保留自定义字段名、单位及色带设置。 / Added continue, strict, and complete-only policies while retaining custom fields, units, and color ramps.

  Version 3.0.0:
  - 🐛 修复跨投影坐标系（CRS）下的计算偏差，使定位十字星高精度紧贴轨迹线。 / Fixed coordinates mismatch under different CRS configurations, making crosshairs snap precisely to track lines.
  - ✨ 新增图层选择面板下方的左右键锁定/解锁操作提示。 / Added mouse click lock/unlock operation tips in the layer selection panel.
  - 🐛 修复多任务切换下悬浮窗全局置顶问题，改为随画布隐藏。 / Fixed hover widget stay-on-top issue by making it a canvas child widget.
  - 🚀 新增地图拖动与滚轮缩放时固定悬浮窗与十字星的随动同步。 / Added coordinate-synced positioning for pinned hover widgets during map panning and zooming.
  - ✨ 新增物理线段中点数据（Time, Elevation, Speed, Slope）的动态投影线性插值。 / Added dynamic linear interpolation for segment parameters based on cursor projection.
  - 🚀 新增属性字段缺失的容错保护，防止探查非计算图层时崩溃。 / Added field check protection to handle layers missing expected properties safely.
  - 🚀 优化设置窗口布局，新增圆角暗色风格的实时效果预览面板。 / Improved settings UI by adding a real-time live preview panel.
  - ⚡ 优化悬浮窗自适应布局，在字段减少时自动收缩高度。 / Improved hover widget auto-shrink behavior to prevent bottom blank areas.
  - ✨ 新增工具栏分区垂直分割线并更新生成图标。 / Added a toolbar separator and updated the generation action icon.

  Version 2.7.0:
  - ✨ 新增无高度 and 时间数据时的图层校验与禁用机制。 / Added data validation checks to disable fields when track files lack elevation/time.
  - 🔧 完善翻译文件，支持12种语言翻译包编译。 / Updated translation compilation support for 12 languages.
  - ⚡ 移除 line_processor.py 中的死代码并清理控制台调试日志。 / Cleaned up redundant logic and debug statements from processing scripts.

  Version 2.6.4:
  - ✨ 新增速度字段缺失时的模拟速度计算功能。 / Added simulated speed calculations using distance and timestamps.
  - ✨ 新增计算模拟速度时的推荐采集软件弹窗提示。 / Added user dialog recommendations when using simulated speeds.

  Version 2.6.3:
  - 🔧 更新 QGIS 4.0 兼容性。 / Updated compatibility for QGIS 4.0 enums.
  - 🚀 优化 XML 序列化以符合 QGIS 官方代码安全审查。 / Secured XML parsing logic to meet QGIS official review criteria.
  - ⚡ 移除无用测试脚本以精简插件体积。 / Cleaned up unused development scripts.

  Version 2.6.0:
  - 🚀 优化工具栏为独立可移动且可停靠的面板。 / Improved toolbar to be movable and dockable.

  Version 2.5.0:
  - ❗ 重大变更：坡度输出格式修改为度（°）。 / Changed slope output format to degrees (°).

  Version 2.4.0:
  - 🚀 优化坡度算法：支持下坡负值与双向 EMA 平滑降噪。 / Improved slope algorithm with downhill support and EMA smoothing.
  - 🔧 更新 PyQt6 与 QGIS 4 兼容性。 / Updated PyQt6 and QGIS 4 compatibility.

  Version 2.3.0:
  - 🔧 更改插件名称为 ColorGPX。 / Renamed plugin to ColorGPX.
  - ✨ 新增基于 Haversine 距离与高差的坡度渲染字段。 / Added Slope rendering attribute based on spatial distance and elevation.

  Version 2.2.0:
  - ✨ 支持从 GPX extensions 中提取速度与高程字段。 / Added support for reading speed/elevation from GPX extensions.

  Version 2.1.0:
  - ✨ 新增渐变线（Gradient Line）着色渲染模式。 / Added gradient line rendering mode for QGIS 3.40+.
  - 🚀 优化极值提取同步、精度控制及图层单位后缀。 / Improved min/max bounds, label precision, and unit suffix rendering.

  Version 2.0.0:
  - ✨ 新增线条加密、色带反转与输出管理功能。 / Added line densification, reverse ramp, and output controls.

  Version 1.1.0:
  - ✨ 首次发布。 / Initial release.
