[general]
name=Polygons Parallel to Line
qgisMinimumVersion=3.22
description=Rotates polygons and lines to be parallel to a reference line, in batch (Processing) or interactively from the map canvas
version=2.0.0
author=Andrii Liekariev
email=elfpkck@gmail.com
hasProcessingProvider=yes

about=This plugin rotates polygons (and lines) to be parallel to the nearest line segment. Two entry points are provided: a batch Processing algorithm that operates on whole layers, and an interactive map tool that lets you pick a reference line and then click individual line or polygon features to rotate them in place. It is useful when working with streets and buildings. Before using the plugin, we strongly recommend checking your data for geometric errors. A full description can be found at https://elfpkck.github.io/polygons_parallel_to_line/

tracker=https://github.com/Elfpkck/polygons_parallel_to_line/issues
repository=https://github.com/Elfpkck/polygons_parallel_to_line

changelog=
 Version 2.0.0:
 - Add an interactive map tool: pick a reference line on the canvas, then click — or drag a rectangle — to rotate individual line/polygon features (or every feature in the rectangle across editable visible layers) parallel to it
 - Add a Settings dialog (toggle "Rotate by longest segment"); choices persist via `QSettings`
 - Reconcile reference and target geometries when layers are in different CRSes
 - Register a "Polygons Parallel to Line" toolbar and Vector-menu entry

 Version 1.2.0:
 - Enhance polygon rotation logic and geometry validation
 - Fix `no_multi` regression
 - Test against QGIS 4.0
 - Automate releases via tag-triggered `qgis-plugin-ci` pipeline

 Version 1.1.0:
 - Enhance UI text readability
 - Skip rotation when an angle is close to zero to avoid unnecessary operations and wrong "_rotated" values
 - Handle polygon vertex duplicates and internal rings properly
 - Update test cases to cover new edge cases



tags=polygon, line, vector, parallel, rotating, interactive, map tool

homepage=https://elfpkck.github.io/polygons_parallel_to_line/
category=Vector
icon=icons/icon.png

experimental=False
deprecated=False
