Skip to main content

FromWKT

サマリー

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

構文

FromWKT(wkt_string, {spatial_reference})

パラメーター 説明 データ タイプ

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

戻り値

データ タイプ 説明

Geometry

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