|
6 | 6 | #'
|
7 | 7 | #' @section Data Functions:
|
8 | 8 | #' \tabular{ll}{
|
9 |
| -#' \code{\link{extract_osm_objects}}\tab Download arbitrary OSM objects\cr |
10 |
| -#' \code{\link{connect_highways}}\tab Returns points sequentially connecting |
11 |
| -#' list of named highways\cr |
| 9 | +#' \code{\link{extract_osm_objects}} \tab Download arbitrary OSM objects \cr |
| 10 | +#' \code{\link{connect_highways}} \tab Returns points sequentially connecting |
| 11 | +#' list of named highways \cr |
12 | 12 | #' }
|
13 | 13 | #'
|
14 | 14 | #' @section Basic Plotting Functions (without data):
|
15 | 15 | #' \tabular{ll}{
|
16 |
| -#' \code{\link{add_axes}}\tab Overlay longitudinal and latitudinal axes on plot\cr |
17 |
| -#' \code{\link{add_osm_objects}}\tab Overlay arbitrary OSM objects\cr |
18 |
| -#' \code{\link{make_osm_map}}\tab Automate map production with structures |
19 |
| -#' defined in \code{\link{osm_structures}}\cr |
20 |
| -#' \code{\link{osm_structures}}\tab Define structures and graphics schemes for |
| 16 | +#' \code{\link{add_axes}} \tab Overlay longitudinal and latitudinal axes on plot \cr |
| 17 | +#' \code{\link{add_osm_objects}} \tab Overlay arbitrary OSM objects \cr |
| 18 | +#' \code{\link{make_osm_map}} \tab Automate map production with structures |
| 19 | +#' defined in \code{\link{osm_structures}} \cr |
| 20 | +#' \code{\link{osm_structures}} \tab Define structures and graphics schemes for |
21 | 21 | #' automating map production \cr
|
22 |
| -#' \code{\link{osm_basemap}}\tab Initiate a \code{ggplot2} object for an OSM |
23 |
| -#' map\cr |
24 |
| -#' \code{\link{print_osm_map}}\tab Print a map to specified graphics |
25 |
| -#' device |
| 22 | +#' \code{\link{osm_basemap}} \tab Initiate a \code{ggplot2} object for an OSM |
| 23 | +#' map \cr |
| 24 | +#' \code{\link{print_osm_map}} \tab Print a map to specified graphics |
| 25 | +#' device \cr |
26 | 26 | #' }
|
27 | 27 | #'
|
28 | 28 | #' @section Advanced Plotting Functions (with data):
|
29 | 29 | #' \tabular{ll}{
|
30 |
| -#' \code{\link{add_osm_groups}}\tab Overlay groups of objects using specified |
31 |
| -#' colour scheme\cr |
32 |
| -#' \code{\link{add_osm_surface}}\tab Overlay data surface by interpolating given |
| 30 | +#' \code{\link{add_osm_groups}} \tab Overlay groups of objects using specified |
| 31 | +#' colour scheme \cr |
| 32 | +#' \code{\link{add_osm_surface}} \tab Overlay data surface by interpolating given |
33 | 33 | #' data \cr
|
34 |
| -#' \code{\link{add_colourbar}}\tab Overlay a scaled colourbar for data added |
35 |
| -#' with \code{\link{add_osm_surface}}\cr |
| 34 | +#' \code{\link{add_colourbar}} \tab Overlay a scaled colourbar for data added |
| 35 | +#' with \code{\link{add_osm_surface}} \cr |
36 | 36 | #' }
|
37 | 37 | #'
|
38 | 38 | #' @section Colour Manipulation Functions:
|
39 | 39 | #' \tabular{ll}{
|
40 |
| -#' \code{\link{adjust_colours}}\tab Lighted or darken given colours by specified |
41 |
| -#' amount\cr |
42 |
| -#' \code{\link{colour_mat}}\tab Generate continuous 2D spatial matrix of |
43 |
| -#' colours\cr |
| 40 | +#' \code{\link{adjust_colours}} \tab Lighted or darken given colours by specified |
| 41 | +#' amount \cr |
| 42 | +#' \code{\link{colour_mat}} \tab Generate continuous 2D spatial matrix of |
| 43 | +#' colours \cr |
44 | 44 | #' }
|
45 | 45 | #'
|
46 | 46 | #' @section Other Functions:
|
47 | 47 | #' \tabular{ll}{
|
48 |
| -#' \code{\link{get_bbox}}\tab return bounding box from input vector\cr |
| 48 | +#' \code{\link{get_bbox}} \tab return bounding box from input vector \cr |
49 | 49 | #' }
|
50 | 50 | #'
|
51 | 51 | #' @section Data:
|
52 | 52 | #' \tabular{ll}{
|
53 |
| -#' \code{\link{london}}\tab OSM Data from a small portion of central London\cr |
| 53 | +#' \code{\link{london}} \tab OSM Data from a small portion of central London \cr |
54 | 54 | #' }
|
55 | 55 | #'
|
56 | 56 | #' @section Vignettes:
|
57 | 57 | #' \tabular{ll}{
|
58 |
| -#' \code{basic-maps}\tab Describes basics of downloading data and making custom |
59 |
| -#' maps\cr |
60 |
| -#' \code{data-maps}\tab Describes how map elements can be coloured according to |
61 |
| -#' user-provided data, whether categorical or continuous. |
| 58 | +#' \code{basic-maps} \tab Describes basics of downloading data and making custom |
| 59 | +#' maps \cr |
| 60 | +#' \code{data-maps} \tab Describes how map elements can be coloured according to |
| 61 | +#' user-provided data, whether categorical or continuous \cr |
62 | 62 | #' }
|
63 | 63 | #'
|
64 | 64 | #' @name osmplotr
|
|
77 | 77 | #'
|
78 | 78 | #' A list of \code{SpatialPolygonsDataFrames} (SPDF),
|
79 | 79 | #' \code{SpatialLinesDataFrames} (SLDF), and \code{SpatialPointsDataFrames}
|
80 |
| -#' (SPtDf) containing OpenStreetMap polygons and lines for various OpenStreetMap |
81 |
| -#' structures in a small part of central London, |
| 80 | +#' (SPtDf) objects containing OpenStreetMap polygons and lines for various |
| 81 | +#' OpenStreetMap structures in a small part of central London, |
82 | 82 | #' U.K. (\code{bbox = -0.15, 51.5, -0.1, 51.52}). The list includes:
|
83 | 83 | #' \enumerate{
|
84 |
| -#' \item \code{dat_H} an SLDF of non-primary highways with 1.764 lines |
85 |
| -#' \item \code{dat_HP} an SLDF of primary highways with 378 lines |
86 |
| -#' \item \code{dat_BNR} an SPDF of non-residential buildings with 2,138 polygons |
87 |
| -#' \item \code{dat_BR} an SPDF of residential buildings with 40 polygons |
88 |
| -#' \item \code{dat_BC} an SPDF of commerical buildings with 17 polygons |
89 |
| -#' \item \code{dat_A} an SPDF of amenities with 442 polygons |
90 |
| -#' \item \code{dat_G} an SPDF of grassed areas with 23 polygons |
91 |
| -#' \item \code{dat_P} an SPDF of parks with 24 polygons |
92 |
| -#' \item \code{dat_N} an SPDF of natural areas with 18 polygons |
93 |
| -#' \item \code{dat_T} an SPtDF of trees with 1,310 points |
94 |
| -#' \item \code{dat_RFH} an SPDF containing 1 polygon representing Royal |
| 84 | +#' \item \code{dat_H}: an SLDF of non-primary highways with 1.764 lines |
| 85 | +#' \item \code{dat_HP}: an SLDF of primary highways with 378 lines |
| 86 | +#' \item \code{dat_BNR}: an SPDF of non-residential buildings with 2,138 polygons |
| 87 | +#' \item \code{dat_BR}: an SPDF of residential buildings with 40 polygons |
| 88 | +#' \item \code{dat_BC}: an SPDF of commerical buildings with 17 polygons |
| 89 | +#' \item \code{dat_A}: an SPDF of amenities with 442 polygons |
| 90 | +#' \item \code{dat_G}: an SPDF of grassed areas with 23 polygons |
| 91 | +#' \item \code{dat_P}: an SPDF of parks with 24 polygons |
| 92 | +#' \item \code{dat_N}: an SPDF of natural areas with 18 polygons |
| 93 | +#' \item \code{dat_T}: an SPtDF of trees with 1,310 points |
| 94 | +#' \item \code{dat_RFH}: an SPDF containing 1 polygon representing Royal |
95 | 95 | #' Festival Hall
|
96 |
| -#' \item \code{dat_ST} an SPDF containing 1 polygon representing |
| 96 | +#' \item \code{dat_ST}: an SPDF containing 1 polygon representing |
97 | 97 | #' 150 Stamford Street
|
98 |
| -#' \item \code{highways1} A \code{SpatialPoints} object containing 55 points representing |
99 |
| -#' the circular perimeter of \code{c ('Monmouth.St', 'Short.?s.Gardens', |
100 |
| -#' 'Endell.St', 'Long.Acre', 'Upper.Saint.Martin')} |
101 |
| -#' \item \code{highways2} A \code{SpatialPoints} object containing 47 points |
| 98 | +#' \item \code{highways1}: A \code{SpatialPoints} object containing 55 points |
| 99 | +#' representing the circular perimeter of \code{c ('Monmouth.St', |
| 100 | +#' 'Short.?s.Gardens', 'Endell.St', 'Long.Acre', 'Upper.Saint.Martin')} |
| 101 | +#' \item \code{highways2}: A \code{SpatialPoints} object containing 47 points |
102 | 102 | #' representing the circular perimeter of
|
103 | 103 | #' \code{c ('Endell.St', 'High.Holborn', 'Drury.Lane', 'Long.Acre')}
|
104 |
| -#' \item \code{highways3} A \code{SpatialPoints} object containing 55 points |
| 104 | +#' \item \code{highways3}: A \code{SpatialPoints} object containing 55 points |
105 | 105 | #' representing the circular perimeter of
|
106 | 106 | #' \code{c ('Drury.Lane', 'High.Holborn', 'Kingsway', 'Great.Queen.St')}
|
107 | 107 | #' }
|
108 | 108 | #'
|
109 |
| -#' The vignette 'basic-maps' demonstrates how these data were downloaded. |
| 109 | +#' The vignette \code{basic-maps} details how these data were downloaded. |
110 | 110 | #'
|
111 | 111 | #' @docType data
|
112 | 112 | #' @keywords datasets
|
|
0 commit comments