


If you’re following along, I suggest you do the same. We know that eventually Arda became our world, and Middle-earth became Europe. I also downloaded the 2022 US Census cartographic boundary files and put them in a folder named data/cb_2022_us_state_20m. I put all the files in a folder named data/ME-GIS relative to this document. There’s isn’t a pre-built R package for the data, so we’ll need to download the GitHub repository ourselves. Bible Geocoding - Bible Maps in Google Earth and Google Maps Bible Geocoding The location of every identifiable place mentioned in the Bible. With that quick overview done, we can start playing with the ME-GIS data.

Helpful diagram showing how latitude and longitude translate to x and y coordinates Loading Middle Earth shapefiles
Middle earth map overlay europe how to#
One of the most popular sections of the class (as measured by my server logs and by how often I use it myself) is a section on GIS-related visualization, or how to work with maps in lon" ) ) lat_labs <- tibble (x = - 3, y = seq ( - 2, 3, 1 ), label = "Latitude" ) lon_labs <- tibble (x = seq ( - 2, 3, 1 ), y = - 2, label = "Longitude" ) ggplot ( ) + geom_point (data = point_example, aes (x = x, y = y ), size = 5 ) + geom_label (data = point_example, aes (x = x, y = y, label = label ), nudge_y = 0.6, family = "Overpass ExtraBold" ) + geom_text (data = lat_labs, aes (x = x, y = y, label = label ), hjust = 0.5, vjust = - 0.3, family = "Overpass Light" ) + geom_text (data = lon_labs, aes (x = x, y = y, label = label ), hjust = 1.1, vjust = - 0.5, angle = 90, family = "Overpass Light" ) + geom_hline (yintercept = 0 ) + geom_vline (xintercept = 0 ) + scale_x_continuous (breaks = seq ( - 2, 3, 1 ) ) + scale_y_continuous (breaks = seq ( - 2, 3, 1 ) ) + coord_equal (xlim = c ( - 3.5, 3 ), ylim = c ( - 3, 3 ) ) + labs (x = NULL, y = NULL ) + theme_minimal ( ) + theme ( = element_blank ( ), axis.text = element_blank ( ) ) I’ve taught a course on data visualization with R since 2017, and it’s become one of my more popular classes, especially since it’s all available asynchronously online with hours of Creative Commons-licensed videos and materials.
