Return the (Extended) Well-Known Text (WKT or EWKT) representation of an array of spatial values (external function)