[gdal-dev] ERROR 1: Too many points (440 out of 441) failed to transform, unable to compute output bounds.

Frank Warmerdam warmerdam at pobox.com
Thu Feb 10 16:50:19 EST 2011


On 11-02-10 01:43 PM, Hailey Eckstrand wrote:
> But the stays the same:
> ERROR 1: Too many points (440 out of 441) failed to transform,
> unable to compute output bounds.

Hailey,

I tried with your file and with debugging on and saw the following message:

   WARP: Recompute out extent with CHECK_WITH_INVERT_PROJ=TRUE

I read through the code in gdalwarp.cpp and it seems this is something
added, perhaps by Even, to check that the output area selected is appropriate
and can be effectively reprojected.  I tested a few points between the somerc
projection and WGS84 with the PROJ.4 "cs2cs" command and found there was often
poor fidelity - likely indicating that points were being transformed that
are far outside the well defined area for the projection.

I did successfully run your gdalwarp command by adding:

   --config CHECK_WITH_INVERT_PROJ FALSE

on the commandline, but I'm not convinced that the results are actually
very accurate or meaningful.  I'd suggest you reconsider whether you really
want to try and warp nearly the whole world to a swiss oblique mercator
projection.

Possibly Even could consider improving the error reporting in this case
if the issue is really that the transformation is not round tripping well.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list