Class GMLReader
Reads a GML document and creates a representation of the features based on NetTopologySuite model.
Uses GML 2.1.1 Geometry.xsd
schema for base for features.
Assembly: NetTopologySuite.dll
Syntax
Constructors
|
Edit this page
View Source
GMLReader()
Declaration
|
Edit this page
View Source
GMLReader(GeometryFactory)
Declaration
public GMLReader(GeometryFactory factory)
Parameters
Properties
|
Edit this page
View Source
Factory
Declaration
protected GeometryFactory Factory { get; }
Property Value
Methods
|
Edit this page
View Source
GetFactory(string, GeometryFactory)
Declaration
protected virtual GeometryFactory GetFactory(string srsName, GeometryFactory gfDefault)
Parameters
Returns
|
Edit this page
View Source
Read(StringReader)
Declaration
public Geometry Read(StringReader stringReader)
Parameters
Returns
|
Edit this page
View Source
Read(string)
Declaration
public Geometry Read(string xmlText)
Parameters
Type |
Name |
Description |
string |
xmlText |
|
Returns
|
Edit this page
View Source
Read(XDocument)
Read a GML document and returns relative Geometry.
Declaration
public Geometry Read(XDocument document)
Parameters
Returns
|
Edit this page
View Source
Read(XmlDocument)
Read a GML document and returns relative Geometry.
Declaration
public Geometry Read(XmlDocument document)
Parameters
Returns
|
Edit this page
View Source
Read(XmlReader)
Declaration
public Geometry Read(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadCoordinate(XmlReader)
Declaration
protected Coordinate ReadCoordinate(XmlReader reader)
Parameters
Type |
Name |
Description |
XmlReader |
reader |
The reader.
|
Returns
|
Edit this page
View Source
ReadCoordinates(string)
Declaration
protected Coordinate ReadCoordinates(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
|
Edit this page
View Source
ReadGeometryCollection(XmlReader)
Declaration
protected GeometryCollection ReadGeometryCollection(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadGeometryCollection(XmlReader, GeometryFactory, int)
Declaration
protected GeometryCollection ReadGeometryCollection(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadLineString(XmlReader)
Declaration
protected LineString ReadLineString(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadLineString(XmlReader, GeometryFactory)
Declaration
protected LineString ReadLineString(XmlReader reader, GeometryFactory gf)
Parameters
Returns
|
Edit this page
View Source
ReadLineString(XmlReader, GeometryFactory, int)
Declaration
protected LineString ReadLineString(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadLinearRing(XmlReader)
Declaration
protected LinearRing ReadLinearRing(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadLinearRing(XmlReader, GeometryFactory)
Declaration
protected LinearRing ReadLinearRing(XmlReader reader, GeometryFactory gf)
Parameters
Returns
|
Edit this page
View Source
ReadLinearRing(XmlReader, GeometryFactory, int)
Declaration
protected LinearRing ReadLinearRing(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadMultiCurve(XmlReader)
Declaration
protected MultiLineString ReadMultiCurve(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadMultiCurve(XmlReader, GeometryFactory, int)
Declaration
protected MultiLineString ReadMultiCurve(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadMultiLineString(XmlReader)
Declaration
protected MultiLineString ReadMultiLineString(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadMultiLineString(XmlReader, GeometryFactory, int)
Declaration
protected MultiLineString ReadMultiLineString(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadMultiPoint(XmlReader)
Declaration
protected MultiPoint ReadMultiPoint(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadMultiPoint(XmlReader, GeometryFactory, int)
Declaration
protected MultiPoint ReadMultiPoint(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadMultiPolygon(XmlReader)
Declaration
protected MultiPolygon ReadMultiPolygon(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadMultiPolygon(XmlReader, GeometryFactory, int)
Declaration
protected MultiPolygon ReadMultiPolygon(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadMultiSurface(XmlReader)
Declaration
protected MultiPolygon ReadMultiSurface(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadMultiSurface(XmlReader, GeometryFactory, int)
Declaration
protected MultiPolygon ReadMultiSurface(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadPoint(XmlReader)
Declaration
protected Point ReadPoint(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadPoint(XmlReader, GeometryFactory)
Declaration
protected Point ReadPoint(XmlReader reader, GeometryFactory gf)
Parameters
Returns
|
Edit this page
View Source
ReadPoint(XmlReader, GeometryFactory, int)
Declaration
protected Point ReadPoint(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadPolygon(XmlReader)
Declaration
protected Polygon ReadPolygon(XmlReader reader)
Parameters
Returns
|
Edit this page
View Source
ReadPolygon(XmlReader, GeometryFactory)
Declaration
protected Polygon ReadPolygon(XmlReader reader, GeometryFactory gf)
Parameters
Returns
|
Edit this page
View Source
ReadPolygon(XmlReader, GeometryFactory, int)
Declaration
protected Polygon ReadPolygon(XmlReader reader, GeometryFactory gf, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
ReadPosAsCoordinate(string[])
Extract a Coordinate from a pos entity string value.
Declaration
protected Coordinate ReadPosAsCoordinate(string[] value)
Parameters
Type |
Name |
Description |
string[] |
value |
An array of string ordinate values
|
Returns
|
Edit this page
View Source
ReadPosList(XmlReader, int, CoordinateSequenceFactory)
Declaration
protected CoordinateSequence ReadPosList(XmlReader reader, int srsDimension, CoordinateSequenceFactory csFactory)
Parameters
Type |
Name |
Description |
XmlReader |
reader |
A xml-reader
|
int |
srsDimension |
The number of ordinates to read per coordinate
|
CoordinateSequenceFactory |
csFactory |
The factory to use in order to create the result
|
Returns
|
Edit this page
View Source
ReadPosListAsCoordinates(int, string[])
Extract an enumeration of Coordinates from a x-,y-[, z-]ordinate string values.
Declaration
[Obsolete("Use ReadPosList(xmlReader, int, CoordinateSequenceFactory)")]
protected IEnumerable<Coordinate> ReadPosListAsCoordinates(int numOrdinates, string[] value)
Parameters
Type |
Name |
Description |
int |
numOrdinates |
The number of ordinates
|
string[] |
value |
An array of string ordinate values
|
Returns
|
Edit this page
View Source
ReadSrsDimension(XmlReader, int)
Declaration
protected static int ReadSrsDimension(XmlReader reader, int srsDimension)
Parameters
Returns
|
Edit this page
View Source
RemoveUnneccessaryWhitespace(string)
Declaration
protected static string RemoveUnneccessaryWhitespace(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Returns