Bug #5071

A defined custom CRS is not applied when loading a shp

Added by craigleat - about 1 year ago. Updated 9 months ago.

Status:New Start Date:02/22/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Projection Support
Target version:Version 2.0.0
Platform:windows Patch supplied:No
Platform version:xp Affected version:1.7.4
Status info: Causes crash or corruption:No
Resolution:

Description

With 1.7.4 on windows try the following:
1. Start a new project, enable OTF and set the project to wgs84
2. Check my crs database contains the definition for my custom crs
3. Add a shp using my custom crs (layer contains a valid prj file)
4. Goto layer properties and I see "EPSG:31282 - MGI (Ferro) / Austria Central Zone" has been applied. ???
5. Select the custom crs and the layer displays correctly i.e there is nothing wrong with the crs definition!

This only affects a custom crs. Layers with a standard crs work fine.

Do the same with a current master version and all is well.

Can the fix be back ported please...?

History

Updated by marisn - about 1 year ago

Hm. This seems to be similar to #5066 - seems that QGIS CRS detection algorithm is failing in 1.7. It would be better to fail completely to detect CRS (and ask user!) than use a wrong one...

Updated by Giovanni Manghi about 1 year ago

  • Target version changed from 35 to Version 1.8.0

Updated by Paolo Cavallini 9 months ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

Also available in: Atom PDF