code: def override_preset(
      name: str,
      layers: Dict[str, dict] = {},
      style: Dict[str, dict] = {},
      circle: Optional[float] = None,
      radius: Optional[Union[float, bool]] = None,
      dilate: Optional[Union[float, bool]] = None,
  ) -> Tuple[
      dict,
      dict,
      Optional[float],
      Optional[Union[float, bool]],
      Optional[Union[float, bool]],
  ]:
      """
      Read the preset file given by 'name' and override it with additional parameters
  
      Args:
          name (str): _description_
          layers (Dict[str, dict], optional): _description_. Defaults to {}.
          style (Dict[str, dict], optional): _description_. Defaults to {}.
          circle (Union[float, None], optional): _description_. Defaults to None.
          radius (Union[float, None], optional): _description_. Defaults to None.
          dilate (Union[float, None], optional): _description_. Defaults to None.
  
      Returns:
          Tuple[dict, dict, Optional[float], Optional[Union[float, bool]], Optional[Union[float, bool]]]: Preset parameters overriden by additional provided parameters
      """
  
      params = read_preset(name)
  
      # Override preset with kwargs
      if "layers" in params:
          layers = override_params(params["layers"], layers)
      if "style" in params:
          style = override_params(params["style"], style)
      if circle is None and "circle" in params:
          circle = params["circle"]
      if radius is None and "radius" in params:
          radius = params["radius"]
      if dilate is None and "dilate" in params:
          dilate = params["dilate"]
  
      # Delete layers marked as 'False' in the parameter dict
      for layer in [
          key for key in layers.keys() if layers[key] == False
      ]:
          del layers[layer]
  
      # Return overriden presets
      return layers, style, circle, radius, dilate
  
imports: import re
  import os
  import json
  import yaml
  import pathlib
  import warnings
  import matplotlib
  import shapely.ops
  import numpy
  import osmnx
  import pandas
  import geopandas
  import shapely.affinity
  from copy import deepcopy
  from .fetch import get_gdfs
  from dataclasses import dataclass
  from matplotlib import pyplot
  from matplotlib.colors import hex2color
  from matplotlib.patches import Path, PathPatch
  from typing import Optional, Union, Tuple, List, Dict, Any, Iterable
  from shapely.geometry.base import BaseGeometry
  from shapely.geometry import Point, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, box
label_desc: Use image node_id 16 for calling a global function with example usage: override_preset(name, layers, style, circle, radius, dilate) and returns: layers,  style,  circle,  radius,  dilate