Bug report #10220

Mean coordinate(s) function in processing - not possible to avoid using weights

Added by Håvard Tveite almost 6 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/Core
Affected QGIS version:2.2.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:No Copied to github as #:18666

Description

In QGIS 2.2 - processing 2.2.0-1, when using the mean coordinate(s) function from Processing, it does not seem to be possible to specify a non-weighted version of the function when there are numerical attributes available. When opening the function window, "Weight field" appears as "[not set]", but when choosing another "Input layer", this option disappears.

In Vector-> Analysis tools-> Mean coordinate(s), one can use "(Optional) Weight field" for "Weight field" in order not to use weights.
It would be nice to be able to have this option also in the processing version.

If it is not possible to have this option, a solution could be to create two versions of the function:
1) mean coordinate(s)
2) weighted mean coordinate(s)


Related issues

Duplicates QGIS Application - Feature request #9859: Processing - "Mean coordinate(s)" should not require id f... Closed 2014-03-24

History

#1 Updated by Jürgen Fischer almost 6 years ago

  • Crashes QGIS or corrupts data set to No
  • Project changed from 78 to QGIS Application
  • Affected QGIS version set to 2.2.0

#2 Updated by Jürgen Fischer almost 6 years ago

  • Category set to 94

#3 Updated by Alexander Bruy over 5 years ago

  • Status changed from Open to Closed
  • Resolution set to duplicate

Duplicates #9859

#4 Updated by Giovanni Manghi almost 5 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF