public static ILayer Create( string name, Stream shpStream, Stream dbfStream) { var shpReader = new BinaryReader(shpStream, Encoding.UTF8, leaveOpen: true); var dbfReader = DbfReader.Create(dbfStream); var layer = new Layer( name, shpReader, dbfReader); layer.Reset(); return(layer); }