Skip to content

QGIS GUI not displaying IAU codes in UI when in PROJ.db #54514

Description

@jlaura

What is the bug or the crash?

Running QGIS 3.32.2 on OS X, installed in a mini-forge env with conda. QGIS does not appear to have projections from the IAU (International Astronomical Union) authority, such as IAU_2015:49910 (Mars, Sphere). These codes were added to proj in version 8.2.1 (or earlier) as per this bug report. When checking proj.db in the QGIS env, I can see that the code are present.

projdb_iau

When searching for the IAU in QGIS, they are not present in the UI.
missing_iau_in_qgis

This was working in an earlier (pre-3.32.x) Conda-forge release. I do not know if this is a packaging issue, because QGIS should just be hitting the proj.db and pulling whatever is in there, without concern for the OS. To attempt to debug I looked in the QGIS preferences and see that the PROJ_DATA environment variable is being set. I tried also setting the PROJ_LIB environment variable, but no change. Interestingly, attempting to add the IAU code to QGIS throws an error that the code already exists.

Steps to reproduce the issue

  1. Set the project CRS to an IAU_2015 code, such as IAU_2015:49910.
  2. That code does not exist, even though it is in the proj.db (see screen shot above).

Versions

3.32.2

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!GUI/UXRelated to QGIS application GUI or User ExperienceProjections/TransformationsRelated to coordinate reference systems or coordinate transformation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions