[Processing] "Points to path" algorithm calculates incorrect attributes values #55860
Closed
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Regression
Something which used to work, but doesn't anymore
What is the bug or the crash?
The "Points to path" (
native:pointstopath
) C++ processing algorithm calculates incorrect values of thebegin
andend
fields in the attribute table of the output line layer in some circumstances.The issue didn't occur using the "Points to path" (
qgis:pointstopath
) Python processing algorithm in QGIS 3.16.Steps to reproduce the issue
Using the following GeoJson layer (also provided as Points.zip zipped file):
as "Input point layer" of the "Points to path" (
native:pointstopath
) processing algorithm and setting theID
field as "Groups field" and theord
field as "Order field", then the output line layer contains the correct feature geometries but the incorrect values of thebegin
andend
fields of the attribute table:while it should be:
Versions
The issue occurs using the latest QGIS 3.28.14, QGIS 3.34.2 and QGIS 3.35.0-Master
QGIS version
3.35.0-Master
QGIS code branch
master
Qt version
5.15.11
Compiled against Python
3.11.7
Running against Python
3.11.6
GDAL/OGR version
3.8.3
PROJ version
9.3.1
EPSG Registry database version
v10.098 (2023-11-24)
GEOS version
3.12.1-CAPI-1.18.1
SQLite version
3.44.1
PostgreSQL client version
unknown
SpatiaLite version
5.1.0
QWT version
6.2.0
QScintilla2 version
2.13.4
OS version
Windows 7 Version 6.1 (Build 7601: SP 1)
This copy of QGIS writes debugging output.
Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
processing
2.12.99
Supported QGIS version
New profile
Additional context
The processing algorithm has been ported to C++ with PR #40014 since QGIS 3.18.
The text was updated successfully, but these errors were encountered: