Contains methods for writing a single Geometry
in binary ESRI shapefile format.
More...
|
| ShapeWriter () |
| Creates a <coordinate>ShapeWriter</coordinate> that creates objects using a basic GeometryFactory. More...
|
|
void | Write (Coordinate coordinate, BinaryWriter writer) |
| Writes x- and y-ordinate of coordinate to a stream using writer More...
|
|
void | Write (Coordinate[] coordinates, BinaryWriter writer) |
| Writes x- and y-ordinates of coordinates to a stream using writer More...
|
|
void | Write (IPoint point, BinaryWriter writer) |
| Writes point to a stream using writer More...
|
|
void | Write (ILineString lineString, BinaryWriter writer) |
| Writes lineString to a stream using writer More...
|
|
void | Write (IPolygon polygon, BinaryWriter writer) |
| Writes polygon to a stream using writer More...
|
|
void | Write (IMultiPoint multiPoint, BinaryWriter writer) |
| Writes multiPoint to a stream using writer More...
|
|
void | Write (IMultiLineString multiLineString, BinaryWriter writer) |
| Writes multiLineString to a stream using writer More...
|
|
void | Write (IMultiPolygon multiPolygon, BinaryWriter writer) |
| Writes multiPolygon to a stream using writer More...
|
|
void | WriteBoundingBox (Envelope boundingBox, BinaryWriter writer) |
| Writes the 2D boundingBox using writer More...
|
|
byte[] | GetBytes (IGeometry geometry) |
| Sets correct length for Byte Stream. More...
|
|
int | GetBytesLength (IGeometry geometry) |
| Return correct length for Byte Stream. More...
|
|
|
const int | InitCount = 36 |
| Standard byte size for each complex point. Each complex point (LineString, Polygon, ...) contains 4 bytes for ShapeTypes and 32 bytes for Boundingbox. More...
|
|
Contains methods for writing a single Geometry
in binary ESRI shapefile format.
NetTopologySuite.IO.ShapeWriter.ShapeWriter |
( |
| ) |
|
Creates a <coordinate>ShapeWriter</coordinate> that creates objects using a basic GeometryFactory.
byte [] NetTopologySuite.IO.ShapeWriter.GetBytes |
( |
IGeometry |
geometry | ) |
|
Sets correct length for Byte Stream.
- Parameters
-
- Returns
int NetTopologySuite.IO.ShapeWriter.GetBytesLength |
( |
IGeometry |
geometry | ) |
|
Return correct length for Byte Stream.
- Parameters
-
- Returns
int NetTopologySuite.IO.ShapeWriter.SetByteStreamLength |
( |
IMultiPolygon |
multiPolygon | ) |
|
|
protected |
int NetTopologySuite.IO.ShapeWriter.SetByteStreamLength |
( |
IMultiLineString |
multiLineString | ) |
|
|
protected |
int NetTopologySuite.IO.ShapeWriter.SetByteStreamLength |
( |
IMultiPoint |
multiPoint | ) |
|
|
protected |
int NetTopologySuite.IO.ShapeWriter.SetByteStreamLength |
( |
IPolygon |
polygon | ) |
|
|
protected |
int NetTopologySuite.IO.ShapeWriter.SetByteStreamLength |
( |
ILineString |
lineString | ) |
|
|
protected |
int NetTopologySuite.IO.ShapeWriter.SetByteStreamLength |
( |
IPoint |
point | ) |
|
|
protected |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
Coordinate |
coordinate, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes x- and y-ordinate of coordinate to a stream using writer
- Parameters
-
coordinate | The coordinate to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
Coordinate[] |
coordinates, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes x- and y-ordinates of coordinates to a stream using writer
- Parameters
-
coordinates | The array of Coordinates to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
IPoint |
point, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes point to a stream using writer
- Parameters
-
point | The point to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
ILineString |
lineString, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes lineString to a stream using writer
- Parameters
-
lineString | The linestring to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
IPolygon |
polygon, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes polygon to a stream using writer
- Parameters
-
polygon | The polygon to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
IMultiPoint |
multiPoint, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes multiPoint to a stream using writer
- Parameters
-
multiPoint | The multi point to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
IMultiLineString |
multiLineString, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes multiLineString to a stream using writer
- Parameters
-
multiLineString | The multi linestring to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.Write |
( |
IMultiPolygon |
multiPolygon, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes multiPolygon to a stream using writer
- Parameters
-
multiPolygon | The multi polygon to write |
writer | The writer to use |
void NetTopologySuite.IO.ShapeWriter.WriteBoundingBox |
( |
Envelope |
boundingBox, |
|
|
BinaryWriter |
writer |
|
) |
| |
Writes the 2D boundingBox using writer
- Parameters
-
boundingBox | The bounding box to write |
writer | The writer |
const int NetTopologySuite.IO.ShapeWriter.InitCount = 36 |
|
protected |
Standard byte size for each complex point. Each complex point (LineString, Polygon, ...) contains 4 bytes for ShapeTypes and 32 bytes for Boundingbox.
The documentation for this class was generated from the following file:
- NetTopologySuite/NetTopologySuite.IO/NetTopologySuite.IO.ShapeFile/ShapeWriter.cs