[QGIS-trac] Re: [Quantum GIS] #1875: A few problems with crs definitions with TOWGS parameters

Quantum GIS qgis at qgis.org
Wed Aug 19 10:22:33 EDT 2009


#1875: A few problems with crs definitions with TOWGS parameters
--------------------------------------------------------------+-------------
        Reporter:  lutra                                      |         Owner:  homann       
            Type:  bug                                        |        Status:  closed       
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.2.0
       Component:  Projection Support                         |       Version:  HEAD         
      Resolution:  fixed                                      |      Keywords:               
Platform_version:                                             |      Platform:  All          
        Must_fix:  No                                         |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by homann):

 So, it appears that the WKT your v.out.ogr module wrote isn't translatable
 by OGR itself, or rather it does not represent EPSG 27200.

 "epsg_tr.py -pretty_wkt 27200" results below:

 ---
 PROJCS["NZGD49 / New Zealand Map Grid",
     GEOGCS["NZGD49",
         DATUM["New_Zealand_Geodetic_Datum_1949",
             SPHEROID["International 1924",6378388,297,
                 AUTHORITY["EPSG","7022"]],
             TOWGS84[59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993],
             AUTHORITY["EPSG","6272"]],
         PRIMEM["Greenwich",0,
             AUTHORITY["EPSG","8901"]],
         UNIT["degree",0.01745329251994328,
             AUTHORITY["EPSG","9122"]],
         AUTHORITY["EPSG","4272"]],
     UNIT["metre",1,
         AUTHORITY["EPSG","9001"]],
     PROJECTION["New_Zealand_Map_Grid"],
     PARAMETER["latitude_of_origin",-41],
     PARAMETER["central_meridian",173],
     PARAMETER["false_easting",2510000],
     PARAMETER["false_northing",6023150],
     AUTHORITY["EPSG","27200"],
     AXIS["Easting",EAST],
     AXIS["Northing",NORTH]]
 ---

 So why do you belivee that QGIS is wrong? The suppplied WKT is not the
 same as what OGR thinKS EPSG 27200 should be.

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