Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PolygonsParallelToLine/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ 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/polygons_parallel_to_line/
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/polygons_parallel_to_line/issues
repository=https://github.com/Elfpkck/polygons_parallel_to_line
tracker=https://github.com/Elfpkck/parallelizer/issues
repository=https://github.com/Elfpkck/parallelizer

changelog=See CHANGELOG.md

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

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

Expand Down
2 changes: 1 addition & 1 deletion PolygonsParallelToLine/src/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def shortHelpString(self) -> str: # noqa: N802
return "Rotates polygons parallel to features in a reference layer (line or polygon)."

def helpUrl(self) -> str: # noqa: N802
return "https://elfpkck.github.io/polygons_parallel_to_line/"
return "https://elfpkck.github.io/parallelizer/"

def initAlgorithm(self, config: dict | None = None) -> None: # noqa: N802
self.addParameter(
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![PR Validation](https://github.com/Elfpkck/polygons_parallel_to_line/actions/workflows/test.yaml/badge.svg?event=pull_request)](https://github.com/Elfpkck/polygons_parallel_to_line/actions/workflows/test.yaml)
[![codecov](https://codecov.io/gh/Elfpkck/polygons_parallel_to_line/graph/badge.svg?token=QEHFI3XE08)](https://codecov.io/gh/Elfpkck/polygons_parallel_to_line)
[![PR Validation](https://github.com/Elfpkck/parallelizer/actions/workflows/test.yaml/badge.svg?event=pull_request)](https://github.com/Elfpkck/parallelizer/actions/workflows/test.yaml)
[![codecov](https://codecov.io/gh/Elfpkck/parallelizer/graph/badge.svg?token=QEHFI3XE08)](https://codecov.io/gh/Elfpkck/parallelizer)

[![QGIS](https://qgis.github.io/qgis-uni-navigation/logo.svg)](https://qgis.org)

Expand Down Expand Up @@ -182,8 +182,8 @@ This project is licensed under the [GNU General Public License v2.0 or later](LI

## Support

- 🐛 [Report Issues](https://github.com/Elfpkck/polygons_parallel_to_line/issues)
- 💬 [Discussion Forum](https://github.com/Elfpkck/polygons_parallel_to_line/discussions)
- 🐛 [Report Issues](https://github.com/Elfpkck/parallelizer/issues)
- 💬 [Discussion Forum](https://github.com/Elfpkck/parallelizer/discussions)

---

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
]
description = ""
license = "GPL-2.0-or-later"
name = "polygons-parallel-to-line"
name = "parallelizer"
readme = "README.md"
requires-python = ">=3.9"
version = "0.0.0"
Expand Down Expand Up @@ -42,7 +42,7 @@ markers = ["perf: performance smoke tests (skipped by default; run with `-m perf
[tool.qgis-plugin-ci]
github_organization_slug = "Elfpkck"
plugin_path = "PolygonsParallelToLine"
project_slug = "polygons_parallel_to_line"
project_slug = "parallelizer"

[tool.ruff]
line-length = 120
Expand Down
2 changes: 1 addition & 1 deletion tests/test_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_algorithm_initialization(algorithm_instance):
assert algorithm_instance.shortHelpString() == (
"Rotates polygons parallel to features in a reference layer (line or polygon)."
)
assert algorithm_instance.helpUrl() == "https://elfpkck.github.io/polygons_parallel_to_line/"
assert algorithm_instance.helpUrl() == "https://elfpkck.github.io/parallelizer/"


def test_algorithm_create_instance(algorithm_instance):
Expand Down
38 changes: 19 additions & 19 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading