Bug report #17456

Memory layer crs seems to not be found by the new metadata tab

Added by Harrissou Santanna over 6 years ago. Updated over 6 years ago.

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

Description

Given two epsg:2154 layers, I generate a memory layer using the clip algorithm. The output layer is also reported as in epsg:2154
Looking into the vector layer properties, either Informations or Metadata--> Extent tab, the CRS is not recognized:
  • in Information, the CRS is reported as "projected"
  • in Metadata --> Extent, it's reported as an invalid projection

memory_unrecognized_crs.PNG (14.7 KB) Harrissou Santanna, 2017-11-14 11:54 AM

Associated revisions

Revision b895b743
Added by Etienne Trimaille over 6 years ago

fix #17456 improve CRS display in the metadata tab

Revision d62b4e97
Added by Nyall Dawson over 6 years ago

Merge pull request #5683 from Gustry/metadata_crs

fix #17456 improve CRS display in the metadata tab

History

#1 Updated by Etienne Trimaille over 6 years ago

This setting is coming from the metadata wizard. You didn't set the CRS there. It will not be filled automatically, the user must fill metadata.
But the CRS from the layer is displayed in your screenshot in the "provider" (fournisseur) section.

#2 Updated by Giovanni Manghi over 6 years ago

  • Status changed from Open to Feedback

#3 Updated by Harrissou Santanna over 6 years ago

  • Status changed from Feedback to Open

It will not be filled automatically, the user must fill metadata.

Indeed I didn't set the CRS in metadata wizard. See my comment in #17455#note-5

Wonder if both issues are the same, except the note that there's no consistency in the information provided in the two tabs (invalid vs projected).

#4 Updated by Etienne Trimaille over 6 years ago

I made a PR already https://github.com/qgis/QGIS/pull/5683 to fix the invalid vs projected.
But it still won't fill metadata automatically

#5 Updated by Etienne Trimaille over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF