ShapefileWriter Class
Writer that allows an application to write features one by one to a Shapefile.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CEDataSets assembly)
Syntax
public class ShapefileWriter : EngineObjectRemarks
ShapefileWriter provides an easy way to write features one by one to a Shapefile. Only the x and y coordinates will be written, the z-coordinates will be discarded. A Shapefile writer allows more detailed control than the similar ShapefileDataSet.Save methods.
Inheritance Hierarchy
System.Object
EngineObject
ShapefileWriter
Platforms
Windows, Linux, Android
ShapefileWriter Members
The ShapefileWriter type has the following members.
Constructors
| Name | Description |
|---|---|
| ShapefileWriter | Initializes a new instance of the ShapefileWriter class. |
Properties
| Name | Description |
|---|---|
| FileName | Gets the filename the ShapefileWriter writes to. |
| IsDisposed | Gets a value that tells whether the current ShapefileWriter has been disposed. Inherited from EngineObject |
| NativeHandle | Gets the native Carmenta Engine kernel object the current ShapefileWriter represents. Inherited from EngineObject |
| Schema | Gets the ShapefileSchema the writer uses. |
| SplitBigFiles | Gets a flag controlling whether big files will be split. |
Methods
| Name | Description |
|---|---|
| Clone | Creates a copy of an object. Inherited from EngineObject |
| Close | Closes the writer and any files it has been writing to. |
| Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
| Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
| WriteFeature | Writes a single feature to the Shapefile. |