<div dir="ltr">Thanks!<br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">.___ ._ ..._ .. . ._. .___ .. __ . _. . __.. ... .... ._ .__<br>Entre dos pensamientos racionales <br>hay infinitos pensamientos irracionales.<br><br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 15 Nov 2021 at 13:54, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.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">
<div>
Javier,
<blockquote type="cite">
<div dir="ltr">
<div>However using "-ct", swaps the output:</div>
<div><span style="font-family:monospace">$ gdalwarp -ct
'+proj=pipeline +step +proj=axisswap +order=2,1 +step +inv
+proj=tmerc +lat_0=44 +lon_0=144.25 +k=0.9999 +x_0=0 +y_0=0
+ellps=GRS80 +step +proj=webmerc +lat_0=0 +lon_0=0 +x_0=0
+y_0=0 +ellps=WGS84' input.tif pipeline.tif<br>
</span></div>
</div>
</blockquote>
You should add -t_srs EPSG:3857 in the above so that gdalwarp knows
that the output SRS is != input SRS, and in particular so that it
knows it axis order. The pipeline specified by -ct will be used even
if -s_srs and/or -t_srs are specify. And then you can remove the
below gdal_edit<br>
<blockquote type="cite">
<div dir="ltr">
<div><span style="font-family:monospace">$ gdal_edit.py -a_srs
EPSG:3857 pipeline.tif<br>
</span></div>
</div>
</blockquote>
<p>Even</p>
<br>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote></div>