Hi,<br><br>I've seen that there are quite a lot of messages on this problem, but none of them helped. When running the following command:<br><br> gdalwarp -rpc raw.tif out.tif<br><br>with a raw.tif and raw.rpb file, the image "orthorectifies" correctly. The moment I run:<br>
<br> gdalwarp -rpc -to RPC_DEM=dem.tif raw.tif out.tif<br><br>I get the following error:<br><br> ERROR 1: Too many points (441 out of 441) failed to transform, unable to compute output bounds.<br><br>I've attached the info of raw.tif. Does anyone know what went wrong, and is this beacuse of DEM, or is it another problem?<br>
<br>Thanks<br>Chris<br><br><br><br><br><br><br><br>Driver: GTiff/GeoTIFF<br>Files: raw.tif<br> raw.rpb<br>Size is 9628, 8447<br>Coordinate System is:<br>GEOGCS["WGS 84",<br> DATUM["WGS_1984",<br>
SPHEROID["WGS 84",6378137,298.257223563,<br> AUTHORITY["EPSG","7030"]],<br> AUTHORITY["EPSG","6326"]],<br> PRIMEM["Greenwich",0],<br>
UNIT["degree",0.0174532925199433],<br> AUTHORITY["EPSG","4326"]]<br>Origin = (30.913295622484902,-24.802523524387549)<br>Pixel Size = (0.000067480021901,-0.000067480021901)<br>Metadata:<br>
AREA_OR_POINT=Area<br>Image Structure Metadata:<br> INTERLEAVE=PIXEL<br>RPC Metadata:<br> LINE_OFF=4080<br> SAMP_OFF=4576.5<br> LAT_OFF=-25.0395787325761<br> LONG_OFF=31.1554993454694<br> HEIGHT_OFF=0<br> LINE_SCALE=3914.5<br>
SAMP_SCALE=4294<br> LAT_SCALE=1<br> LONG_SCALE=1<br> HEIGHT_SCALE=4.5035996273705e+15<br> LINE_NUM_COEFF=-0.145866801707571 -1.10329711280747 -3.86239597262447 +2.58933660668099e-10 -28.872773220706 +2.68554381444917e-11 +2.66066678274063e-13 +0.233414015098293 -1.76613654297724 +6.43648576886715e-14 +1.49832649397565e-14 -0.206809394779316 +0.550008018810227 +5.15954998919738e-15 +4.01585276272362 +5.22420802294871 -1.73715368640512e-16 +1.01499936423132e-19 -3.38302233536952e-25 +0<br>
LINE_DEN_COEFF=+1 +7.63015898979327 +0.544533603046993 +0 -0.173000384439342 +0 +0 -1.00151575139611 -1.37010848384519 +0 +0 -0.202476730291588 +0.437634611086632 +0 -0.87007813002919 -0.375773326407855 +0 +0 +0 +0<br> SAMP_NUM_COEFF=-0.231718719424942 +1.76982471507257 -0.14795750431688 -4.73119373784374e-10 +2.13811836283462 -3.85268609241549e-12 -2.35309943560894e-12 +25.3990915415468 +0.254311877067769 -2.89679792247779e-14 -8.37241260945736e-14 -2.08642871782854 -2.73075356366074 -3.49988405044981e-16 +0.172374026544827 -0.0126270588964211 -1.11561975938353e-16 +1.4727767628272e-19 +5.24269370859074e-25 +0<br>
SAMP_DEN_COEFF=+1 +7.29237513919745 +0.620858828859381 +0 +0.081413241118419 +0 +0 -0.640261879817039 -0.844565609956026 +0 +0 +0.357196796854916 +0.0314112080522133 +0 +0.0594674065444518 +0.355916093810033 +0 +0 +0 +0<br>
Corner Coordinates:<br>Upper Left ( 30.9132956, -24.8025235) ( 30d54'47.86"E, 24d48' 9.08"S)<br>Lower Left ( 30.9132956, -25.3725273) ( 30d54'47.86"E, 25d22'21.10"S)<br>Upper Right ( 31.5629933, -24.8025235) ( 31d33'46.78"E, 24d48' 9.08"S)<br>
Lower Right ( 31.5629933, -25.3725273) ( 31d33'46.78"E, 25d22'21.10"S)<br>Center ( 31.2381444, -25.0875254) ( 31d14'17.32"E, 25d 5'15.09"S)<br>Band 1 Block=9628x1 Type=UInt16, ColorInterp=Gray<br>
Band 2 Block=9628x1 Type=UInt16, ColorInterp=Undefined<br>Band 3 Block=9628x1 Type=UInt16, ColorInterp=Undefined<br><br>