code: def _handle_start_center(self, attrs):
          
          center_lat = attrs.get("lat")
          center_lon = attrs.get("lon")
          if center_lat is None or center_lon is None:
              raise ValueError("Unable to get lat or lon of way center.")
          self._curr["center_lat"] = Decimal(center_lat)
          self._curr["center_lon"] = Decimal(center_lon)
docs: Handle opening center element
  
          :param attrs: Attributes of the element
          :type attrs: Dict