diff --git a/Code/IO/otbSHPVectorDataIO.h b/Code/IO/otbSHPVectorDataIO.h index cd4f8c1a1e038f35561cca365219f2f91d3ad05f..3aee2d692e6e3dd1c9f26d5f6c1d065a72341876 100644 --- a/Code/IO/otbSHPVectorDataIO.h +++ b/Code/IO/otbSHPVectorDataIO.h @@ -76,7 +76,6 @@ public: typedef typename Superclass::SpacingType SpacingType; typedef typename Superclass::PointType OriginType; - typedef std::vector<OGRFeature *> OGRFeatureVectorType; /** */ diff --git a/Code/IO/otbSHPVectorDataIO.txx b/Code/IO/otbSHPVectorDataIO.txx index ae2a264a9635993edda45046b8c6a19ba6f8057e..9b29601ac5d35bdc93f1692cf90891fa03e85bde 100644 --- a/Code/IO/otbSHPVectorDataIO.txx +++ b/Code/IO/otbSHPVectorDataIO.txx @@ -745,8 +745,8 @@ void SHPVectorDataIO<TData>::Write(const VectorDataConstPointerType data) OGRGeometryCollection * ogrCollection = NULL; // OGRGeometry * ogrCurrentGeometry = NULL; - TreeIteratorType it(tree); - it.GoToBegin(); +// TreeIteratorType it(tree); +// it.GoToBegin(); // Get the input tree root InternalTreeNodeType * inputRoot = const_cast<InternalTreeNodeType *>(tree->GetRoot()); ProcessNodeWrite(inputRoot, ogrCollection, ogrCurrentLayer, oSRS); @@ -779,7 +779,7 @@ void SHPVectorDataIO<TData>::Write(const VectorDataConstPointerType data) chrono.Stop(); - std::cout<<"SHP VectorDataIO: file saved in "<<chrono.GetMeanTime()<<" seconds. (" << m_Kept << " elements)"<<std::endl; + std::cout<<"SHPVectorDataIO: file saved in "<<chrono.GetMeanTime()<<" seconds. (" << m_Kept << " elements)"<<std::endl; otbMsgDevMacro( <<" SHPVectorDataIO::Write() "); }