Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

Thanks

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.