ST_AsKML¶ Introduction: Return the KML string representation of a geometry Format: ST_AsKML (A:geometry) SQL example: SELECT ST_AsKML(polygondf.countyshape) FROM polygondf