[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 11:53:48 PST 2015
All,
Having an issue getting a particular .tif file to cooperate:
Files:
https://www.janknepper.com/aeronav/Western%20Aleutian%20Islands%20East%20SEC%2048.tif
https://www.janknepper.com/aeronav/Western%20Aleutian%20Islands%20East%20SEC%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!
Thanks!
Jan
gdalinfo:
Driver: GTiff/GeoTIFF
Files: VFR/Western Aleutian Islands East SEC 48.tif
VFR/Western Aleutian Islands East SEC 48.tfw
Size is 16541, 6357
Coordinate System is:
PROJCS["Lambert Conformal Conic",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.2572221010002,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4269"]],
PROJECTION["Lambert_Conformal_Conic_2SP"],
PARAMETER["standard_parallel_1",54.66666666666666],
PARAMETER["standard_parallel_2",49.33333333333334],
PARAMETER["latitude_of_origin",52.16666666666666],
PARAMETER["central_meridian",-177.5],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (-356525.280424734810367,124584.139945717470255)
Pixel Size = (42.333636286889600,-42.333889130987039)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_DATETIME=2015:02:06 11:56:10
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
TIFFTAG_SOFTWARE=Adobe Photoshop CS5 Windows
TIFFTAG_XRESOLUTION=300
TIFFTAG_YRESOLUTION=300
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -356525.280, 124584.140) (177d 9'33.13"E, 53d10'10.08"N)
Lower Left ( -356525.280, -144532.393) (177d26'21.88"E, 50d45'16.40"N)
Upper Right ( 343715.397, 124584.140) (172d21' 1.59"W, 53d10'39.98"N)
Lower Right ( 343715.397, -144532.393) (172d37'14.46"W, 50d45'44.75"N)
Center ( -6404.942, -9974.127) (177d35'36.68"W, 52d 4'36.82"N)
Band 1 Block=16541x1 Type=Byte, ColorInterp=Palette
Color Table (RGB with 256 entries)
More information about the gdal-dev
mailing list