Updated Wiki: RowsCS
Sample code that demonstrates how to get the number of rows in a feature set.using System.Windows.Forms; using DotSpatial.Data; privatevoid btnBuffer_Click(object sender, EventArgs e) { IFeatureSet fs...
View ArticleUpdated Wiki: RowsCS
Sample code that demonstrates how to get the number of rows in a feature set.using System.Windows.Forms; using DotSpatial.Data; privatevoid btnBuffer_Click(object sender, EventArgs e) { IFeatureSet fs...
View ArticleUpdated Wiki: TableCS
Sample code for loop through a Feature Set's attribute table and get all the valuesusing System.Windows.Forms; using DotSpatial.Topology; using DotSpatial.Data; privatevoid btnBuffer_Click(object...
View ArticleUpdated Wiki: TableSingleCS
Sample code that demonstrates how to get the value of a single cell in an attribute table.using DotSpatial.Data; privatevoid btnBuffer_Click(object sender, EventArgs e) { IFeatureSet fs =...
View ArticleUpdated Wiki: SaveCS
Sample code that demonstrates how to open an existing shapefile and save that shapefile with a new file name.using DotSpatial.Data; privatevoid button1_Click(object sender, EventArgs e) { //Declare a...
View ArticleUpdated Wiki: MultiptFSCS
Sample code that demonstrates how to create a new Multi Point Feature Setusing DotSpatial.Data; using DotSpatial.Topology; privatevoid button1_Click(object sender, EventArgs e) { Coordinate[] c = new...
View ArticleUpdated Wiki: MultilsFSCS
Sample code that demonstrates how to create a Multi Line Feature Setusing DotSpatial.Data; using DotSpatial.Topology; privatevoid button1_Click(object sender, EventArgs e) { Random rnd = new Random();...
View ArticleUpdated Wiki: RandomPoints
Create random points, then move them around. This example was a test case for a bug fix on 11/7/2010. Make sure you have downloaded something more recent than changeset e91fbe2d79ca or else the "move"...
View ArticleNew Post: AppManager.CS Error
The System.ComponentModel.Composition.CompositionException is thrown inside the AppManager.cs. I think that is why your system wants to have that file. As far as I understand the function that throws...
View ArticleUpdated Wiki: RasterCS
Sample code that demonstrates how to open a raster and get the maximum value for the raster cells. Be sure to install the GDAL extension if you want to view different types of files.using...
View ArticleUpdated Wiki: RasterCS
Sample code that demonstrates how to open a raster and get the maximum value for the raster cells. Be sure to install the GDAL extension if you want to view different types of files.using...
View ArticleUpdated Wiki: PointCS
This code demonstrates the method for declaring a new coordinate and creating a point from that coordinate. using DotSpatial.Topology; using DotSpatial.Common; privatevoid btnCoord_Click(object sender,...
View ArticleUpdated Wiki: BufferCS
Sample code that demonstrates how to buffer a randomly generated point.using DotSpatial.Geometries; using DotSpatial.Topology.Geometries; privatevoid button1_Click(object sender, EventArgs e) {...
View ArticleUpdated Wiki: UnionShapesCS
Union Intersecting Shapes in a FeatureSet This example shows how to use a newly added extension method that allows for intersecting shapes in the same Shapefile to be Unioned, but leaving shapes that...
View ArticleUpdated Wiki: MultypgFSCS
Sample code that demonstrates how to create a Multi Polygon Feature Setusing DotSpatial.Data; using DotSpatial.Topology; privatevoid button1_Click(object sender, EventArgs e) { Random rnd = new...
View ArticleUpdated Wiki: Multiple images on one layer
Code does these things : Add multiple point under one layer.Each point has a different ImageEach point has a unique label which can be configured public void LoadMarkers() { try { //uxMap represents...
View ArticleUpdated Wiki: CycleThroughVerticesCS
Cycle through Shapes, Parts and Vertices For all of the significant power that geometries provide, from doing overlay calculations to buffers and convex hulls, they consume extra memory and are...
View ArticleUpdated Wiki: PolygonCS
Sample code that demonstrates the creation of a new polygon from random points and calculating the areausing DotSpatial.Topology; using DotSpatial.Common; privatevoid btnPolygon_Click(object sender,...
View ArticleUpdated Wiki: Documentation
Documentation for Programmers DotSpatial 1.0DotSpatial 1.4DotSpatial 1.6DotSpatial 1.7Tutorialsclick here Demo Projects click hereclick here click hereCode Snippets click hereSDK...
View ArticleUpdated Wiki: DotSpatial SDK Documentation
DotSpatial SDK Style DocumentationView the SDK-style documentation online or download the software development kit (SDK) style DotSpatial API documentation as a single chm file (use 7-Zip to extract...
View Article