Coordinate System – Converting Geotiff Web-Mercator into Azimuthal Equidistant Projection

convertcoordinate systemgeotiff-tiff

I have a geo-referenced tiff file, in the web-mercator projection; and I need it converted to an azimuthal equidistant projection.
I'm new to GIS and can't figure out how to do this.

I'm open to using any program for any OS, as long as it gets the job done.

And as far as OS-specific is concerned, I have computers with : Linux-Debian, Mac OX 10.6.8, Windows 7, and Windows XP.

Best Answer

Your source tif is in Pseudo mercator, but the extent stored inside the file is in degrees. This can not be interpreted correctly by gdalwarp, and so it delivers the untouched source file. You can get the correct extent in pseudo mercator coordinates from https://github.com/mapnik/mapnik/wiki/XMLConfigReference : -20037508.34, -20037508.34, 20037508.34, 20037508.34. With that, you can set the extent with gdal_translate manually before reprojecting.

The target projection is not covered by EPSG, but ESRI has invented a code 102016, which is included in GDAL and QGIS as EPSG:102016:

+proj=aeqd +lat_0=90 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs

You will get nasty artefacts along the 180° meridian, so an extra option SOURCE_EXTRA is needed. A blind spot on the north pole will remain, because pseudo mercator does not cover it:

gdal_translate -a_srs EPSG:3857 -of GTiff -a_ullr -20037508.34 20037508.34 20037508.34 -20037508.34 F:/Download/63575605298.3c.tif F:/Karten/merc_corrected.tif
gdalwarp -overwrite -s_srs EPSG:3857 -t_srs EPSG:102016 -ts 8192 8192 -wo SOURCE_EXTRA=1000 -of GTiff F:/Karten/merc_corrected.tif F:/Karten/world_aeqd.tif

enter image description here