Skip to main content
deleted 1 character in body
Source Link

I think that the raster layer may not display properly if the project's crs is not set.

QgsProject.instance().crs()
# <QgsCoordinateReferenceSystem: invalid>

Setting crs might help.

QgsProject.instance().setCrs(QgsCoordinateReferenceSystem("EPSG:3857"))

(Set the EPSG value to suit your project)

I think that the raster layer may not display properly if the project's crs is not set.

QgsProject.instance().crs()
# <QgsCoordinateReferenceSystem: invalid>

Setting crs might help.

(Set the EPSG value to suit your project)

I think that the raster layer may not display properly if the project's crs is not set.

QgsProject.instance().crs()
# <QgsCoordinateReferenceSystem: invalid>

Setting crs might help.

QgsProject.instance().setCrs(QgsCoordinateReferenceSystem("EPSG:3857"))

(Set the EPSG value to suit your project)

additional description
Source Link

I think that the raster layer may not display properly if the project's crs is not set.

Setting crs might help.

QgsProject.instance().setCrs(QgsCoordinateReferenceSystemcrs("EPSG:3857"))
# <QgsCoordinateReferenceSystem: invalid>

Setting crs might help.

(Set the EPSG value to suit your project)

I think that the raster layer may not display properly if the project's crs is not set.

Setting crs might help.

QgsProject.instance().setCrs(QgsCoordinateReferenceSystem("EPSG:3857"))

(Set the EPSG value to suit your project)

I think that the raster layer may not display properly if the project's crs is not set.

QgsProject.instance().crs()
# <QgsCoordinateReferenceSystem: invalid>

Setting crs might help.

(Set the EPSG value to suit your project)

Source Link

I think that the raster layer may not display properly if the project's crs is not set.

Setting crs might help.

QgsProject.instance().setCrs(QgsCoordinateReferenceSystem("EPSG:3857"))

(Set the EPSG value to suit your project)