ST_Transform - 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_Transform function transforms a given geometry from one coordinate system to another.

Syntax

ST_Transform(WritableGeometry geometry, String CRS)

Parameters

Parameter Type Description
geometry WritableGeometry The source input geometry.
CRS String The destination coordinate system for the geometry.

Return Values

Return Type Description
WritableGeometry The geometry transformed to the destination coordinate system.

Examples

SELECT ST_Transform(ST_GeomFromWKT(t.geometry,'epsg:4326'), 'epsg:3857') FROM table t;
SELECT ST_Transform(ST_POINT(30, 20),'epsg:3857');