When I try to warp the entire world (WGS84) into a UTM zone using gdalwarp, I 
get a black image.

This is not surprising given the valid domain for such a transformation.

The first problem is that the bounding box gets reprojected into outer space 
(again, b/c it is outside the valid domain).  But once I "found" the data, I 
was able to get something quasi-sensible out of GDAL (image attached).  South 
America shows twice, which, although pretty cool, is another reflection of the 
domain problem.

So my question is: How can I tell programmatically whether (1) any given warp 
operation makes sense and (2) what its valid input domain is?

I was surprised to find that the success vector of GDALReprojectionTransform() 
does not return failures for out-of-domain inputs (at least it did not in this 
case).  Is it intended to?

Kirk

<<attachment: world_utm18.jpg>>

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to