Skip to content

After January update it stopped to produce series of rectangles, when the line has some issues in geometry. #6

@gorwah-debug

Description

@gorwah-debug

Before updating to 3.1.0 this plugin was handling lines with geometry issues pretty decent. It started at one begining of the line until the points were in order, then it was jumping to the end of line where next point was and was continuing back to the beginning. Now it stops after encountering such geometry issue.

Below warning is thrown:
2026-01-26T09:37:57 WARNING warning:C:\Users/gorwah/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\polystrip\polystripalg.py:83: DeprecationWarning:

         QgsField constructor is deprecated
         
         
         traceback: File "C:\Users/gorwah/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\polystrip\polystrip.py", line 228, in run
          self.dlg.polystrip(layer)
          File "C:\Users/gorwah/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\polystrip\polystripdialog.py", line 97, in polystrip
          return get_all_pages(layer, width, height, srid, coverage, covstart, follow_line_direction)
          File "C:\Users/gorwah/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\polystrip\polystripalg.py", line 83, in get_all_pages
          QgsField("angle", QVariant.Double, len=10, prec=2),

It still works on the same line on version 3.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions