ST_GeogFromText

This section contains reference documentation for the ST_GeogFromText function.

Return a specified geography value from Well-Known Text representation or extended (WKT)

Signature

ST_GeogFromText(wkt)

Usage Examples

select ST_GeogFromText('POINT (30 10)') AS value
from ignoreMe 
select ST_GeogFromText('LINESTRING (30 10, 10 30, 40 40)') AS value
from ignoreMe 
select ST_GeogFromText('POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))') AS value
from ignoreMe 

Last updated