Hi,<br><br>I&#39;ve tried that, but without any success. I have no problem warping the image, that works fine. The problem comes in when I try to warp with the DEM.<br><br>Chris<br><br><br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 1:12 PM, Chaitanya kumar CH <span dir="ltr">&lt;<a href="http://chaitanya.ch">chaitanya.ch</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Chris,<br><br>This could happen when you try to transform an image that is outside the defined area of the destination projection.<br>
Cut the raster to the destination projection&#39;s extents and try again.<br><br>There is a thread with exactly the same error message in the archives[1]. I am not sure that it can help with your case, but try it anyway.<br>

<br><a href="http://lists.osgeo.org/pipermail/gdal-dev/2010-June/024846.html" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/2010-June/024846.html</a><br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Fri, Jul 8, 2011 at 1:08 PM, Goo Creations <span dir="ltr">&lt;<a href="mailto:goocreations@gmail.com" target="_blank">goocreations@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">Hi,<br><br>I&#39;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 &quot;orthorectifies&quot; 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&#39;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[&quot;WGS 84&quot;,<br>    DATUM[&quot;WGS_1984&quot;,<br>


        SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,<br>            AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],<br>        AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br>    PRIMEM[&quot;Greenwich&quot;,0],<br>


    UNIT[&quot;degree&quot;,0.0174532925199433],<br>    AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]<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&#39;47.86&quot;E, 24d48&#39; 9.08&quot;S)<br>Lower Left  (  30.9132956, -25.3725273) ( 30d54&#39;47.86&quot;E, 25d22&#39;21.10&quot;S)<br>Upper Right (  31.5629933, -24.8025235) ( 31d33&#39;46.78&quot;E, 24d48&#39; 9.08&quot;S)<br>


Lower Right (  31.5629933, -25.3725273) ( 31d33&#39;46.78&quot;E, 25d22&#39;21.10&quot;S)<br>Center      (  31.2381444, -25.0875254) ( 31d14&#39;17.32&quot;E, 25d 5&#39;15.09&quot;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>
<br></div></div>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Best regards,<br>
Chaitanya kumar CH.<br>
<br><a href="tel:%2B91-9494447584" value="+919494447584" target="_blank">+91-9494447584</a><br>17.2416N 80.1426E<br>
</font></blockquote></div><br>