[Qgis-user] Re: Projection of Shapefile export

custard custard at westnet.com.au
Thu Mar 17 20:25:24 PDT 2011


Hi Brett,
I'd forgotten to check this recently. I may have been distracted by being able to reproject images.

>From a quick test with the dev version isn't (r15530) and a set of single point shape files in AMGz51, MGAz51 and WGSz51s.
- the AMGz51 point won't display in MGAz51 or WGSz51s.
    QGIS puts up a window saying "Could not draw ShapeFile because:" and not giving a reason.
    The debug information says: "failed with error: failed to load datum shift file"

- the MGAz51 and WGSz51s points won't display in AMGz51 and fail with the same set of errors.

More debug available if anyone wants it.

-ramon.


(and if anyone mentions custom CRS, firstly I'll yell loudly, and try 
and say politely that if a datum is in the list it should either work, 
or not be in there. It should definitely work with the big feature that brings people like me to QGIS over any of the other OS GIS packages - OTF.)

----- Original Message -----
From: Brett Adams 
To: qgis-user at lists.osgeo.org
Sent: Fri, 18 Mar 2011 09:57:32 +0800 (WST)
Subject: Re: [Qgis-user] Re: Projection of Shapefile export



  
    
  
  
    Not that I'm aware of Matt. I'm running the same system as you.

    

    Rumoured to be fixed on the upcoming major release of 1.7.

    

    Brett

    

    

    

    On 17/03/2011 1:04 PM, Matt Boyd wrote:
    
      Has there been any progress on this in the osgeo installer? I just
installed qgis on a windows 7 machine and I think I'm getting a
mismatch.

Thanks
Matt

On Wed, Oct 6, 2010 at 10:21 AM, Brett Adams
 wrote:

      
        That's unfortunate. Good to know its repeatable.  At least the problem has
been isolated and we know what's required to get it fixed (or so I think).

Time to find some professional help. I'll keep you informed.

Brett

On 5/10/2010 11:36 AM, Roland Hill wrote:

Brett,

I am using Linux and from a previous email I think Ken is as well. Yes, it
is working on my Linux system.

I tried installing QGIS onto a Windows 7 system using both the Standalone
and OsGeo installers. In both cases I couldn't get it to work correctly. The
standalone installer version placed AGD66 and GDA94 versions of my test
point 11m apart when it should be more like 200m. The OsGeo version just
refused to display the AGD66 point.

I am not sure where to go with it on Windows. I haven't used it for a long
time. Maybe someone more familiar with the Windows setup can help.

Cheers,

Roland



--
ROLAND HILL
Director
Four Winds Technology Pty Ltd
Ph/Fax :  +61 (0)2 6366 9425
Mobile :  +61 (0)41 880 7472
Roland.Hill at fourwindstechnology.com.au

Privacy and Confidentiality Notice
The information contained herein and any attachments are intended solely for
the named recipients. It may contain privileged confidential information. If
you are not an intended recipient, please delete the message and any
attachments then notify the sender of miss-delivery. Any use or disclosure
of the contents of either is unauthorised and may be unlawful. All liability
for viruses are excluded to the fullest extent permitted by law.

On 04/10/10 17:06, Brett Adams wrote:

Roland / Ken,

Sorry to disappear like that. Got called into the dessert for a few days.

I tried loading these new files up but can't get them to work. All three
projections are now plotting in exactly the same place.

Ran a search on the QGIS directory and replaced the AGD84 / AGD66 gsb files
with the new ones. Also replaced the srs.db file.

I'm assuming you both got this to work. Am I missing a step?

Brett



On 24/09/2010 7:25 PM, Roland Hill wrote:

Ken / Brett,

The only thing we know for certain is that we are all out of our depths!
Regardless, I think we are on the way to solving this.

Please find a new srs.db here http://dl.dropbox.com/u/9546967/srs.db. The
new file incorporates both towgs84 parameters and a reference to the
distortion files. The distortion file values appear to take precedence, but
I have included the towgs84 parameters as it looks like the AGD84 distortion
files do not cover the states and territories that did not adopt AGD84. Note
that I have changed the AGD66 towgs84 parameters to national ones
(previously ACT) according to this document (page 31)
http://www.icsm.gov.au/gda/gdatm/gdav2.3.pdf.

To use the distortion files you need to place these files
http://dl.dropbox.com/u/9546967/agd66.gsb
http://dl.dropbox.com/u/9546967/agd84.gsb in your Proj data directory
(/usr/share/proj on Linux). It is the directory containing the 'epsg' and
'proj_def.dat' files. Make sure that this is the directory your Proj
installation is actually using by checking the contents of the PROJ_LIB
environment variable (echo $PROJ_LIB). It may not be set, which is OK. It
took me about 4 hours to figure out I had set it to an old development
directory several years ago!

Note that I did try it without the +wktext parameter. It works in Proj
(using cs2cs), but QGIS needs it.

Let me know how it goes on your test points.

Cheers,

Roland


--
ROLAND HILL
Director
Four Winds Technology Pty Ltd
Ph/Fax :  +61 (0)2 6366 9425
Mobile :  +61 (0)41 880 7472
Roland.Hill at fourwindstechnology.com.au

Privacy and Confidentiality Notice
The information contained herein and any attachments are intended solely for
the named recipients. It may contain privileged confidential information. If
you are not an intended recipient, please delete the message and any
attachments then notify the sender of miss-delivery. Any use or disclosure
of the contents of either is unauthorised and may be unlawful. All liability
for viruses are excluded to the fullest extent permitted by law.

On 24/09/10 07:27, Ken Norris wrote:

Roland,
I incorporated your srs.db but the translation falls about 30m short (in
Melbourne) and about the same distance out at a control point in southern
Tasmania.
I see you use the National parameters that '... have an estimated accuracy
of about 1 metre.' and are most accurate around Canberra (surprise).
Geoscience recommend use of their distortion tables (xxx.gsb) for more
accurate work Australia-wide.
Can you incorporate the parameter reference to the distortion tables in the
srs.db? I, like Brett, am out of my depth here.
Regards
Ken


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user



--
Brett Adams
Spinifex Geophysics
0438 861 974
SKYPE:brettadams_spinifex

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user



      
      _______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


    
    

    

    -- 

      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/20110318/f03f74fd/attachment.html>


More information about the Qgis-user mailing list