[QGIS-trac] Re: [Quantum GIS] #967: CRS of a new shapefile doesn't match CRS of the project

Quantum GIS qgis at qgis.org
Sat Aug 30 12:38:54 EDT 2008


#967: CRS of a new shapefile doesn't match CRS of the project
-----------------------------------------------------+----------------------
        Reporter:  msieczka                          |         Owner:  nobody       
            Type:  defect                            |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.0.0
       Component:  Projection Support                |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  Yes                               |   Status_info:  0            
-----------------------------------------------------+----------------------
Changes (by msieczka):

  * platform:  Debian => All
  * summary:  CRS of a new shapefile doesn't match CRS of the current
              project, but the global default one => CRS of a
              new shapefile doesn't match CRS of the project

Comment:

 Replying to [comment:1 msieczka]:
 > I thought more about it. Now I understand what's going on I guess - QGIS
 does
 > not force the CS of a project on a newly created shapefile, but the
 global
 > default one defined in Settings > Options > Projection. I'd rather
 expect
 > the project settings to take over, but not really sure as I think of it.
 It
 > should be discussed which would be correct.

 This problem is not limited to creating shapefiles with "New Vector layer"
 tool. For example the Graticule Creator, Add Delimited Text Layer plugins
 have the same problem too.

 I would expect that a newly created shapefile has the CRS that I have
 currently set for my project. Using the global default CRS defined in
 dialog "When layer is loaded that has no CRS" seems a defect to me. That
 setting is for *existing layers, at their load time*, not for *newly
 created shapefiles*.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/967#comment:4>
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