R/utils.R

Defines functions all_type_theme_map

# Define the mapping of overture types to their themes

all_type_theme_map <- function(){
    type_theme_map = list(
    "address" = "addresses",
    "bathymetry" = "base",
    "building" = "buildings",
    "building_part" = "buildings",
    "division" = "divisions",
    "division_area" = "divisions",
    "division_boundary" = "divisions",
    "place" = "places",
    "segment" = "transportation",
    "connector" = "transportation",
    "infrastructure" = "base",
    "land" = "base",
    "land_cover" = "base",
    "land_use" = "base",
    "water" = "base"
  )
    return(type_theme_map)
}

Try the overturemapsr package in your browser

Any scripts or data that you put into this service are public.

overturemapsr documentation built on April 3, 2025, 9:36 p.m.