[Qgis-developer] setting default CRS

Kosza Antal antoniusz at clicknet.ro
Mon Mar 14 21:46:34 EDT 2011


Hi,

I cannot set User Defined Coordinate System as Default for new projects
or for new layers. Here is the debug output:


Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 617: (loadUserCrsList) Fetching user projection list...
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 412: (selectedProj4String) mySrsId = 3452
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 413: (selectedProj4String) USER_CRS_START_ID = 100000
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 437: (selectedProj4String) db = /home/toni/bin/qgis/qgis_unstable/apps/share/qgis/resources/srs.db
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 453: (selectedProj4String) Selection sql: select parameters from tbl_srs where srs_id = 3452
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 412: (selectedProj4String) mySrsId = 100000
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 413: (selectedProj4String) USER_CRS_START_ID = 100000
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 430: (selectedProj4String) users qgis.db found
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 437: (selectedProj4String) db = /home/toni/.qgis/qgis.db
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 453: (selectedProj4String) Selection sql: select parameters from tbl_srs where srs_id = 100000
Debug: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 540: (getSelectedExpression) Finding selected attribute using : select upper(auth_name||':'||auth_id) from tbl_srs where srs_id=100000
Debug: /home/toni/bin/qgis/qgis_unstable/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: /home/toni/bin/qgis/qgis_unstable/src/gui/qgsprojectionselector.cpp: 540: (getSelectedExpression) Finding selected attribute using : select upper(auth_name||':'||auth_id) from tbl_srs where srs_id=100000
Debug: /home/toni/bin/qgis/qgis_unstable/src/app/qgsoptions.cpp: 785:
(on_pbnSelectOtfProjection_clicked) Setting default project CRS to : 
Debug: /home/toni/bin/qgis/qgis_unstable/src/app/qgsoptions.cpp: 787:
(on_pbnSelectOtfProjection_clicked) ------ Global OTF Projection
Selection set to ----------
EPSG:4326 - WGS 84





More information about the Qgis-developer mailing list