Skip to content

OpeningCS

sindizzy edited this page Dec 30, 2020 · 4 revisions

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");  
}

Clone this wiki locally