Hi,

I agree this is not documented correctly. Can you open a documentation request 
in gitlab (www.gitlab.orfeo-toolbox.org<http://www.gitlab.orfeo-toolbox.org>, 
open an issue with the documentation template) so that we keep track of it ?

According to code : 
https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/blob/develop/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx#L137

The format should be x y lon lat (separated by spaces)

The z field is currently retrieved from an external DSM that you can set with 
–elev.dem (do not forget to also add a the geoid file –elev.geoid ). We could 
easily patch the code to also support the case where the z field is provided. 
Can you file a feature request as well ?

Regards,

Julien

De : [email protected] [mailto:[email protected]] De la part 
de PhuongHX
Envoyé : jeudi 22 mars 2018 06:16
À : otb-users <[email protected]>
Objet : [otb-users] GenerateRPCSensorModel Error


Hello all,
I try to run the Generate RPC Sensor Model but has found an error in the log.
I don't know how to fix it
Here is my example of tie point, full point attachment file
11885847.80058982782065868,1193436.35299684409983456,106.77561654270384395,10.65910942807095552
11886563.03148019686341286,1191977.08330521709285676,106.78206720838360866,10.64644966640341472
11886565.68048349395394325,1192369.13579327845945954,106.78218799322958432,10.64977879872028055
11893423.95002126693725586,1190022.11887150607071817,106.84390150046394297,10.62972096523748888

And Log message
2018-03-22 11:42:51 (INFO): otbcli_GenerateRPCSensorModel.bat -outgeom 
D:/FIMO/SaiGon/rpc -inpoints D:/FIMO/SaiGon/ponits.txt -map wgs

2018-03-22 11:42:51 (INFO): Elevation management: setting default height above 
ellipsoid to 0 meters
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18858e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18866e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18866e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18934e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.1893e+07, y=8.40891e-312, z=0, 
lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18899e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18921e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18889e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18856e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18854e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.1883e+07, y=8.40891e-312, z=0, 
lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18807e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18804e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18808e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.188e+07, y=8.40891e-312, z=0, 
lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18792e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18931e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18938e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.1892e+07, y=8.40891e-312, z=0, 
lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18914e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18844e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18831e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.1882e+07, y=8.40891e-312, z=0, 
lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18919e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18919e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18813e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18798e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18784e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18769e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18776e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18962e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18942e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Adding tie point x=1.18955e+07, y=8.40891e-312, 
z=0, lon=0, lat=6.95202e-310
2018-03-22 11:42:51 (INFO): Optimization in progress ...
2018-03-22 11:42:51 (INFO): Done.

2018-03-22 11:42:51 (INFO): Estimation of final accuracy:

2018-03-22 11:42:51 (INFO): Overall Root Mean Square Error: -nan(ind) meters
2018-03-22 11:42:51 (INFO): X Mean Error: -nan(ind) meters
2018-03-22 11:42:51 (INFO): X standard deviation: -nan(ind) meters
2018-03-22 11:42:51 (INFO): X Root Mean Square Error: -nan(ind) meters
2018-03-22 11:42:51 (INFO): Y Mean Error: -nan(ind) meters
2018-03-22 11:42:51 (INFO): Y standard deviation: -nan(ind) meters
2018-03-22 11:42:51 (INFO): Y Root Mean Square Error: -nan(ind) meters
2018-03-22 11:42:51 (INFO): Execution took 0.39 sec

Looking forward to guide fixes.
Thanks a lot.
Best regards,
PhuongHX

--
--
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]<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]<mailto:[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]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
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