NetTopologySuite
|
Converts a PostGIS binary data to a Geometry
.
More...
Public Member Functions | |
PostGisReader () | |
Initialize reader with a standard settings. More... | |
PostGisReader (IGeometryFactory factory) | |
Initialize reader with the given GeometryFactory . More... | |
PostGisReader (ICoordinateSequenceFactory coordinateSequenceFactory, IPrecisionModel precisionModel) | |
Initialize reader with the given coordinate sequence factory and the given precision model. More... | |
PostGisReader (ICoordinateSequenceFactory coordinateSequenceFactory, IPrecisionModel precisionModel, Ordinates handleOrdinates) | |
Initialize reader with the given GeometryFactory . More... | |
IGeometry | Read (byte[] data) |
IGeometry | Read (Stream stream) |
Protected Member Functions | |
IGeometry | Read (BinaryReader reader) |
IPoint | ReadPoint (BinaryReader reader, IGeometryFactory factory, Ordinates ordinates) |
Reads a point from the stream More... | |
ICoordinateSequence | ReadCoordinateSequence (BinaryReader reader, ICoordinateSequenceFactory factory, IPrecisionModel precisionModel, Ordinates ordinates) |
Reads a coordinate sequence from the stream, which length is not yet known. More... | |
ICoordinateSequence | ReadCoordinateSequenceRing (BinaryReader reader, ICoordinateSequenceFactory factory, IPrecisionModel precisionModel, Ordinates ordinates) |
Reads a coordinate sequence from the stream, which length is not yet known. More... | |
ICoordinateSequence | ReadCoordinateSequence (BinaryReader reader, ICoordinateSequenceFactory factory, IPrecisionModel precisionModel, int numPoints, Ordinates ordinates) |
Reads a ICoordinateSequence from the stream More... | |
ILineString | ReadLineString (BinaryReader reader, IGeometryFactory factory, Ordinates ordinates) |
Reads a ILineString from the input stream. More... | |
ILinearRing | ReadLinearRing (BinaryReader reader, IGeometryFactory factory, Ordinates ordinates) |
Reads a ILinearRing line string from the input stream. More... | |
IPolygon | ReadPolygon (BinaryReader reader, IGeometryFactory factory, Ordinates ordinates) |
Reads a IPolygon from the input stream. More... | |
void | ReadGeometryArray< TGeometry > (BinaryReader reader, TGeometry[] container) |
Reads an array of geometries More... | |
IMultiPoint | ReadMultiPoint (BinaryReader reader, IGeometryFactory factory) |
Reads a IMultiPoint from the input stream. More... | |
IMultiLineString | ReadMultiLineString (BinaryReader reader, IGeometryFactory factory) |
Reads a IMultiLineString from the input stream. More... | |
IMultiPolygon | ReadMultiPolygon (BinaryReader reader, IGeometryFactory factory) |
Reads a IMultiPolygon from the input stream. More... | |
IGeometryCollection | ReadGeometryCollection (BinaryReader reader, IGeometryFactory factory) |
Reads a IGeometryCollection from the input stream. More... | |
Properties | |
bool | RepairRings [get, set] |
Gets or sets whether invalid linear rings should be fixed More... | |
bool | HandleSRID [get, set] |
Ordinates | AllowedOrdinates [get] |
Ordinates | HandleOrdinates [get, set] |
Converts a PostGIS binary data to a Geometry
.
NetTopologySuite.IO.PostGisReader.PostGisReader | ( | ) |
Initialize reader with a standard settings.
NetTopologySuite.IO.PostGisReader.PostGisReader | ( | IGeometryFactory | factory | ) |
Initialize reader with the given GeometryFactory
.
factory |
NetTopologySuite.IO.PostGisReader.PostGisReader | ( | ICoordinateSequenceFactory | coordinateSequenceFactory, |
IPrecisionModel | precisionModel | ||
) |
Initialize reader with the given coordinate sequence factory and the given precision model.
coordinateSequenceFactory | |
precisionModel |
NetTopologySuite.IO.PostGisReader.PostGisReader | ( | ICoordinateSequenceFactory | coordinateSequenceFactory, |
IPrecisionModel | precisionModel, | ||
Ordinates | handleOrdinates | ||
) |
Initialize reader with the given GeometryFactory
.
coordinateSequenceFactory | |
precisionModel | |
handleOrdinates | The ordinates to handle |
IGeometry NetTopologySuite.IO.PostGisReader.Read | ( | byte[] | data | ) |
data |
IGeometry NetTopologySuite.IO.PostGisReader.Read | ( | Stream | stream | ) |
stream |
|
protected |
reader |
|
protected |
Reads a coordinate sequence from the stream, which length is not yet known.
reader | The binary reader |
factory | The geometry factory to use for geometry creation. |
precisionModel | The precision model used to make x- and y-ordinates precise. |
ordinates | The ordinates to read. Ordinates.XY are always read. |
|
protected |
Reads a ICoordinateSequence from the stream
reader | The binary reader |
factory | The geometry factory to use for geometry creation. |
precisionModel | The precision model used to make x- and y-ordinates precise. |
numPoints | The number of points in the coordinate sequence. |
ordinates | The ordinates to read. Ordinates.XY are always read. |
|
protected |
Reads a coordinate sequence from the stream, which length is not yet known.
reader | The binary reader |
factory | The geometry factory to use for geometry creation. |
precisionModel | The precision model used to make x- and y-ordinates precise. |
ordinates | The ordinates to read. Ordinates.XY are always read. |
|
protected |
Reads an array of geometries
reader | The binary reader. |
container | The container for the geometries |
TGeometry | : | IGeometry |
|
protected |
Reads a IGeometryCollection from the input stream.
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
|
protected |
Reads a ILinearRing line string from the input stream.
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
ordinates | The ordinates to read. Ordinates.XY are always read. |
|
protected |
Reads a ILineString from the input stream.
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
ordinates | The ordinates to read. Ordinates.XY are always read. |
|
protected |
Reads a IMultiLineString from the input stream.
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
|
protected |
Reads a IMultiPoint from the input stream.
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
|
protected |
Reads a IMultiPolygon from the input stream.
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
|
protected |
Reads a point from the stream
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
ordinates | The ordinates to read. Ordinates.XY are always read. |
|
protected |
Reads a IPolygon from the input stream.
reader | The binary reader. |
factory | The geometry factory to use for geometry creation. |
ordinates | The ordinates to read. Ordinates.XY are always read. |
|
getset |
Gets or sets whether invalid linear rings should be fixed