FromWKT

Synthèse

Create a new Geometry object from a well-known text (WKT) string.

Syntaxe

FromWKT (wkt_string, {spatial_reference})
ParamètreExplicationType de données
wkt_string

A WKT string.

String
spatial_reference

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

SpatialReference
Valeur renvoyée
Type de donnéesExplication
Geometry

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

Rubriques connexes


Dans cette rubrique