ST_ASTEXT (Lakehouse v2)
Convertit une géométrie en sa représentation WKT (Well-Known Text).
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.st_astext(<geometry>)Exemples Analyze
Section intitulée « Exemples Analyze »func.st_astext(func.st_point(1, 2))
┌───────────────┐│ 'POINT (1 2)' │└───────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ST_ASTEXT(<geometry>)Exemples SQL
Section intitulée « Exemples SQL »SELECT ST_ASTEXT(ST_POINT(1, 2));
┌─────────────┐│ POINT (1 2) │└─────────────┘