Ejemplo n.º 1
0
 public void GetFeatureShouldWorkForShapeFileWithoutObjectID()
 {
     string path = @"..\..\..\..\data\gemeenten.shp";
     var s = new ShapeFile(path);
     var feature = s.Features[0];
     Assert.LessOrEqual(0, s.IndexOf((IFeature)feature));
 }
Ejemplo n.º 2
0
 public void GetFeatureShouldWorkForShapeFile()
 {
     string path = @"..\..\..\..\data\Europe_Lakes.shp";
     var s = new ShapeFile(path);
     var feature = s.Features[1];
     Assert.LessOrEqual(0, s.IndexOf((IFeature)feature));
 }