mn_ub: Ulaanbaatar: city, districts and khoroos

View source: R/admin-getters.R

mn_ubR Documentation

Ulaanbaatar: city, districts and khoroos

Description

Maps of the capital at three levels:

  • mn_ub(): the city boundary;

  • mn_ub_districts(): its 9 districts (duureg);

  • mn_khoroos(): its 204 khoroos (subdistricts).

Usage

mn_ub(resolution = c("low", "high"), lang = NULL, crs = NULL)

mn_ub_districts(resolution = c("low", "high"), lang = NULL, crs = NULL)

mn_khoroos(
  district = NULL,
  resolution = c("low", "high"),
  lang = NULL,
  crs = NULL
)

Arguments

resolution

"low" (default) uses simplified boundaries that ship with the package and suit most maps. "high" uses full-resolution boundaries, downloaded once (about 10 MB) and cached; see mn_cache_dir().

lang

Language of the name column: "en" (English, as in NSO tables), "mn" (Cyrillic) or "mns" (Latin with diacritics, MNS 5217). Defaults to getOption("mongolmaps.lang", "en").

crs

Coordinate reference system of the result. NULL (default) keeps longitude/latitude (EPSG:4326). Use "albers", "lcc" or "utm" for a projection suited to Mongolia (see mn_crs()), or any value accepted by sf::st_crs().

district

Keep only khoroos in these districts (names or codes, such as "Bayangol", "BGD" or "MN1107").

Details

The three layers share borders exactly: khoroos tile their districts and districts tile the city.

Value

An sf tibble; see mn_admin() for the columns. For khoroos, number holds the khoroo number within its district.

Data source

Khoroo boundaries come from the open khoroo-map project (https://github.com/Tuvshin-Level/khoroo-map, 0BSD licence), which does not state where its data come from, so treat them as unofficial. They were fitted to the official Ulaanbaatar outline, with small gaps and overlaps between khoroos resolved: 0.6% of the city area was reassigned, and 97% of khoroos changed area by less than 1%. Khoroo codes and names follow NSO.

The district lines are the unions of their khoroos. They follow the current city layout and can differ slightly from the 2020 district lines in mn_soums().

See Also

Other admin boundaries: mn_admin(), mn_aimags(), mn_bags(), mn_country(), mn_soums()

Examples

mn_ub()
mn_ub_districts()
mn_khoroos(district = "Bayangol")
mn_khoroos(lang = "mn", crs = "utm")

mongolmaps documentation built on Oct. 10, 2026, 5:08 p.m.