[general]
name=Routing Plan
qgisMinimumVersion=4.0
description=Routing, isochrones, OD matrix, map matching, and elevation analysis powered by Valhalla and OSRM. Works globally via OSRM, with deep Valhalla support for Indonesia and any self-hosted Valhalla server.
about=Plugin for routing waypoints (CSV/XLSX/GeoJSON/KML) with turn-by-turn
    directions like Google Maps. Supports dual routing engines (Valhalla +
    OSRM), route optimization, isochrones, OD matrix, map matching,
    elevation profiles, and snap-to-road utility.
version=0.2.1
author=Dhany Yudi Prasetyo
email=dhanyyudi.prasetyo@gmail.com
tracker=https://github.com/dhanyyudi/routing-plan/issues
repository=https://github.com/dhanyyudi/routing-plan
homepage=https://github.com/dhanyyudi/routing-plan
category=Plugins
icon=icons/icon.png
experimental=True
deprecated=False
tags=routing,navigation,valhalla,directions,osm
hasProcessingProvider=no
server=False

# Legacy: remove after QGIS 4 plugin repo migration
qgisMaximumVersion=4.99

[changelog]
0.2.1 =
    - Fix: replace urllib.request.urlopen in OSRMClient with QGIS's
      QgsBlockingNetworkRequest (same transport ValhallaClient uses).
      Bandit B310 was blocking v0.2.0 on plugins.qgis.org;
      plugins.qgis.org ignores ``# nosec`` suppressions, so the only
      working fix is to not use urllib.request.urlopen at all.
    - Fix: address Flake8 E226, E241, W503, W504 reported by the
      scanner (route_renderer, main_dialog, smoke test). Bounding-box
      checks use lat_ok / lon_ok intermediates so a single-line ``and``
      satisfies both W503 and W504 simultaneously.
0.2.0 =
    - Add OSRM as an alternative routing engine (global coverage; car/bike/foot)
    - Add Valhalla Isochrones dialog (reachability polygons)
    - Add OD Matrix dialog (Valhalla sources_to_targets, OSRM /table)
    - Add Map Matching dialog (Valhalla trace_route/trace_attributes, OSRM /match)
    - Add Expansion debug visualization (Valhalla)
    - Add Elevation profile dialog (Valhalla /height)
    - Add Snap to Road / Locate utility (Valhalla /locate, OSRM /nearest)
    - Per-engine endpoint configuration in Settings
    - Refreshed README and metadata description for the dual-engine feature set
0.1.3 =
    - Code quality: collapse aligned dict literals in maneuver_formatter (E241)
    - No functional changes
0.1.2 =
    - Code quality: clean up 100 flake8 warnings flagged by plugin scanner
      (unused imports, f-string fixes, ambiguous variable names)
    - No functional changes
0.1.1 =
    - Fix: PNG icon for QGIS plugin repository compatibility
    - Add: Buy me a coffee donation link
0.1.0 =
    - Initial release
    - Load waypoints from CSV, Excel, GeoJSON, KML, and QGIS layers
    - Route computation via Valhalla API (auto, truck, bus, taxi, motorcycle, bicycle, pedestrian)
    - Multi-leg route rendering with categorized colors per leg
    - Turn-by-turn directions dock with Google Maps-style typography
    - Export: HTML, GeoJSON, KML, GeoPackage
    - Departure time, route optimization, avoid highways/tolls/ferries
    - Archive and auto-clear previous routes
    - Bilingual: English UI with optional Indonesian maneuver translation (client-side)
    - QGIS 4.0 / Qt6 compatible
