This project has moved and is read-only. For the latest updates, please go here.

How to write modified layers to shapefiles.

Topics: General Topics
Oct 11, 2006 at 11:52 AM
i wanna save modified SharpMap layers to shapefile (with .shp,.shx, .dbf file). can i do this.

Please give me some example codes ;)

thanks all
Oct 11, 2006 at 9:36 PM
Download the SharpMap 2.0 alpha code in the 2.0 release section. The unit tests show how this is done.
Oct 12, 2006 at 1:18 PM
it seemed that the .dbf output file is different from the input (even in the testdata folder).

although i can view it with my simple code program but i can't view it with microsoft excel anymore. i think this may causes some problems in the future. Also, some new problems occurs about .dbf file accessing.

anyway, thanksalot for your answer ;)
Oct 13, 2006 at 9:14 AM
Oh, so you want the attribute data to be correct, too, eh? ;)

The DBF writer is suffering from a data formatting issue which I have been too busy to fix. I think I have a bit of time this weekend to look at it, though...