[gdal-dev] gdal2tiles and EPSG:27700

Javier Jimenez Shaw j1 at jimenezshaw.com
Mon Nov 15 05:29:13 PST 2021


Thanks!
.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.



On Mon, 15 Nov 2021 at 13:54, Even Rouault <even.rouault at spatialys.com>
wrote:

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211115/fff33a29/attachment.html>


More information about the gdal-dev mailing list