How can I save the SharpMap to shp file?

Jun 2, 2011 at 7:34 PM

Is there any way to export modified SharpMap object to shp file?

Developer
Jun 3, 2011 at 6:59 PM

Sharpmap V0.9 does not support the update of data, so first of all you need to be using Sharpmap v2.0. The latest code base for this is held on google at http://code.google.com/p/sharpmapv2/.

If you look at the code in the ShapeFileProvider which is in the solution providers directory, when you insert an feature the code will automatically save the updates to disk.

Their is also an update method to update existing features contained within the file.

Hope this helps