Javier,
However using "-ct", swaps the output:
$ 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
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
$ gdal_edit.py -a_srs EPSG:3857 pipeline.tif

Even


--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to