Beispiel #1
0
        public void ShapefileReadRecordsCount()
        {
            var shp    = new ShpFile(@"C:\test\continents.shp");
            var count  = shp.GetCount();
            var boxStr = shp.GetBoxDoubleArr();

            Trace.WriteLine(count);
            var featureString = shp.GetFeatureString(0);

            Trace.WriteLine(featureString);
            var featureType = shp.GetFeatureType(2);
        }
Beispiel #2
0
 public void ShapefileGetFeaturesTest()
 {
     var shp      = new ShpFile(@"C:\test\continents.shp");
     var features = shp.GetFeatures();
 }