This code demonstrates how to open an existing shapefile as a new feature set using the DotSpatial.Data library.

using DotSpatial.Data;

  public void OpeningFS()
        {
           //Pass in the file path for the standard shapefile that will be opened
           IFeatureSet fs = FeatureSet.Open("C:\\Temp\\roads.shp");  
        }

Last edited Jan 2, 2014 at 11:32 AM by mogikanin, version 5