Skip to content

Instantly share code, notes, and snippets.

@fxi
Last active September 24, 2015 07:11
Show Gist options
  • Save fxi/976e7273119e976105b2 to your computer and use it in GitHub Desktop.
Save fxi/976e7273119e976105b2 to your computer and use it in GitHub Desktop.
map-x layer classes and subclasses
mxConfig$class = list(
"Development" = "dev",
"Environment" = "env",
"Extractives" = "ext",
"Stresses" = "str"
)
mxConfig$subclass = list(
"dev" = list(
"Unemployment" = "unemployment",
"Poverty" = "poverty",
"Agriculture" = "agriculture"
),
"env" = list(
"Forest cover" = "forest",
"Deforestation" = "deforest",
"Biodiversity" = "biodiversity"
),
"ext" = list(
"Mineral" = "mineral",
"Oil" = "oil",
"Forestry" = "forestry",
"Artisanal mines" = "artisanalmine"
),
"str" = list(
"Conflict" = "conflict"
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment