Bug report #10916

Projection error?

Added by James Harvey about 10 years ago. Updated about 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Projection Support
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:19279

Description

I recently upgraded my QGIS Desktop development version to 2.5 Master. c05e5e2

I noticed that one of my layers is way off projection - it has been fine in the past versions of QGIS.

I am using EPSG:2193 - NZGD2000 / New Zealand Transverse Mercator 2000.
My CRS is set the same and the layers are set to project to that. MY CRS in the bottom right of my vew is also set to 2193.

I have a New Zealand outline shp layer and a Bathymetry area shp layer. It is the Bathymetry layer that appears that it has moved and does not align even though the CRS both match.

The only thing I can think of is that the update I did to the development version threw it out for some reason.

I will try and test this further, but if some more experienced users or local NZ users are out there that can give some feedback on this issue, then that would be great.

History

#1 Updated by Giovanni Manghi about 10 years ago

  • Status changed from Open to Feedback

please attach a sample project with data.

#2 Updated by James Harvey about 10 years ago

Here is a test file that I made up from start that I get the same error. I have added the NZ area coastline, a 200 mile economic zone and bathymetry layer. They are all set to EPSG:2193. The project is set to 2193 and the viewer is set to 2193, but they don't align together.

In the past I have managed to get the bathymetry and the NZ coastline to show together correctly with this setting.

I might do another test using a different projection if I can find one similar. Maybe a NZ user out there can fill me in on a similar projection that might work better.

I have a public drop box link. Just over 10mb so it can't be attached.

[[https://dl.dropboxusercontent.com/u/27839624/QGIS_Tests/QGIS_NZ_2193_Test.rar]]

#3 Updated by Giovanni Manghi about 10 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed

James Harvey wrote:

Here is a test file that I made up from start that I get the same error. I have added the NZ area coastline, a 200 mile economic zone and bathymetry layer. They are all set to EPSG:2193. The project is set to 2193 and the viewer is set to 2193, but they don't align together.

In the past I have managed to get the bathymetry and the NZ coastline to show together correctly with this setting.

I might do another test using a different projection if I can find one similar. Maybe a NZ user out there can fill me in on a similar projection that might work better.

I have a public drop box link. Just over 10mb so it can't be attached.

[[https://dl.dropboxusercontent.com/u/27839624/QGIS_Tests/QGIS_NZ_2193_Test.rar]]

in your project the layers that won't align are defined to have the CRS

EPSG:2193 - NZGD2000 / New Zealand Transverse Mercator 2000

when in fact they are

4167 - NZGD2000

If you re-add your layers (or manually change their CRS) it will be ok.

#4 Updated by James Harvey about 10 years ago

I tried re importing as 2193 but still had an some issues - redraw as well showed the layer as boxes only, but I then gave 3857 a go and it worked out better with reprojection. Good enough for what I need.

Thanks.

Also available in: Atom PDF