docs: def _get_elevation(self, location):
          """Query the elevation information with the latitude and longitude of
          the specified `location`.
          """
  
          url = self._elevation_query_base % (location.latitude, location.longitude)
          if self.api_key != "":
              url += "&key=%s" % self.api_key
          data = self._read_from_url(url)
          response = json.loads(data)
          if response["status"] == "OK":
              location.elevation = int(float(response["results"][0]["elevation"]))
          else:
              location.elevation = 0