Bug report #6396

Forward transform error is not handled gracefully

Added by Alister Hood about 12 years ago. Updated about 12 years ago.

Status:Closed
Priority:Normal
Assignee:Magnus Homann
Category:Projection Support
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:15650

Description

At least on Windows, when there is a forward transform exception (like the message below), the mouse cursor changes to an hourglass and it becomes impossible to do things like right-click on anything, or close QGIS (you need to kill the process).

forward transform of
(0.000000, 1.570796)
PROJ.4: +proj=tmerc +lat_0=0 +lon_0=173 +k=0.9996 +x_0=1600000 +y_0=10000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +to +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs
Error: tolerance condition error

s.xml Magnifier (624 Bytes) Alister Hood, 2012-09-23 08:03 PM

History

#1 Updated by Alister Hood about 12 years ago

To replicate, start a blank project and set the Project CRS to EPSG:2193, then try to load the attached file.

#2 Updated by Giovanni Manghi about 12 years ago

  • Status changed from Open to Feedback

tested on 1.8 or master?

#3 Updated by Magnus Homann about 12 years ago

  • Assignee set to Magnus Homann
  • Target version set to Version 2.0.0
  • Category set to Projection Support

I can replicate.

#4 Updated by Alister Hood about 12 years ago

Giovanni Manghi wrote:

tested on 1.8 or master?

Master. Can anybody change the status back to "New"?

#5 Updated by Giovanni Manghi about 12 years ago

  • Status changed from Feedback to Open

#6 Updated by Magnus Homann about 12 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF