NetTopologySuite / NetTopologySuite.IO.ShapeFile

The ShapeFile IO module for NTS.
35 stars 25 forks source link

how to set shpfile Dimension type #16

Closed bouyeijiang closed 3 months ago

bouyeijiang commented 5 years ago

var writer =new ShapefileDataWriter(fullpath, factory,writeEncoding); writer.Header = ShapefileDataWriter.GetHeader(lines[0], lines.Count);

default is 3D coordinates? i need to 2d

KubaSzostak commented 3 months ago

Support for a custom-managed stream, which allows shapes to be written to it, has been added in the successor library. There is also a sample code demonstrating how to use different dimensions.