[Qgis-user] Projection of Shapefile export

custard custard at westnet.com.au
Tue Mar 22 21:58:20 PDT 2011


Brett, 

If you grab this zip file: 
http://members.westnet.com.au/ramon_et_al/BrettTest.zip 

In this zip file is your csv, a bundle of derived shape files, a 1.7 QGIS project (which will probably make 1.6 crash - but the shape files are good) and a folder with a few images. 

The images are from the project, with projection set to MGA94 zone 51, but I have switched between GDA94, ADG66/84, WGS84 and the equivilent zone 51s, with OTF on. 

The images show the points with OTF on and off, and zoomed in. 

Are these close enough for your purposes? 

The folder I gave for standalone should be right, but this method (for reasons I don't understand) doesn't seem to work on 1.6 standalone under WinXP. (I'm hoping it's a 1.6 thing, and not an osgeos/standalone thing) 

-ramon. 

----- Original Message ----- 
From: "Brett Adams" <badams at spinifexgeophysics.com.au> 
To: qgis-user at lists.osgeo.org, "Ramon Andinach" <custard at westnet.com.au> 
Sent: Wednesday, 23 March, 2011 8:20:43 AM GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi 
Subject: Re: [Qgis-user] Projection of Shapefile export 

Ramon, 
Attached CSV contains grid coordinates in 4 different projections; AGD66, AGD84, GDA94 and WGS84. All zone 51 and 51S 

The conversions were calculated using Mapinfo. Conversions can vary up to 1-2m depending on the parameters used so don't be too surprised if you can't replicate these exactly. 

These are the same points attached to Bug Ticket 3099. 

Brett 



On 22/03/2011 6:37 PM, Ramon Andinach wrote: 

On 21/03/2011, at 19:51 , Ramon Andinach wrote: 

On 21/03/2011, at 10:21 , Brett Adams wrote: 

I thought this problem merely related to the failure of Australian projections. Projection data doesn't exist, therefore can't be exported with the shape file.

If the points are imported as WGS84 / UTMz51S, then export the shape file, the projection file contains the relevant information. Its all good.

So if the projection issue is fixed, shape files will then export with the required projection information.


As far as I can see, there is no bug here. If anyone can show otherwise, we need to record the bug and create a ticket (if it doesn't exist already) The little bit of information I had before, I just tacked on to the end of your existing ticket.

I was going to put a bit of my spare time during this week into trying to replicate Roland's solution firstly on my home linux machine and then see if I could make that approach work on windows at work.

>From my recollection last time I was trying Ken's solution and a few others like just defining a CRS and couldn't quite get there.

Let you know what eventuates. Short version:
I'm fairly sure that QGIS 1.7 is approximately 2 (fairly large) files away from being able to handle AGD points.

The files are here: http://www.icsm.gov.au/icsm/gda/gdatm/national66.zip and here: http://www.icsm.gov.au/icsm/gda/gdatm/national84.zip and these equate to the missing datum shift files.

In 1.7 as at this afternoon, you need to download them, unzip them rename them to agd66.gsb or agd84.gsb and copy them to:
/usr/share/proj  - for linux users
C:/OSGeo4W/share/proj - for OSGeo windows installs

and that means it should be something like
C:/Program Files/Quantum version/share/proj
for standalone versions (sorry forgot to check before going home - will check in the morning).

Paolo, I know string freeze is tomorrow, but is there any chance that these two files could be included in 1.7? 
They should be under a CC by Atrrib (Australian variant). 
(I can ring up GA tomorrow and confirm if needed. Do any of the Australians on the list know who might be the right person to ask? Just to save me stumbling around in the dark a bit.)

Brett, I also had a problem with QGIS remembering CRS but I'll put that in a different thread. If you had any test files that you wanted me to check, I'd be happy to do so.

-ramon. 


-- 
Brett Adams 
Spinifex Geophysics 
0438 861 974 
SKYPE:brettadams_spinifex 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110323/1ab0e645/attachment.html>


More information about the Qgis-user mailing list