Well Known Text(WKT) output

geocoder3 will try to generate WKT output for any retrieved result, was it provided by provider or not. WKT available for each result if multiple results was retrieved.

import geocoder
g = geocoder.google('New York City')
g.wkt
# 'POINT(-74.0111421 40.7069226)'

What is WKT

Well-known text (WKT) is a text markup language for representing vector geometry objects on a map, spatial reference systems of spatial objects and transformations between spatial reference systems. A binary equivalent, known as well-known binary (WKB), is used to transfer and store the same information on databases, such as PostGIS, Microsoft SQL Server and DB2. The formats were originally defined by the Open Geospatial Consortium (OGC) and described in their Simple Feature Access and Coordinate Transformation Service specifications.

Wikipedia WKT