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

about=This plugin rotates polygons (and lines) to be parallel to the nearest reference segment; the reference can be a line or polygon layer (polygon boundary rings are treated as polylines). 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 or polygon feature on the canvas and then click — or drag-rectangle — individual line/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/parallelizer/

tracker=https://github.com/elfpkck/parallelizer/issues
repository=https://github.com/elfpkck/parallelizer

changelog=
 Version 2.1.0:
 - Accept line layers as the rotation target in the Processing algorithm (the interactive map tool already supported both). **Breaking:** the Processing parameter `POLYGON_LAYER` has been renamed to `TARGET_LAYER` (saved models referencing the old key must be updated); user-facing labels switch from "Polygon layer" / "Skip multipolygons" to "Target layer" / "Skip multipart features"
 - Mark the plugin as QGIS 4 compatible (`qgisMaximumVersion=4.99`) and fully scope PyQt6-required Qt enums in the map tool and settings dialog so they work on QGIS 4 / Qt 6
 - Accept polygon layers as the rotation reference in both the Processing algorithm and the interactive map tool; polygon boundary rings are treated as polylines for closest-segment math. **Breaking:** the Processing parameter `LINE_LAYER` has been renamed to `REFERENCE_LAYER` (saved models referencing the old key must be updated). The map tool prefers a line under the click when both a line and polygon overlap.
 - Rename the plugin to "Parallelizer" and remove the Processing-toolbox group, so the algorithm appears at the toolbox root instead of under "Algorithms for vector layers"

 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



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

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

experimental=False
deprecated=False
