![]() If the limits are given as projected coordinates or as decimal degrees for maps with -60 < latitude < 60, limits elements represent lines encompassing the map area in cartesian space. Using data to limit the map expands the map all around the data points to make them fit into the map. Note that the actual limited region becomes wider than the polygon defined by the coordinates (shown in Examples). The latitude limits define the parallels that should reside inside the limited region given the longitude segments. The longitude limits are defined counter-clockwise. If the limits are in decimal degrees, the longitude limits ( ) specify the start and end segments of corresponding angular lines that should reside inside the map area. For min latitude ( limits) -30, max latitude ( limits) -60, and single integer latitudes -30. For max latitude ( limits) >= 60 (if min latitude ( limits) >= 30), and single integer latitudes >= 30 and = -89.Ĥ326 WGS 84 / World Geodetic System 1984, used in GPS. At the time of writing, the function uses three different projections (given as EPSG codes)ģ995 WGS 84 / Arctic Polar Stereographic. Up-to-date conditions are defined in define_shapefiles and shapefile_list functions. If the shapefiles are not specified, the function uses either the limits or data arguments to decide which projection to use. The function uses ggplot2, ggspatial, GIS packages of R, and shapefiles to plot maps of the world's oceans. Set to FALSE to make the function silent. Logical indicating whether information about the projection and guessed column names should be returned as message. Can be used to zoom in and out automatically limited maps. expand.factorĮxpansion factor for map limits with the data argument. ![]() Useful to define limits for large maps in polar regions. Logical indicating whether the coordinate grid should show projected coordinates instead of decimal degree values. Use the LS function for a specific width in pt. Numeric value specifying the width of the border line land, glacier and bathymetry shapes as well as the grid lines, respectively. land.size, gla.size, bathy.size, grid.size ,, Ĭharacter code specifying the color of the border line for land, glacier, and bathymetry shapes. l, gla.col, lĬharacter code specifying the color of land, glaciers and grid lines, respectively. Transparency parameter for bathymetry fill color. "contour_blues" contour lines with different shades of blue. "poly_greys" plots polygons filled with different shades of gray. ![]() "poly_blues" plots polygons filled with different shades of blue. bathy.styleĬharacter defining the style for bathymetry contours. NULL finds reasonable defaults depending on limits. Numeric value specifying the interval of longitude and latitude grids. See the argument with the same name in theme. Logical indicating whether the legend for bathymetry should be shown. Logical indicating whether the projected maps should be rotated to point towards the pole relative to mid-longitude limit. ![]() Logical indicating whether glaciers and ice-sheets should be added to the map. Logical indicating whether bathymetry should be added to the map. Can be omitted if limits or data are defined as decimal degrees. shapefilesĮither a list containing shapefile information or a character argument referring to a name of pre-made shapefiles in shapefile_list. Can be omitted if limits or shapefiles are defined. The function attempts to guess the correct columns and it is advised to use intuitive column names for longitude (such as "lon", "long", or "longitude") and latitude ("lat", "latitude") columns. Suited for situations where a certain dataset is plotted on a map. The limits are extracted from these coordinates and produces a rectangular map. If a data frame, the coordinates have to be given in decimal degrees. dataĪ data frame, SpatialPolygons, or sf shape containing longitude and latitude coordinates. ![]() Single integer between 30 and 88 or -88 and -30 produces a polar map for the Arctic or Antarctic, respectively.Ĭan be omitted if data or shapefiles are defined. Latitude limits not given in min-max order are automatically ordered to respect this requirement. The coordinates can be given as decimal degrees or coordinate units for shapefiles used by a projected map. Numeric vector of length 4: The first element defines the start longitude, the second element the end longitude (counter-clockwise), the third element the minimum latitude and the fourth element the maximum latitude of the bounding box. The limit type ( limits, data, or shapefiles) is automatically recognized from the class of this argument. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |