Bug report #1231
When creating a new GRASS location, QGIS fails loading predefined regions
|Affected QGIS version:||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||11291|
When creating a new GRASS location, QGIS fails loading predefined regions.
For every nation selected (from Afghanistan to Zimbabwe) it loads the following region values:
#1 Updated by Paolo Cavallini about 12 years ago
Probably the same thing:
When setting up a new region, it fails:
Cannot reproject selected region.
Impossible to set a new region based on a nation, or draw a rectangle
For Italy, the coor shown are wrong:
N and S -9.99829e+06 E and W 1.5e+06
Probably because of:
OGR can't parse PROJ.4-style parameter string:
OGR Error code was 5
pm.isNull() = 0
Warning: Throwing exception
QGIS 0.11 from debian.gfoss.it.
#3 Updated by Tom Elwertowski about 12 years ago
The problem was introduced between 0.10 and 0.11 (tested using Mac builds).
The "can't parse" error appears to be unimportant -- it occurs because there is no initial selection when the projection list is first shown. The routine is called again when a projection is selected.
The problem, which I don't understand yet, is that QgsCoordinateTransform is returning the same output point for any input point. Perhaps some parameter is so far off that every input point is transformed into the same output point.