[gdal-dev] RPC and DEM = Too many points (441 out of 441) failed
to transform
Chaitanya kumar CH
chaitanya.ch at gmail.com
Fri Jul 8 07:12:48 EDT 2011
Chris,
This could happen when you try to transform an image that is outside the
defined area of the destination projection.
Cut the raster to the destination projection's extents and try again.
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.
http://lists.osgeo.org/pipermail/gdal-dev/2010-June/024846.html
On Fri, Jul 8, 2011 at 1:08 PM, Goo Creations <goocreations at gmail.com>wrote:
> Hi,
>
> I've seen that there are quite a lot of messages on this problem, but none
> of them helped. When running the following command:
>
> gdalwarp -rpc raw.tif out.tif
>
> with a raw.tif and raw.rpb file, the image "orthorectifies" correctly. The
> moment I run:
>
> gdalwarp -rpc -to RPC_DEM=dem.tif raw.tif out.tif
>
> I get the following error:
>
> ERROR 1: Too many points (441 out of 441) failed to transform,
> unable to compute output bounds.
>
> 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?
>
> Thanks
> Chris
>
>
>
>
>
>
>
> Driver: GTiff/GeoTIFF
> Files: raw.tif
> raw.rpb
> Size is 9628, 8447
> Coordinate System is:
> GEOGCS["WGS 84",
> DATUM["WGS_1984",
> SPHEROID["WGS 84",6378137,298.257223563,
> AUTHORITY["EPSG","7030"]],
> AUTHORITY["EPSG","6326"]],
> PRIMEM["Greenwich",0],
> UNIT["degree",0.0174532925199433],
> AUTHORITY["EPSG","4326"]]
> Origin = (30.913295622484902,-24.802523524387549)
> Pixel Size = (0.000067480021901,-0.000067480021901)
> Metadata:
> AREA_OR_POINT=Area
> Image Structure Metadata:
> INTERLEAVE=PIXEL
> RPC Metadata:
> LINE_OFF=4080
> SAMP_OFF=4576.5
> LAT_OFF=-25.0395787325761
> LONG_OFF=31.1554993454694
> HEIGHT_OFF=0
> LINE_SCALE=3914.5
> SAMP_SCALE=4294
> LAT_SCALE=1
> LONG_SCALE=1
> HEIGHT_SCALE=4.5035996273705e+15
> 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
> 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
> 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
> 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
> Corner Coordinates:
> Upper Left ( 30.9132956, -24.8025235) ( 30d54'47.86"E, 24d48' 9.08"S)
> Lower Left ( 30.9132956, -25.3725273) ( 30d54'47.86"E, 25d22'21.10"S)
> Upper Right ( 31.5629933, -24.8025235) ( 31d33'46.78"E, 24d48' 9.08"S)
> Lower Right ( 31.5629933, -25.3725273) ( 31d33'46.78"E, 25d22'21.10"S)
> Center ( 31.2381444, -25.0875254) ( 31d14'17.32"E, 25d 5'15.09"S)
> Band 1 Block=9628x1 Type=UInt16, ColorInterp=Gray
> Band 2 Block=9628x1 Type=UInt16, ColorInterp=Undefined
> Band 3 Block=9628x1 Type=UInt16, ColorInterp=Undefined
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
Best regards,
Chaitanya kumar CH.
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110708/79c18409/attachment.html
More information about the gdal-dev
mailing list