[Qgis-user] CRS Transfer MGA94 <-> AMG94

Ramon Andinach custard at westnet.com.au
Mon Dec 20 15:23:45 PST 2010


Hello,

I am wanting to take a set of points stored in csv format that are in the projected CRS GDA94/MGA94 zone 51 (MGAz51) and end up with a csv file with the same points in CRS AGD84/AMG zone 51 (AMGz51). Being able to do this is useful for reconstructing some historical datasets that I deal with. 

I was intending to use the following path, but have hit a few problems on the way. These are using qgis 1.6 on win7-64bit by osgeo, and was updated last thursday. At least Problem 1 has been duplicated using qgis 1.6 on ubuntu 10.4, the others I have yet to have an opportunity to test.

1. Import CSV using the Delimited Text Plugin (Problem 1).
2. Save as a shape file in MGAz51.
3. Load shape file
4. Export to AMGz51 using either;
 a. Vector -> Data Management Tools -> Export to New Projection (Problem 2), or
 b. Save As and select a different CRS (Problem 3)
5. Load new shape file.
6. Extract coordinates using Vector -> Geometry Tools -> Export/Add Geometry Columns and then
7. Save As a CSV.

So my first question is, is this path reasonable? Is there a better way?

Problem 1.
I experienced problems importing a text file. In the Delimited Text dialogue box the file appears to be correctly parsed, and I can select the correct X and Y fields (East_MGA94 and North_MGA94 respectively). However on import data is scattered all over the place, and most fields do not have data in the X and Y columns. This is weird, and I don't see why. Could some one explain?

What I really don't get is why this file,
http://members.westnet.com.au/ramon_et_al/files/MGAOnlyAD.csv
does not import correctly when this file:
http://members.westnet.com.au/ramon_et_al/files/MGAOnlyAC.csv
does? There is only one column difference, and it does not remove the columns that would create duplicate headers at an 8 column width.

Problem 2.
Translating from MGA94z51 to GDA94 or WGS84 is successful.
But any of these to AMG84z51 fails silently after creating the shape file.

Equally, AMG84z51 to any of these fails silently.

I don't know what the problem is. If the error is logged somewhere, and someone can tell me where to look I'll hunt it down and post what it says.

For reference I have also tried this on a test file that *only* contains the coordinates, and hence no duplicate headers at 8 character width, and had the same problem.

Problem 3.
Translating  using Save As also fails but gives an error.
Exception : forward transform of 2.11507, -0.524793 failed with error: failed to load datum shift file.

Running from AMG84z51 to MGA94z51 gives a very similar error, except gives the numbers 2.11507, -0.525033


Does anyone have any suggestions?
-ramon.


More information about the Qgis-user mailing list