Yes My mainly concern is Performance.
Basically there are two cases for me:-
:- If only load MapinfoTabFile to Map with Code:-
Ogr ObjOgrProvider = new Ogr(mpLayer.strFilePath);
VectorLayer.DataSource = ObjOgrProvider;
MapLayer Load on map easily with in 10 secs.
:- But i need attribute table of that particular MapinfoTab file so i have used following code:-
while ((ogrFeature = _ogrLayer.GetNextFeature()) != null)
LoadOgrFeatureToFeatureDataRow(myDt, ogrFeature, Factory);
The above code is used in the OgrProvider in the ExecuteIntersection Query.
It will take approximate 2-3 minutes for my 100MB file means for 3-4 Lacs Rows. But i need to build a code for appx 1-2 million rows.
and one more thing i need this attribute table at the time of Creation of Vector Layer .
Please help me regarding this.