Bug report #4526

Empty Attribute Table if layer in different CRS than project

Added by alobo - almost 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Vectors
Affected QGIS version:master Regression?:No
Operating System:ubuntu 10.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:14444

Description

Having On the Fly Reprojection activated, the Attribute Table of a
layer that is on a different CRS than the project is displayed as
empty
(while Styling according to values in the table actually works). Using
Ubuntu 10.04 LTS and qgis 1.7.1.
On the attached picture, the empty table corresponds to the layer on Geographic coordinates WGS84,
while the populated table corresponds to the same layer having been reprojected as Google Mercator
through Save As,,, The CRS of the project is Google Mercator.
Confirmed on ubuntu 10.04 only

Agus

att_tableCRSonthefly1.jpeg (384 KB) alobo -, 2011-11-13 07:36 AM

History

#1 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.2 to Version 1.7.3

#2 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.3 to Version 1.7.4

#3 Updated by Giovanni Manghi over 7 years ago

  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to master
  • Priority changed from 6 to Normal
  • Status changed from Open to Feedback

Hi Agus,

I tested to try replicate the issue, but I wasn't able. Sounds like a local problem or something that may have gone in more recent release. Please give it a try and report back, eventually attaching sample data and exact steps to replicate.

#4 Updated by stefano nardone over 7 years ago

I have the same malfunction added by Agus, and can confirm that it happens also now with Version 1.7.3, and from several past versions too (can't be able to say if ever worked for me in the past or not, from my memory it always worked in this way).

Working on Windows XP.

#5 Updated by Jürgen Fischer over 7 years ago

Giovanni Manghi wrote:

I tested to try replicate the issue, but I wasn't able. Sounds like a local problem or something that may have gone in more recent release. Please give it a try and report back, eventually attaching sample data and exact steps to replicate.

That probably only happens when you set the attribute table to "Show features in current canvas". There OTFR was not considered - fixed in 39e4c163c9bdeb8a7ee5df0a59bb5d37a2985540 (master).

#6 Updated by stefano nardone over 7 years ago

Thank you Jürgen, that is! unselecting "Show features in current canvas" let see the attribute table content also when reprojected.

#7 Updated by Jürgen Fischer over 7 years ago

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

Also available in: Atom PDF