Bug report #20966
algorithm create grid: reference point problem for calculating Y coordinates
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/QGIS | ||
Affected QGIS version: | 3.4.3 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28785 |
Description
The reference point for calculating the other points seems to be the top left point of the grid.
It is expected that the bottom left point will be the reference point.
This is a problem if the maximum Y coordinate is not of the form Ymin + n*deltaY with n integer.
The MMQGIS create grid function gives the expected results, even in this case.
see attached illustration
Associated revisions
[processing] fixed qgis algorithms help file
fixes #20966
History
#1 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Open to Feedback
- Category changed from Processing/GUI to Processing/QGIS
Does it works as expected on 2.18?
#2 Updated by Alain FERRATON almost 6 years ago
- Status changed from Feedback to Open
Same problem under QGIS 2.18 and QGIS 2.16
#3 Updated by Victor Olaya almost 6 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|e3516ab1b46137db36f3b7dbf4e4f2ee2df1eb70.
#4 Updated by Victor Olaya almost 6 years ago
This doesnt seem to be a bug. The code clearly uses that reference point, and the corresponding tests do so. I have updated the documentation to make it clear that the top left point is the reference point for this algorithm