Sample code
This sample code demonstrates the basic function of the DotSpatial.Data library.
This code may still need to be updated for v1.0
Creating a Line Feature
C# VB.NetOpening an Existing Feature Set
C# VB.NetBuffering a Feature Set
C# VB.NetDetermining the number of rows in a Feature Set
C# VB.NetGetting the entire Attribute Table
C# VB.NetGetting a value from an Attribute Table
C# VB.NetSaving a FeatureSet as a new shapefile
C# VB.NetUnion the intersecting shapes in a featureset
C# VB.NetFeature SetsCreating a Point Feature Set
C# VB.NetCreating a Line Feature Set
C# VB.NetCreating a Polygon Feature Set
C# VB.NetCreate a layer of random Points, then move them
C# VB.NetCreate a polygon feature set and add two attribute columns
C#RasterOpening a Raster and getting various values
C# VB.netConverting to Raster<int> type and reading integer values.
C# VB.NetShapesCycle through the shapes, parts and vertices (without using geometries)
CycleThroughVerticesCSGenerate FeatureSets from WKB
WKBFeatureSetsCSPoint in Polygon Testing
PointInPolygonCSCreate New VectorsQuickly Add Many Features to a FeatureSet
AddingManyShapesCS