Hi, it could be a typo error in your command line with the character '-' before the 'vec' parameter.
I see '–vec' in your command line but it should be '-vec' (replace em quad by en quad). 2016-10-25 14:27 GMT+02:00 michel M <michelinr...@gmail.com>: > > hi > > I have a problem with the command > $ > /d/orfeo/OTB-5.6.1-win32/OTB-5.6.1-win32/bin/otbcli_PolygonClassStatistics.bat > -in alldate.tif -field code –vec traintest.shp -out training_stats.xml > ERROR: Missing mandatory parameter: vec 0 > ERROR: Troubles loading parameter, please check your line argument... > This is the PolygonClassStatistics application, version 5.6.1 > Computes statistics on a training polygon set. > > Complete documentation: http://www.orfeo-toolbox.org/Applications/ > PolygonClassStatistics.html > > Parameters: > -progress <boolean> Report progress > -in <string> InputImage (mandatory) > -mask <string> InputMask (optional, off by default) > MISSING -vec <string> Input vectors (mandatory) > -out <string> Output Statistics (mandatory) > -field <string> Field Name (optional, on by default, > default value is class) > -layer <int32> Layer Index (optional, on by default, > default value is 0) > -ram <int32> Available RAM (Mb) (optional, off by > default, default value is 128) > -inxml <string> Load otb application from xml file > (optional, off by default) > > Examples: > otbcli_PolygonClassStatistics -in support_image.tif -vec > variousVectors.sqlite -field label -out polygonStat.xml > > can you help me ? > many thanks > > > -- > -- > 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 otb-users@googlegroups.com > To unsubscribe from this group, send email to > otb-users+unsubscr...@googlegroups.com > 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 otb-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Manuel Grizonnet -- -- 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 otb-users@googlegroups.com To unsubscribe from this group, send email to otb-users+unsubscr...@googlegroups.com 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 otb-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.