Bug report #11512

DBManager layer not projecting properly

Added by Gavin Fleming about 10 years ago. Updated over 9 years ago.

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

Description

My Canvas is set to EPSG:4326 and I add this query layer in UTM from DBManager.

select gid,st_simplify(st_transform(the_geom,32733),100) from roads;

It draws close to the original road lines but with a shift of several metres. If I then use the normal methods to set the canvas CRS it draw perfectly but it doesn't seem to be picking up the full CRS definition or is not implementing it properly upon initial load.

History

#1 Updated by Jürgen Fischer about 10 years ago

  • Subject changed from DBManager laye not projecting properly to DBManager layer not projecting properly

#2 Updated by Giovanni Manghi about 10 years ago

  • Status changed from Open to Feedback
  • Category changed from DB Manager to Projection Support

I cannot replicate the issue... anymore. I must admit that I tested a few days ago on 2.4 and seen it (using a piece of OSM data from South Africa), but now I tested again on 2.6/master on Windows and Linux and it seems ok. PS Of course to compare original and transformed geometries I have not used the st_simplify function.

#3 Updated by Giovanni Manghi over 9 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

closing for lack of feedback.

Also available in: Atom PDF