-
Notifications
You must be signed in to change notification settings - Fork 0
OpeningVB
sindizzy edited this page Dec 23, 2020
·
3 revisions
This code demonstrates how to open an existing shapefile as a new feature set using the DotSpatial.Data library.
Imports System.Windows.Forms
Imports DotSpatial.Data
Private Sub button1_Click(sender As Object, e As EventArgs)
' Pass in the file path for the standard shapefile that will be opened
Dim fs As IFeatureSet = FeatureSet.Open("C:\\Temp\\roads.shp")
End Sub