C# Class Terradue.GeoJson.Geometry.WktExtensions

Datei anzeigen Open project: Terradue/DotNetGeoJson

Public Methods

Method Description
LineStringFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.LineString

LineString from WKT.

MultiLineStringFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.MultiLineString

MultiLineString from WK.

MultiPointFromWKT ( string wkt ) : MultiPoint

MultiPoint from WK.

MultiPolygonFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.MultiPolygon

MultiPolygon from WK.

PointFromWKT ( string wkt ) : Point

Point from WK.

PolygonFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.Polygon

Polygon from WK.

ToWkt ( this feature ) : string
WktToGeometry ( string wkt ) : GeometryObject

Initialize a new IGemotry object from a standard WKT geometry

Private Methods

Method Description
GeometryToWktString ( IPosition position ) : string
GeometryToWktString ( Terradue.GeoJson.Geometry.LineString lineString ) : string
GeometryToWktString ( Terradue.GeoJson.Geometry.MultiLineString multiLineString ) : string
GeometryToWktString ( MultiPoint multiPoint ) : string
GeometryToWktString ( Terradue.GeoJson.Geometry.MultiPolygon multiPolygon ) : string
GeometryToWktString ( Point point ) : string
GeometryToWktString ( Terradue.GeoJson.Geometry.Polygon polygon ) : string

Method Details

LineStringFromWKT() public static method

LineString from WKT.
public static LineStringFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.LineString
wkt string WKT.
return Terradue.GeoJson.Geometry.LineString

MultiLineStringFromWKT() public static method

MultiLineString from WK.
public static MultiLineStringFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.MultiLineString
wkt string WKT.
return Terradue.GeoJson.Geometry.MultiLineString

MultiPointFromWKT() public static method

MultiPoint from WK.
public static MultiPointFromWKT ( string wkt ) : MultiPoint
wkt string WKT.
return MultiPoint

MultiPolygonFromWKT() public static method

MultiPolygon from WK.
public static MultiPolygonFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.MultiPolygon
wkt string WKT.
return Terradue.GeoJson.Geometry.MultiPolygon

PointFromWKT() public static method

Point from WK.
public static PointFromWKT ( string wkt ) : Point
wkt string WKT.
return Point

PolygonFromWKT() public static method

Polygon from WK.
public static PolygonFromWKT ( string wkt ) : Terradue.GeoJson.Geometry.Polygon
wkt string WKT.
return Terradue.GeoJson.Geometry.Polygon

ToWkt() public static method

public static ToWkt ( this feature ) : string
feature this
return string

WktToGeometry() public static method

Initialize a new IGemotry object from a standard WKT geometry
public static WktToGeometry ( string wkt ) : GeometryObject
wkt string The geometry in WKT to convert
return GeometryObject