Opened 13 years ago
Closed 13 years ago
#3674 closed bug (fixed)
Can not set custom CRS as default for new project/layer
Reported by: | imincik1 | Owned by: | jef |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Projection Support | Version: | |
Keywords: | Cc: | borysiasty | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
It is not possible to set custom CRS as default for new project/layer ( 'Options > CRS '). Even if selected in list of CRSs, the result is always WGS 84.
Debug log:
Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 74: (QgsProjectionSelector) Use popular projection list from AuthId/Proj4 saved state Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/core/qgscoordinatereferencesystem.cpp: 798: (setMapUnits) Projection has linear units of Meter Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/core/qgscoordinatereferencesystem.cpp: 798: (setMapUnits) Projection has linear units of Meter Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/core/qgscoordinatereferencesystem.cpp: 798: (setMapUnits) Projection has linear units of Meter Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/core/qgscoordinatereferencesystem.cpp: 798: (setMapUnits) Projection has linear units of Meter Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/core/qgscoordinatereferencesystem.cpp: 798: (setMapUnits) Projection has linear units of Meter Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/core/qgscoordinatereferencesystem.cpp: 798: (setMapUnits) Projection has linear units of Meter Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 583: (loadUserCrsList) Fetching user projection list... Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 378: (selectedProj4String) mySrsId = 3452 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 379: (selectedProj4String) USER_CRS_START_ID = 100000 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 403: (selectedProj4String) db = /usr/share/qgis/resources/srs.db Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 419: (selectedProj4String) Selection sql: select parameters from tbl_srs where srs_id = 3452 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 378: (selectedProj4String) mySrsId = 3644 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 379: (selectedProj4String) USER_CRS_START_ID = 100000 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 403: (selectedProj4String) db = /usr/share/qgis/resources/srs.db Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 419: (selectedProj4String) Selection sql: select parameters from tbl_srs where srs_id = 3644 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 378: (selectedProj4String) mySrsId = 100000 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 379: (selectedProj4String) USER_CRS_START_ID = 100000 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 396: (selectedProj4String) users qgis.db found Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 403: (selectedProj4String) db = /home/ivo/.qgis/qgis.db Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 419: (selectedProj4String) Selection sql: select parameters from tbl_srs where srs_id = 100000 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 506: (getSelectedExpression) Finding selected attribute using : select upper(auth_name||':'||auth_id) from tbl_srs where srs_id=100000 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/core/qgscoordinatereferencesystem.cpp: 272: (loadFromDb) failed : select srs_id,description,projection_acronym,ellipsoid_acronym,parameters,srid,auth_name||':'||auth_id,is_geo from tbl_srs where lower(auth_name||':'||auth_id)='' Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/gui/qgsprojectionselector.cpp: 506: (getSelectedExpression) Finding selected attribute using : select upper(auth_name||':'||auth_id) from tbl_srs where srs_id=100000 Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/app/qgsoptions.cpp: 785: (on_pbnSelectOtfProjection_clicked) Setting default project CRS to : Debug: /tmp/buildd/qgis-1.7.0~trunk1/src/app/qgsoptions.cpp: 787: (on_pbnSelectOtfProjection_clicked) ------ Global OTF Projection Selection set to ---------- EPSG:4326 - WGS 84
Change History (3)
comment:1 by , 13 years ago
Owner: | changed from | to
---|
comment:2 by , 13 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
JEF, sorry for planting this bug, but you'll do it easier and safer than me :)