[gdal-dev] gdalwarp'ing a .tif that streches from 177°9'33.13"E to 172°21' 1.59"W (across anti-meridian)

Jan Knepper jan at knepper.net
Thu Dec 17 12:16:26 PST 2015


Thank you!
That resolved the problem!

Jan

> On Dec 17, 2015, at 15:10, Even Rouault <even.rouault at spatialys.com> wrote:
> 
> Le jeudi 17 décembre 2015 20:53:48, Jan Knepper a écrit :
>> All,
>> 
>> Having an issue getting a particular .tif file to cooperate:
>> 
>> Files:
>> https://www.janknepper.com/aeronav/Western%20Aleutian%20Islands%20East%20SE
>> C%2048.tif
>> https://www.janknepper.com/aeronav/Western%20Aleutian%20Islands%20East%20S
>> EC%2048.tfw
>> 
>> Trying:
>> gdalwarp -wm 4096 "Western Aleutian Islands East SEC 48.tif" -t_srs
>> WGS84 -overwrite "WGS84_Western Aleutian Islands East SEC 48.tif"
>> 
>> Creates an output file that is stretched across the world...
>> 
>> There are no problems with other .tif files processed.
>> 
>> (Cutting it with a shapefile (.json) works fine!)
>> 
>> Have searched around quite a bit, but have not found a solution for this
>> problem.
>> 
>> GDAL 1.11.2, released 2015/02/10
>> 
>> Any help/assistance would be appreciated!
> 
> Add "--config CENTER_LONG 180" to your gdalwarp command line.
> 
> -- 
> Spatialys - Geospatial professional services
> http://www.spatialys.com


More information about the gdal-dev mailing list