//This test verify only some geom data (shp+shx) without any dbf reading/writing
{
- DEBTRACE("aFFileName: " << aFFileName.toStdString());
- DEBTRACE("aSFileName: " << aSFileName.toStdString());
+ //DEBTRACE("aFFileName: " << aFFileName.toStdString());
+ //DEBTRACE("aSFileName: " << aSFileName.toStdString());
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
HYDROData_ShapeFile anImporter;
QStringList PolygonList;
TopTools_SequenceOfShape PolygonFaces;
int Type = -1;
- DEBTRACE("---");
//import LCM from file (#2-4; #12-14 polygons)
CPPUNIT_ASSERT( anImporter.ImportPolygons(aDoc, aFFileName, PolygonList, PolygonFaces, Type));
aMapFace2ST.Add( TopoDS::Face( PolygonFaces(12) ), "" );
aMapFace2ST.Add( TopoDS::Face( PolygonFaces(13) ), "" );
aMapFace2ST.Add( TopoDS::Face( PolygonFaces(14) ), "" );
- DEBTRACE("---");
LCM->StoreLandCovers(aMapFace2ST);
LCM->SetName("lcm_1");
QStringList aNonExpList;
anExporter.Export(aSFileName, LCM, aNonExpList);
CPPUNIT_ASSERT (aNonExpList.empty());
- DEBTRACE("---");
aDoc->Close();
}