Fetching FeatureDataTable from Map

Topics: SharpMap v0.9 / v1.x, SharpMap v2.0
May 17, 2015 at 3:57 AM
Having created vector layers using GeometryFeatureProvider I need to fetch the Datatables to save the file in SQLite need advise to fetch these tables from vector layers
May 21, 2015 at 10:54 AM
Using SpatiaLite extension or plain SQLite?

The SQLite provider is in the SharpMap.Extensions assembly/project. It has a CreateDataTable function (that I have not used yet) that should save a FeatureDataTable to a SQLite database. The code is optimizable, but may be sufficiant as a source of inspiration.

Generally speaking the publicly available SharpMap providers are read-only.
May 26, 2015 at 1:27 PM
thanks FObermaier

i had one additional question how can i fetch fetaures or featuredatable from vector layers which are made from GeometryFEatureProvider
May 27, 2015 at 8:28 AM
var fdt = ((SharpMap.Data.Providers.GeometryFeatureProvider)provider).Features;