[QGIS-trac] [Quantum GIS] #2326: Define Current Projection in fTools fails

Quantum GIS qgis at qgis.org
Fri Dec 25 03:28:38 EST 2009


#2326: Define Current Projection in fTools fails
------------------------------------------------+---------------------------
   Reporter:  micha                             |              Owner:  cfarmer      
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.4.0
  Component:  Python plugins and bindings       |            Version:  1.3.0        
   Keywords:  CRS                               |   Platform_version:  all          
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 When adding a shapefile which does not have a *.prj attached, QGIS
 determines the CRS for that layer either by the Global CRS (in
 Settings->Options->CRS) or by the user choosing the CRS.
 In order to then add the correct *.prj file to that shapefile, the fTools
 "Define Current Projection" should be used. However, the tool fails with
 the error: "Identical output coordinate reference system".
 In other words, you '''cannot''' create a *.prj for a shapefile when the
 CRS chosen on loading the shapefile is the same CRS that should be saved
 to the *.prj.

 Correct behavior should be: [[BR]]

 Once the shapefile is loaded (and it's CRS is known to QGIS by either of
 the above options) the "Define current projection" should just output a
 correct *.prj based on the CRS chosen by the user, with nothing more than
 an information window saying:[[BR]]
  "Creating a *.prj file for xxxx.shp based on CRS...." [[BR]]

 with an OK-Cancel button.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2326>
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