FromWKT

Summary

Creates a geometry object from a well-known text (WKT) string.

Syntax

FromWKT (wkt_string, {spatial_reference})
ParameterExplanationData Type
wkt_string

A WKT string.

String
spatial_reference

The spatial reference of the geometry. It can be specified with either a SpatialReference object or a string equivalent.

SpatialReference
Return Value
Data TypeExplanation
Geometry

FromWKT returns a geometry object (PointGeometry, Multipoint, Polyline, or Polygon) based on the input WKT string.

Related topics


In this topic