code: def to_geopoint(self):
          
          if self._lon is None or self._lat is None:
              return None
          return geo.Point(self._lon, self._lat)
docs: Returns the geoJSON compliant representation of this location
  
          :returns: a ``pyowm.utils.geo.Point`` instance