Good day, I am using an attributesmaplabelobjectwithclasslabel as labelobject type... I insert computed attributes into my labelmap and then use LabelMapToVectorDataFilter and then the attributes are NOT transfered into the shapefile...
What is wrong? typedef otb::VectorData<double,2,double> VectorDataType; typedef otb::Functor::LabelObjectWithClassLabelFieldsFunctor<FLSTReconstructFilterType::LabelObjectType> LabelObjectFieldsFunctorType; typedef otb::LabelMapToVectorDataFilter<FLSTReconstructFilterType::LabelMapType, VectorDataType, LabelObjectFieldsFunctorType> LabelMapToVectorDataFilterType; LabelMapToVectorDataFilterType::Pointer lm2vdFilter = LabelMapToVectorDataFilterType::New(); LabelObjectFieldsFunctorType functor = LabelObjectFieldsFunctorType(); lm2vdFilter->SetInput(reconstructFilter->GetLabelMap()); lm2vdFilter->Update(); Thank you! DD -- -- 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.
