<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Alessandro,</p>
<p>the truth (and sometimes issues) is in projinfo:</p>
<p>$ projinfo -s EPSG:4258 -t EPSG:4326<br>
Candidate operations found: 1<br>
-------------------------------------<br>
Operation No. 1:<br>
<br>
EPSG:1149, ETRS89 to WGS 84 (1), 1.0 m, Europe - onshore and
offshore: Albania; Andorra; Austria; Belgium; Bosnia and
Herzegovina; Bulgaria; Croatia; Cyprus; Czechia; Denmark; Estonia;
Faroe Islands; Finland; France; Germany; Gibraltar; Greece;
Hungary; Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania;
Luxembourg; Malta; Moldova; Monaco; Montenegro; Netherlands; North
Macedonia; Norway including Svalbard and Jan Mayen; Poland;
Portugal; Romania; San Marino; Serbia; Slovakia; Slovenia; Spain;
Sweden; Switzerland; United Kingdom (UK) including Channel Islands
and Isle of Man; Vatican City State.<br>
<br>
PROJ string:<br>
+proj=noop<br>
<br>
WKT2:2019 string:<br>
COORDINATEOPERATION["ETRS89 to WGS 84 (1)",<br>
VERSION["EPSG-eur"],<br>
SOURCECRS[<br>
GEOGCRS["ETRS89",<br>
ENSEMBLE["European Terrestrial Reference System 1989
ensemble",<br>
MEMBER["European Terrestrial Reference Frame
1989"],<br>
MEMBER["European Terrestrial Reference Frame
1990"],<br>
MEMBER["European Terrestrial Reference Frame
1991"],<br>
MEMBER["European Terrestrial Reference Frame
1992"],<br>
MEMBER["European Terrestrial Reference Frame
1993"],<br>
MEMBER["European Terrestrial Reference Frame
1994"],<br>
MEMBER["European Terrestrial Reference Frame
1996"],<br>
MEMBER["European Terrestrial Reference Frame
1997"],<br>
MEMBER["European Terrestrial Reference Frame
2000"],<br>
MEMBER["European Terrestrial Reference Frame
2005"],<br>
MEMBER["European Terrestrial Reference Frame
2014"],<br>
ELLIPSOID["GRS 1980",6378137,298.257222101,<br>
LENGTHUNIT["metre",1]],<br>
ENSEMBLEACCURACY[0.1]],<br>
PRIMEM["Greenwich",0,<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
CS[ellipsoidal,2],<br>
AXIS["geodetic latitude (Lat)",north,<br>
ORDER[1],<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
AXIS["geodetic longitude (Lon)",east,<br>
ORDER[2],<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
ID["EPSG",4258]]],<br>
TARGETCRS[<br>
GEOGCRS["WGS 84",<br>
ENSEMBLE["World Geodetic System 1984 ensemble",<br>
MEMBER["World Geodetic System 1984 (Transit)"],<br>
MEMBER["World Geodetic System 1984 (G730)"],<br>
MEMBER["World Geodetic System 1984 (G873)"],<br>
MEMBER["World Geodetic System 1984 (G1150)"],<br>
MEMBER["World Geodetic System 1984 (G1674)"],<br>
MEMBER["World Geodetic System 1984 (G1762)"],<br>
MEMBER["World Geodetic System 1984 (G2139)"],<br>
ELLIPSOID["WGS 84",6378137,298.257223563,<br>
LENGTHUNIT["metre",1]],<br>
ENSEMBLEACCURACY[2.0]],<br>
PRIMEM["Greenwich",0,<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
CS[ellipsoidal,2],<br>
AXIS["geodetic latitude (Lat)",north,<br>
ORDER[1],<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
AXIS["geodetic longitude (Lon)",east,<br>
ORDER[2],<br>
ANGLEUNIT["degree",0.0174532925199433]],<br>
ID["EPSG",4326]]],<br>
METHOD["Geocentric translations (geog2D domain)",<br>
ID["EPSG",9603]],<br>
PARAMETER["X-axis translation",0,<br>
LENGTHUNIT["metre",1],<br>
ID["EPSG",8605]],<br>
PARAMETER["Y-axis translation",0,<br>
LENGTHUNIT["metre",1],<br>
ID["EPSG",8606]],<br>
PARAMETER["Z-axis translation",0,<br>
LENGTHUNIT["metre",1],<br>
ID["EPSG",8607]],<br>
OPERATIONACCURACY[1.0],<br>
USAGE[<br>
SCOPE["(null/copy) Approximation for medium and low
accuracy applications assuming equality between plate-fixed static
and earth-fixed dynamic CRSs, ignoring static/dynamic CRS
differences."],<br>
AREA["Europe - onshore and offshore: Albania; Andorra;
Austria; Belgium; Bosnia and Herzegovina; Bulgaria; Croatia;
Cyprus; Czechia; Denmark; Estonia; Faroe Islands; Finland; France;
Germany; Gibraltar; Greece; Hungary; Ireland; Italy; Kosovo;
Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova;
Monaco; Montenegro; Netherlands; North Macedonia; Norway including
Svalbard and Jan Mayen; Poland; Portugal; Romania; San Marino;
Serbia; Slovakia; Slovenia; Spain; Sweden; Switzerland; United
Kingdom (UK) including Channel Islands and Isle of Man; Vatican
City State."],<br>
BBOX[32.88,-16.1,84.73,40.18]],<br>
ID["EPSG",1149],<br>
REMARK["ETRS89 and WGS 84 are realizations of ITRS coincident
to within 1 metre. This transformation has an accuracy equal to
the coincidence figure."]]<br>
<br>
</p>
<p>So basically ETRS89 and WGS 84 are considered the same with a 1
metre accuracy when considering the generic/datum ensemble
versions of EPSG:4258 and EPSG:4326. You might possibly get
time-dependent transformations if considering one of the ETRFxxxx
realization and a WGS 84 (Gyyyy) / ITRFzzzz realization instead.<br>
</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 21/03/2022 à 16:56, Alessandro
Pasotti via QGIS-Developer a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAL5Q673T2q_0crfm_O_qOEryb85wXJrkhrNj_8xBes9wcco37g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>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. <br>
</div>
<div><br>
</div>
<div>The issue can be reproduced from the console too:</div>
<div><br>
</div>
<div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">ct = QgsCoordinateTransform(QgsCoordinateReferenceSystem(4258), QgsCoordinateReferenceSystem(4326), QgsProject.instance().transformContext())
</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">ct.transformBoundingBox(QgsRectangle(4153600, 1296000, 5000000, 2000000))</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">ct.isValid()</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">True
</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">
</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Result:
</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><QgsRectangle: 4153600 1296000, 5000000.00000001396983862 1999999.99999999720603228></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">
</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Any ideas?</p>
</div>
<div><br>
</div>
<div>-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>Alessandro Pasotti</div>
<div>QCooperative: <a
href="https://www.qcooperative.net" target="_blank"
moz-do-not-send="true">www.qcooperative.net</a><br>
</div>
ItOpen: <a href="http://www.itopen.it" target="_blank"
moz-do-not-send="true">www.itopen.it</a></div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>