To_string for Postgis geometry type