MpsCS - sindizzy/DSW GitHub Wiki
Sample that demonstrates how to create a multipoint from randomly generated coordinates
using DotSpatial.Geometries;
using DotSpatial.Topology.Geometries;
private void button1_Click(object sender, EventArgs e)
{
Coordinate[]() c = new Coordinate[36](36);
Random rnd = new Random();
for (int i = 0; i < 36; i++)
{
c[i](i) = new Coordinate((rnd.NextDouble() + 360) - 180, (rnd.NextDouble() * 180) - 90);
}
MultiPoint Mps = new MultiPoint(c);
}