GeomFromGeoJSON JSON Function Syntax | VantageCloud Lake - GeomFromGeoJSON Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
[TD_SYSFNLIB.] GeomFromGeoJSON ( geojson_expr, asrid )

Syntax Elements

TD_SYSFNLIB
The name of the database where the function is located.
geojson_expr
An expression which evaluates to a JSON document conforming to the GeoJSON standards as specified in https://tools.ietf.org/html/rfc7946 . The GeoJSON text string can be represented as a VARCHAR, CLOB, or JSON instance in the LATIN or UNICODE character set.
This GeoJSON text string must represent a geometry object. The value of the type member must be one of these strings: "Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon", or "GeometryCollection".
asrid
An integer which specifies the Spatial Reference System (SRS) identifier assigned to the returned ST_Geometry object.