Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to follow a simple tutorial on Dotspatial web page "Sample code that demonstrates how to create a Multi Polygon Feature Set" I add the DotSpatial.Data.dll to the project References but I can not find the "DotSpatial.Geometries.dll"!

Can you please let me know where can I get it?


share|improve this question

Add reference to DotSpatial.Topology.dll and change the usings to

using DotSpatial.Data;
using DotSpatial.Topology;
share|improve this answer
Thank for your comment and this is working but I am getting an error at pg[i] = new Polygon(coord); the error is: The type initializer for 'DotSpatial.Topology.Polygon' threw an exception. Can you please let me know why this is happing? – user1106951 Aug 3 '12 at 17:22
@user1106951 - did it shown any errors while building? It didn't show any for me..also it ran sucessfully for me generating the shapefiles..i am using VS2010 express..if the error is at runtime, it could be because the randomly generated polygon geometry might have been invalid.. – vinayan Aug 4 '12 at 0:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.