<div dir="ltr"><div class="gmail_default" style="font-size:small">Fixing the code prefix fixed the issue. Thanks Nyall!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Ad proj build: funnily enough, QGIS aboug says "Running against PROJ Rel. 7.0.0, March 1st, 2020"  ... Welcome to the future!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Anita </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 18, 2019 at 9:36 AM Anita Graser <<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 18, 2019 at 4:40 AM Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 15 Nov 2019 at 05:34, Anita Graser <<a href="mailto:anitagraser@gmx.at" target="_blank">anitagraser@gmx.at</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I recently noticed that the expression I used in <a href="https://anitagraser.com/2016/10/09/movement-data-in-gis-2-visualization/" rel="noreferrer" target="_blank">https://anitagraser.com/2016/10/09/movement-data-in-gis-2-visualization/</a> does not work in current QGIS versions anymore. Specifically, I computed the metric length of a line segment by transforming from WGS84 'EPSG:4326' to 'EPSG:54027':<br>
><br>
> length(<br>
>       transform(<br>
>         geometry_n($geometry,@geometry_part_num),<br>
>         'EPSG:4326','EPSG:54027'<br>
>         )<br>
>     )<br>
><br>
> While debugging, I found that the transformation is not applied anymore. (Some other EPSG codes do work though.) However, I couldn't figure out how to get this transformation to work again.<br>
<br>
Is this a proj 6 based build? In any case, EPSG:54027 doesn't exist.<br>
The correct code is "ESRI:54027" (see <a href="https://epsg.io/54027" rel="noreferrer" target="_blank">https://epsg.io/54027</a>). </blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Good catch, different four letters starting with E! The issue appeared on OSGeo4W so I'll have to check if that means proj6 already. Anyway, I'll give the other code a try!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks </div><div class="gmail_default" style="font-size:small">Anita</div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It's<br>
possible that < proj 6 builds had some exception in place for this<br>
particular CRS, but with a proj 6 based build we rely on proj to<br>
interpret CRS auth/id pairs so any exceptions in place for earlier<br>
QGIS versions won't apply anymore.<br>
<br>
Nyall<br>
</blockquote></div></div>
</blockquote></div>