Hi,

your shape file doesn't respect TrainImageClassifier convention  :
 "The training vector data must contain polygons with a positive integer
field representing the class label. The name of this field can be set using
the "Class label field" parameter. ."

ypur training polygon must contain an itneger discrimination field :

for example  0 for non labour and 1 for Labour

bye





2014-03-12 15:25 GMT+01:00 Walid Bouceffa <[email protected]>:

> yeah sure,
>
> this is the output of ogrinfo command : http://pastebin.com/EtGr4q6Y
> and this the output of otbcli_TrainImagesClassifier :
> http://pastebin.com/3KMtui7s
>
>  --
> --
> 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.
>

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