Hi,

I'm not sure if this is a local issue on my dev env or if it is a real
issue, I have a raster layer in EPSG:4258 ('ETRS89') from copernicus and
the project's CRS is 4326, the transformation silently fails and the raster
is not reprojected.

The issue can be reproduced from the console too:

ct = QgsCoordinateTransform(QgsCoordinateReferenceSystem(4258),
QgsCoordinateReferenceSystem(4326),
QgsProject.instance().transformContext())

ct.transformBoundingBox(QgsRectangle(4153600, 1296000, 5000000, 2000000))

ct.isValid()

True


Result:

<QgsRectangle: 4153600 1296000, 5000000.00000001396983862
1999999.99999999720603228>


Any ideas?

-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to