I have a table that contains a SqlGeometry data field I want to export that table to shapefile on asp.net application. Is there is a way to convert the table directly to a shapefile?
If not, is there is an free SDK or tool for writing the shape file?
Note that the table contains strings, int and Boolean fields.
You can give NetTopologySuite a try, they have a ShapeFileWriter class that will do the job with some little effort.
EDIT : Here is some sample code. I wrote it using NetTopologySuite source files. But there are NuGet packages.
It's not straightforward as you have to manually convert each SqlGeometry. (Maybe NTS MsSqlSpatial would help...)
Give it a try and let me know.