Click or drag to resize

LineStringWKTWithZ Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Returns this LineString in WKT string format with Z level.

Namespace:  Telogis.GeoBase.Geometry
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public string WKTWithZ { get; }

Property Value

Type: String
Examples
C#
// Create a LineString from an array of four points 
Telogis.GeoBase.Geometry.LineString newLine = new Telogis.GeoBase.Geometry.LineString(
    new Telogis.GeoBase.LatLon[] {
        new Telogis.GeoBase.LatLon(33.594096,-117.741204, 0),
        new Telogis.GeoBase.LatLon(33.594195,-117.726176, 0),
        new Telogis.GeoBase.LatLon(33.582902,-117.725361, 0),
        new Telogis.GeoBase.LatLon(33.582953,-117.740873, 1)}
);

// Print the newLine LineString as Well Known Text with Z Level
Console.WriteLine(newLine.WKTWithZ);
// LINESTRINGZ(-117.741204 33.594096 0,-117.726176 33.594195 0,-117.725361 33.582902 0,-117.740873 33.582953 1)
See Also