Ejemplo n.º 1
0
 public void TestReadPolys()
 {
     using (var sq =
         new SharpMap.Data.Providers.ManagedSpatiaLite(GetTestDBPath(), "regions", "Geometry", "ROWID"))
     {
         var ext = sq.GetExtents();
         var ds = new SharpMap.Data.FeatureDataSet();
         sq.ExecuteIntersectionQuery(ext, ds);
         NUnit.Framework.Assert.AreEqual(109, ds.Tables[0].Count);
     }
 }
Ejemplo n.º 2
0
 public void TestReadPolys()
 {
     using (var sq =
                new SharpMap.Data.Providers.ManagedSpatiaLite(GetTestDBPath(), "regions", "Geometry", "ROWID"))
     {
         var ext = sq.GetExtents();
         var ds  = new SharpMap.Data.FeatureDataSet();
         sq.ExecuteIntersectionQuery(ext, ds);
         NUnit.Framework.Assert.AreEqual(109, ds.Tables[0].Count);
     }
 }