ST_ToWKT - Spectrum_Location_Intelligence_for_Big_Data - 5.2.1

Location Intelligence SDK for Big Data Guide

Product type
Software
Portfolio
Locate
Product family
Spectrum
Product
Spatial Big Data > Location Intelligence SDK for Big Data
Version
5.2.1
Language
English
Product name
Location Intelligence for Big Data
Title
Location Intelligence SDK for Big Data Guide
Copyright
2024
First publish date
2015
Last updated
2024-10-16
Published on
2024-10-16T13:55:01.634374

Description

The ST_ToWKT function returns a Well-Known Text (WKT) representation of a geometry from the specified WritableGeometry instance.

Syntax

ST_ToWKT(WritableGeometry geometry)

Parameters

Parameter Type Description
geometry WritableGeometry The instance of a WritableGeometry.

Return Values

Return Type Description
String The WKT representation of a geometry.

Examples

SELECT ST_ToWKT(ST_Buffer(ST_GeomFromGeoJSON(t.geometry), 5.0, 'km', 12, 'SPHERICAL' )) FROM table t;