[QGIS-trac] Re: [Quantum GIS] #2154: Not correctly creating (or reading) proj file for CRS for EPSG 2193

Quantum GIS qgis at qgis.org
Fri Nov 27 09:00:30 EST 2009


#2154: Not correctly creating (or reading) proj file for CRS  for EPSG 2193
-----------------------------------------------------+----------------------
        Reporter:  mesajs                            |         Owner:  nobody       
            Type:  bug                               |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.4.0
       Component:  Projection Support                |       Version:  HEAD         
      Resolution:                                    |      Keywords:  CRS          
Platform_version:  Vista 64                          |      Platform:  Windows      
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by warmerdam):

 Cédric,

 Yes, OGR does strip the towgs84 parameter when writing the .prj file.
 TOWGS84 is not a legal construct in an ESRI Projection Engine string (for
 .prj files).  The Shapefile .prj format does not support preserving
 explicit datum shift values and doing so may make the .prj file unreadable
 in ArcGIS.

 This may have implications for #2123 as well though I did not follow all
 the details of that ticket.

 In general, you cannot depend on OGR formats to preserve spatial
 references in very precise way.  Different formats represent SRSes
 differently and may or may not preserve specific information like datum
 names, datum shift parameters and EPSG associations.  QGIS ought to
 accomodate this as best possible.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2154#comment:8>
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