Contains methods for reading a single Geometry
in binary ESRI shapefile format.
More...
|
| ShapeReader () |
| Initialize reader with a standard GeometryFactory . More...
|
|
| ShapeReader (IGeometryFactory factory) |
| Initialize reader with the given GeometryFactory . More...
|
|
IGeometry | ReadPoint (BinaryReader reader, Ordinates ordinates) |
| Function to read a IPoint from a ShapeFile stream using the specified reader . More...
|
|
IGeometry | ReadLineString (BinaryReader reader, Ordinates ordinates) |
| Function to read a ILineString or IMultiLineString from a ShapeFile stream using the specified reader . More...
|
|
IGeometry | ReadPolygon (BinaryReader reader, Ordinates ordinates) |
| Function to read a either a IPolygon or an IMultiPolygon from a ShapeFile stream using the specified reader . More...
|
|
int | ReadNumPoints (BinaryReader reader) |
|
int[] | ReadIndexParts (BinaryReader reader, int numParts, int numPoints) |
| Read the index parts of the shape header More...
|
|
Contains methods for reading a single Geometry
in binary ESRI shapefile format.
NetTopologySuite.IO.ShapeReader.ShapeReader |
( |
| ) |
|
|
protected |
Initialize reader with a standard GeometryFactory
.
NetTopologySuite.IO.ShapeReader.ShapeReader |
( |
IGeometryFactory |
factory | ) |
|
|
protected |
Initialize reader with the given GeometryFactory
.
- Parameters
-
IPolygon NetTopologySuite.IO.ShapeReader.CreateSimpleSinglePolygon |
( |
Coordinate[] |
coords | ) |
|
Creates a single Polygon without holes.
- Parameters
-
- Returns
static Envelope NetTopologySuite.IO.ShapeReader.ReadBoundingBox |
( |
BinaryReader |
reader | ) |
|
|
staticprotected |
Read the x-y Envelope
- Parameters
-
int [] NetTopologySuite.IO.ShapeReader.ReadIndexParts |
( |
BinaryReader |
reader, |
|
|
int |
numParts, |
|
|
int |
numPoints |
|
) |
| |
|
protected |
Read the index parts of the shape header
- Parameters
-
reader | The reader |
numParts | The number of parts |
numPoints | The total number of points |
- Returns
- An array of integer values
static Interval NetTopologySuite.IO.ShapeReader.ReadInterval |
( |
BinaryReader |
reader | ) |
|
|
staticprotected |
Read the ordinate range Envelope
- Parameters
-
IGeometry NetTopologySuite.IO.ShapeReader.ReadLineString |
( |
BinaryReader |
reader, |
|
|
Ordinates |
ordinates |
|
) |
| |
|
protected |
Function to read a ILineString or IMultiLineString from a ShapeFile stream using the specified reader .
- Parameters
-
reader | The reader to use |
ordinates | The ordinates to read |
- Returns
- The read lineal geometry
IGeometry NetTopologySuite.IO.ShapeReader.ReadMultiPoint |
( |
BinaryReader |
reader, |
|
|
Ordinates |
ordinates |
|
) |
| |
Function to read a IMultiPoint from a ShapeFile stream using the specified reader .
- Parameters
-
reader | The reader to use |
ordinates | The ordinates to read |
- Returns
- The read polygonal geometry
int NetTopologySuite.IO.ShapeReader.ReadNumParts |
( |
BinaryReader |
reader | ) |
|
int NetTopologySuite.IO.ShapeReader.ReadNumPoints |
( |
BinaryReader |
reader | ) |
|
|
protected |
IGeometry NetTopologySuite.IO.ShapeReader.ReadPoint |
( |
BinaryReader |
reader, |
|
|
Ordinates |
ordinates |
|
) |
| |
|
protected |
Function to read a IPoint from a ShapeFile stream using the specified reader .
- Parameters
-
reader | The reader to use |
ordinates | The ordinates to read |
- Returns
- The read point geometry
IGeometry NetTopologySuite.IO.ShapeReader.ReadPolygon |
( |
BinaryReader |
reader, |
|
|
Ordinates |
ordinates |
|
) |
| |
|
protected |
Function to read a either a IPolygon or an IMultiPolygon from a ShapeFile stream using the specified reader .
- Parameters
-
reader | The reader to use |
ordinates | The ordinates to read |
- Returns
- The read polygonal geometry
IGeometryFactory NetTopologySuite.IO.ShapeReader.Factory |
|
getset |
The documentation for this class was generated from the following file:
- NetTopologySuite/NetTopologySuite.IO/NetTopologySuite.IO.ShapeFile/ShapeReader.cs