I am batch orthorectifying a group of NITFs to Geotifs using 
otbcli_orthorectification in OSGeo4W shell and have the issue below with 
some NTFs.

Entering the command:
>>>otbcli_OrthoRectification -io.in "C:\SourceData\TestImage.NTF" -io.out 
"C:\SourceData\TestImageOrtho.tif?&gdal:co:BIGTIFF=IF_NEEDED" 
int16 -elev.dem "c:\SourceData\dted" -opt.gridspacing 5

Returns:
>>>Application.logger  (FATAL) Deformation grid degenerated (size of 0). 
You shall set opt.gridspacing appropriately. opt.gridspacing units are the 
same as outputs.spacing units <date> :  Application.logger  (FATAL) The 
following error occurred during application execution : 
..\..\..\..\src\OTB-4.2.1\Applications\Projections\otbOrthoRectification.cxx:710:itk::ERROR:
 
Fatal error caught. Aborting...

In an attempt to find a workaround or discover the problem cause, I turned 
to Global mapper to examine the metadata. I set and varied the output 
parameters  (-outputs.spacingx  -outputs.spacingy, 
-outputs.sizex,-outputs.sizey y_size, 
-opt.gridspacing) in case the information wasn't being read properly from 
the header or in case there was something funny happening like dividing by 
zero. The description of the error is here, 
https://github.com/echristophe/OTB/blob/master/Applications/Projections/otbOrthoRectification.cxx
.

Out of a group of NITFs, this error occurs on ~10% of the datasets, all 
acquired from the same source.

Has anyone experienced the same problem? 

Thanks,
One-month OTB user

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to