Skip to main content

FromWKT

汇总

根据熟知文本 (WKT) 字符串创建几何对象。

语法

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 基于输入 WKT 字符串返回几何对象( PointGeometryMultipointPolylinePolygon )。