Bug report #10220
Mean coordinate(s) function in processing - not possible to avoid using weights
|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|
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)