Click or drag to resize

PolygonWKTWithZ Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
The WKT representation of the polygon 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 four sided polygon in San Diego, Ca.
Telogis.GeoBase.Geometry.Polygon myPolygon = new Telogis.GeoBase.Geometry.Polygon(
    new Telogis.GeoBase.Geometry.LineString[] {
                new Telogis.GeoBase.Geometry.LineString(
                new Telogis.GeoBase.LatLon(32.722237,-117.169485,0),
                new Telogis.GeoBase.LatLon(32.722398,-117.156160,0),
                new Telogis.GeoBase.LatLon(32.712340,-117.156160,0),
                new Telogis.GeoBase.LatLon(32.712259,-117.169611,0),
                new Telogis.GeoBase.LatLon(32.722237,-117.169485,1))
    }
);
Console.WriteLine("Polygon as WKT: {0}", myPolygon.WKTWithZ);
// 'Polygon as WKT: POLYGONZ((-117.169485 32.722237 0,-117.15616 32.722398 0,-117.15616 32.71234 0,-117.169611 32.712259 0,-117.169485 32.722237 0))'
See Also