Bug report #10059

Vector grid tool creates output with false CRS

Added by Andre Joost about 10 years ago. Updated almost 7 years ago.

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

Description

How to reproduce:

  1. Load a shapefile in WGS84
  2. Set project CRS to the local UTM zone
  3. Vector -> Research tools -> Vector grid
  4. Set extent from layer (but coordinates are in project CRS!)
  5. Save and add to canvas

The grid shape file has coordinates and extent in project CRS (UTM), but CRS of the selected layer (WGS84). This makes little sense.

Either the programm should raise an error message that layer and project CRS differ, or the grid layer CRS should be set to project CRS.

Associated revisions

Revision 3b70b844
Added by Alexander Bruy over 8 years ago

[fTools] warn if layer and project CRS are different (fix #10059)

History

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

  • Target version changed from Version 2.4 to Future Release - High Priority

#2 Updated by Alexander Bruy over 8 years ago

  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi almost 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF