Bug report #4100
Text for two CRS dialogues is wrong (swapped)
|Affected QGIS version:||3.6.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14082|
Running trunk, when I have enabled "Settings>Options>CRS>Coordinate Reference System for new layers>Prompt for CRS", if I add a vector layer with no CRS then the dialogue says:
"Specify CRS for layer SOME_FILE_NAME"
When I right-click on a layer and choose "Set layer CRS", even if the layer does have a projection specification, the dialogue says:
"Define this layer's coordinate reference system:
This layer appears to have no projection specification. By default this layer will now have its projection set to that of the project, but you may override this by selecting a different projection below."
These two texts must have been mixed up.
#2 Updated by Alister Hood over 9 years ago
There is a similar issue for raster layers. In this case, the correct text ("This layer appears to have no...") is shown when adding a layer with no CRS, but the same text is incorrectly shown when right-clicking on a layer with a CRS and choosing "Set layer CRS".
#6 Updated by Alister Hood over 8 years ago
It seems that people coming from ArcGIS tend to expect "Specify CRS" to do something completely different. Rather than QGIS treating the data as if it is in the specified CRS, they expect it to do on-the-fly coordinate transformation to the specified CRS, so that calculations etc using that layer are done as if the layer had been transformed to that CRS.
Because of this it might be worth adding to the "Specify CRS for layer SOME_FILE_NAME" an explanation something like "N.B. this means QGIS will treat the layer as if its original data is actually in the specified CRS. It does not transform the data to the specified CRS."
#8 Updated by Médéric RIBREUX over 5 years ago
- Tag set to easy
Hello, bug triage...
still true for QGIS 2.13.
to fix this, we need to:
- modify the default message in QgsGenericProjectionSelector::setMessage
- modify the code of QgisApp::validateSrs to add the previous generic message and also adding the validationHint words.
This should be an easy fix...
#11 Updated by Giovanni Manghi about 2 years ago
- Status changed from Open to Closed
- Resolution set to end of life
End of life notice: QGIS 2.18 LTR