# `mix tz_world.update`
[🔗](https://github.com/kipcole9/tz_world/blob/v2.3.0/lib/mix/tasks/update_timezones_geojson.ex#L1)

Downloads and installs the latest Timezone GeoJSON data.

## Arguments

* `--include-oceans` (`-o`) will include the geojson for the oceans
  in the downloaded data. The default is to download data without
  ocean coverage.

* `--force` (`-f`) does two things:
    * Forces an update even if the currently installed data is
      already at the latest release. Useful when switching
      between including and excluding ocean coverage.
    * Creates the directory configured under `:data_dir` if it
      does not yet exist. Without `--force` a missing `:data_dir`
      is reported as an error so a misconfigured `:data_dir` is
      loud rather than silently materialised. Pass `--force` on
      the first install when you have set a custom `:data_dir`
      that is not part of the build artifacts.

* `--trace` (`-t`) emits debug-level progress logs (current memory
  usage, download / extract / parse phases).

# `run`

# `update`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
