FromWKT - spectrum_spatial - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-09-26
ft:lastPublication
2025-09-26T10:03:58.880000

Description

Converts a string formatted in WKT (Well-known Text) to a feature geometry, such as a Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, or Geometry Collection.

Note: This function is supported for both the MapInfo codespace and EPSG. Geometries designated by a "Z," "M," or "ZM" after the geometry type are not supported.

An example of a WKT string is:

"LINESTRING (6 7, 3 4, 1 2, -1 -2, -3 -4, -6 -7)"

Syntax

FromWKT (wkt,csys )

Arguments

wkt is a WKT string, and

csys is a coordinate system specification.

Example

Returns a feature geometry from a WKT-formatted string.

select * from "/Samples/NamedTables/WorldTable" where MI_Intersects (Obj, FromWKT('POINT (-0.174302 51.4877229)','epsg:4326'))