[QGIS-trac] [Quantum GIS] #1688: Map srs should inherit from first layer added to new project

Quantum GIS qgis at qgis.org
Tue May 12 17:28:42 EDT 2009


#1688: Map srs should inherit from first layer added to new project
------------------------------------------------+---------------------------
   Reporter:  springmeyer                       |              Owner:  nobody
       Type:  enhancement                       |             Status:  new   
   Priority:  major: does not work as expected  |          Milestone:        
  Component:  MapCanvas                         |            Version:  1.0.0 
   Keywords:                                    |   Platform_version:        
   Platform:  OS X                              |           Must_fix:  No    
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 I think this would be a big usability improvement. It should be able to be
 turned off however (wildintellect), but the default behavior when opening
 a new project should be that the Map CRS inherits from the CRS from the
 layer, when possible.

 Perhaps I am missing something however - the text in the QGIS Options CRS
 tabs says: 'when layer is load that has no coordinate reference system
 (CRS)' do...

 I have 'Prompt for CRS Checked' and when I open a shapefile in BC albers
 (epsg 3005)
 {{{
 PROJCS["PCS_Albers",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",1000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-126.0],PARAMETER["Standard_Parallel_1",50.0],PARAMETER["Standard_Parallel_2",58.5],PARAMETER["Latitude_Of_Origin",45.0],UNIT["Meter",1.0]]
 }}}

 ...the map still defaults to EPSG 4326, which is not the behavior I would
 assume based on that description.

 Is something wrong with my system or is that description of out sync with
 intended behavior?

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1688>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list