Skip to content

QgsCoordinateReferenceSystem constructor is deprecated #139

Description

@billgeo

Get this warning while add the NZ Topo50 Maps WMTS layer on QGIS 3.16 MacOS Big Sur 11.3

warning:/Users/bmnelson/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/linz-data-importer/linz_data_importer.py:761: DeprecationWarning: QgsCoordinateReferenceSystem constructor is deprecated
              crs = QgsCoordinateReferenceSystem(
             
             traceback: File "/Users/bmnelson/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/linz-data-importer/linz_data_importer.py", line 784, in import_dataset
              self.set_project_srid()
              File "/Users/bmnelson/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/linz-data-importer/linz_data_importer.py", line 761, in set_project_srid
              crs = QgsCoordinateReferenceSystem(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions