Bug report #16066

Mean coordinate with unique field fails

Added by matteo ghetta almost 8 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Tests Suite
Affected QGIS version:master Regression?:No
Operating System:Linux mint Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:23981

Description

With the default data (but tested also with other custom data) the test of Mean Coordinate with unique field selected always fails:

4: AssertionError: 'Point (3 1.5)' != 'Point (3.4 -1.2)'
4: - Point (3 1.5)
4: ? ^ ^
4: + Point (3.4 -1.2)
4: ? ^^^^ ^
4: : Features 1/1 differ in geometry:
4:
4: Point (3 1.5)

dataset used is custom/points.shp with unique field id2

The result seems ok, only the test fails (tried also with the comparing geometry option)

type: vector
compare:
geometry:
precision: 5

With no parameters selected (standard Mean Coordinates) both result and test are ok

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by matteo ghetta over 6 years ago

  • Resolution set to fixed/implemented
  • Description updated (diff)

#3 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

#4 Updated by matteo ghetta over 5 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF