i solved my problem by using the VectorLayerClassifier.

Le lundi 15 mai 2017 16:22:36 UTC+2, Salah eddine AIT AHTMAN a écrit :
>
> Hi, 
>
> I'm trying to get the classification (OGRLayerClassifier) of my vector 
> layer outcome from the LSMS Segmentation by using an svm model generated 
> with TrainVectorClassifier , but when i run the processing i get ERROR 1: 
> Invalid index : -1
>
> there is my shell command:
>  "
>
> *otbcli_OGRLayerClassifier -inshp LSMSSegmentation.shp -instats 
> meanVar.xml -insvm svm_model.svm -feat meanB0 meanB1 meanB2 -cfield 
> predicted "*Thanks for reply
> Salah eddine.
>
>

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