ST_AsGML
Output
ST_AsGML (Python)
Generate the Geography Markup Language (GML) representation of a geometry column.
Generate the Geography Markup Language (GML) representation of a
geometry column.
SQL reference:
Generate the Geography Markup Language (GML) representation of a geometry column.
ST_AsGML