diff --git a/08-read-write-plot.Rmd b/08-read-write-plot.Rmd index 96e95ed93..5ac29d882 100644 --- a/08-read-write-plot.Rmd +++ b/08-read-write-plot.Rmd @@ -450,7 +450,7 @@ tm1 = tm_shape(tanzania) + tm_text(text = "name_long") + tm_scalebar(c(0, 200, 400), position = c("left", "bottom")) + tm_title("A. query") -tanzania_neigh[tanzania_neigh$iso_a2 == "CD", "name_long"] = "Democratic\nRepublic\nof the ongo" +tanzania_neigh[tanzania_neigh$iso_a2 == "CD", "name_long"] = "Democratic\nRepublic\nof the Congo" tm2 = tm_shape(tanzania_neigh) + tm_polygons() + tm_text(text = "name_long", diff --git a/09-mapping.Rmd b/09-mapping.Rmd index 6cb15cd40..02f4c7a30 100644 --- a/09-mapping.Rmd +++ b/09-mapping.Rmd @@ -49,7 +49,7 @@ Maps have been used for several thousand years for a wide variety of purposes. Historic examples include maps of buildings and land ownership in the Old Babylonian dynasty more than 3000 years ago and Ptolemy's world map in his masterpiece *Geography* nearly 2000 years ago [@talbert_ancient_2014]. Map making has historically been an activity undertaken only by, or on behalf of, the elite. -This has changed with the emergence of open source mapping software such as the R package **tmap** and the 'print composer' in QGIS\index{QGIS} which enable anyone to make high-quality maps, enabling 'citizen science'. +This has changed with the emergence of open source mapping software such as the R package **tmap** and the 'print layout' in QGIS\index{QGIS} which enable anyone to make high-quality maps, enabling 'citizen science'. Maps are also often the best way to present the findings of geocomputational research in a way that is accessible. Map making is therefore a critical part of geocomputation\index{geocomputation} and its emphasis not only on describing, but also *changing* the world. @@ -315,7 +315,7 @@ tm_shape(nz) + tm_symbols(size = "Land_area", size.scale = tm_scale_intervals()) \index{tmap (package)!interval scale} The `tm_scale_intervals()` function splits the input data values into a set of intervals. -In addition to manually setting `breaks, ` **tmap** allows users to specify algorithms to create breaks with the `style` argument automatically. +In addition to manually setting `breaks`, **tmap** allows users to specify algorithms to create breaks with the `style` argument automatically. Here are some of the most useful scale functions (Figure \@ref(fig:break-styles)): - `style = "pretty"`: the default setting, rounds breaks into whole numbers where possible and spaces them evenly