spherely.to_wkt

Contents

spherely.to_wkt#

spherely.to_wkt(geography, /, precision=6)#

Returns the WKT representation of each geography.

Parameters:
  • geography (Geography or array_like) – Geography object(s).

  • precision (int, default 6) – The number of decimal places to include in the output.

Returns:

str or array – A string or an array of strings.