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.Net
Opening an Existing Feature Set C# VB.Net
Buffering a Feature Set C# VB.Net
Determining the number of rows in a Feature Set C# VB.Net
Getting the entire Attribute Table C# VB.Net
Getting a value from an Attribute Table C# VB.Net
Saving a FeatureSet as a new shapefile C# VB.Net
Union the intersecting shapes in a featureset C# VB.Net

Feature Sets
Creating a Point Feature Set C# VB.Net
Creating a Line Feature Set C# VB.Net
Creating a Polygon Feature Set C# VB.Net
Create a layer of random Points, then move them C# VB.Net
Create a polygon feature set and add two attribute columns C#

Raster
Opening a Raster and getting various values C# VB.net
Converting to Raster<int> type and reading integer values. C# VB.Net

Shapes
Cycle through the shapes, parts and vertices (without using geometries) CycleThroughVerticesCS
Generate FeatureSets from WKB WKBFeatureSetsCS
Point in Polygon Testing PointInPolygonCS

Create New Vectors
Quickly Add Many Features to a FeatureSet AddingManyShapesCS

Last edited May 4, 2012 at 7:42 PM by mudnug, version 23

Comments

No comments yet.