Skip to content
πŸŽ‰ Apache Sedona 1.9.1 is out now! πŸ—ΊοΈ Geography SQL functions, Box2D & Box3D types, raster Python UDFs & more. Read the release notes β†’

ST_AsKML

Introduction: Return the KML string representation of a geometry

Format: ST_AsKML (A:geometry)

Return type: String

SQL example:

SELECT ST_AsKML(polygondf.countyshape)
FROM polygondf