[gdal-dev] Re: gdalwarp: output too big?

Hermann Peifer peifer at gmx.eu
Wed Nov 11 03:16:41 EST 2009


Jennings Jay wrote:

> I expected outputsize-pixels to 
> be [inputsize-pixels * 0.50/0.2986] in both directions, but it is a good 
> bit bigger than that.  Can anybody see why ?
> 
> Input size X, Y (pixels) : 45974,  39526
> Output size X, Y (pixels) : 83468,  72894
> 

This looks reasonable. EPSG:3785 uses Mercator projection, which in 
return has quite some distortion for areas far away from the equator.

http://en.wikipedia.org/wiki/Mercator_projection#Uses

> 
> Can anyone suggest a means 
> to query that info in a BigTIFF ?
> 

I used the gdal configure option:

./configure --with-libtiff=internal

This gave me: "LIBTIFF support: internal (BigTIFF=yes)"

Hermann



More information about the gdal-dev mailing list