Learn R Programming

qlcVisualize (version 0.4)

world: Boundary of the World fitting all Glottolog languages

Description

A polygon representing a worldmap tailored to be not too detailed, but still fitting all glottolog languages inside the polygons.

Usage

data("world")

Arguments

Format

The format is a sfc_POLYGON of length 475 with an EPSG:4326 projection.

Details

Some trickery was needed to produce a lightweight polygon to represent the worldmap in reasonably accuracy without becoming too large and unwiedly. The polygons are such that all coordinates for languages as listed in the glottolog (version 5) are inside these polygons.

The map has a basic EPSG:4326 projection, so longitude-latitude coordinates can immediately be added to it. However, this does not look very nice, because the polygon from Eurasia wraps around. Consider more suitable projections, see examples. To allow for a nice pacific-centered projection Greenland has been clipped.

Examples

Run this code
data(world)
plot(world)

# use different projections
azimuth_equaldist <- "+proj=aeqd +lat_0=90 +lon_0=45"
mollweide_atlantic <- "+proj=moll +lon_0=11.5"
mollweide_pacific <- "+proj=moll +lon_0=151"

plot(sf::st_transform(world, crs = azimuth_equaldist))

Run the code above in your browser using DataLab