[QGIS-trac] Re: [Quantum GIS] #3017: Save as shapefile in AGD84 CRS

Quantum GIS qgis at qgis.org
Fri Sep 17 07:20:20 EDT 2010


#3017: Save as shapefile in AGD84 CRS
-----------------------------------------------------+----------------------
        Reporter:  micha                             |         Owner:  jef          
            Type:  bug                               |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.6.0
       Component:  Vectors                           |       Version:  1.5.0        
      Resolution:  worksforme                        |      Keywords:  CRS shapefile
Platform_version:  Lenny                             |      Platform:  Debian       
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Changes (by jef):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 Replying to [ticket:3017 micha]:
 > A text file of locations in the AGD84 zone 51 CRS (S. Hemisphere, EPSG
 20351) was imported with the delimited text plugin. The this layer was
 saved as a shapefile, choosing the AGD84 CRS. This resulted in a "Latitude
 or Longitude exceeds limits" error. The global CRS was EPSG:4326.
 > Changing the global CRS to EPSG:20351 does solve the problem and allows
 saving as a shapefile with the correct CRS. But I think this shouldn't
 occur in any global CRS.
 > (checked both on Linux and Windows)

 I can only reproduce the problem, when I don't actually specify the right
 CRS for the delimited text layer (ie. keep it WGS84).   "Saving as" in
 AGD84 then means reprojecting from WGS84 to AGD84 and that leads to the
 PROJ exception as the coordinates are illegal for WGS84.

 When setting the coordinate system of the delimited text layer to AGD84,
 saving as AGD84 works fine.

 I don't think this is a bug.

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