Title: | Extra Map Databases |
---|---|
Description: | Supplement to maps package, providing some larger and/or higher-resolution databases. NOTE: this is a legacy package. The world map is out-dated. |
Authors: | Original S code by Richard A. Becker and Allan R. Wilks. R version by Ray Brownrigg <[email protected]>. |
Maintainer: | Alex Deckmyn <[email protected]> |
License: | GPL-2 |
Version: | 2.3.1 |
Built: | 2025-01-31 04:23:34 UTC |
Source: | https://github.com/cran/mapdata |
This database produces a map of China, including provincial boundaries.
The data file is merely an assignment to a character string which
specifies the name of an environment variable which contains the
base location of the binary files used by the map drawing functions.
This environment variable (R_MAPDATA_DATA_DIR
for the datasets in the
mapdata package) is set at package load time.
Richard A. Becker, and Allan R. Wilks, "Maps in S", AT&T Bell Laboratories Statistics Research Report [93.2], 1993.
Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.
map('china')
map('china')
This database produces a map of Japan, including prefecture boundaries.
The data file is merely an assignment to a character string which
specifies the name of an environment variable which contains the
base location of the binary files used by the map drawing functions.
This environment variable (R_MAPDATA_DATA_DIR
for the datasets in the
mapdata package) is set at package load time.
Thanks to Ritei Shibata of Keio University for the formatted data.
Richard A. Becker, and Allan R. Wilks, "Maps in S", AT&T Bell Laboratories Statistics Research Report [93.2], 1993.
Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.
map('japan')
map('japan')
This database produces a high-resolution map of New Zealand. The database includes Pacific and sub-antartic island dependencies also.
The data file is merely an assignment to a character string which
specifies the name of an environment variable which contains the
base location of the binary files used by the map drawing functions.
This environment variable (R_MAPDATA_DATA_DIR
for the datasets in the
mapdata package) is set at package load time.
Richard A. Becker, and Allan R. Wilks, "Maps in S", AT&T Bell Laboratories Statistics Research Report [93.2], 1993.
Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.
map('nzHires')
map('nzHires')
This database produces major rivers (and some lakes) which may be used to add to an existing map. Unfortunately, there is no fine control over which rivers are plotted, so all rivers which lie within the boundaries of the current plot on display will be added. Some of these may be outside the boundaries of the map shown.
The data file is merely an assignment to a character string which
specifies the name of an environment variable which contains the
base location of the binary files used by the map drawing functions.
This environment variable (R_MAPDATA_DATA_DIR
for the datasets in the
mapdata package) is set at package load time.
Richard A. Becker, and Allan R. Wilks, "Maps in S", AT&T Bell Laboratories Statistics Research Report [93.2], 1993.
Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.
map('usa') map('rivers', add=TRUE)
map('usa') map('rivers', add=TRUE)
This world database comes from a cleaned-up version of the CIA World Data Bank II data and contains approximately 2 million points representing the world coastlines and national boundaries. This map is based on latitudes [0, 360), which then has the Pacific Ocean in the centre of the map.
data(world2HiresMapEnv) data(world2LoresMapEnv)
data(world2HiresMapEnv) data(world2LoresMapEnv)
The data file is merely an assignment to a character string which
specifies the name of an environment variable which contains the
base location of the binary files used by the map drawing functions.
This environment variable (R_MAPDATA_DATA_DIR
for the datasets in the
mapdata package) is set at package load time.
The CIA World Data Bank II is currently available from https://www.evl.uic.edu/pape/data/WDB/.
Richard A. Becker, and Allan R. Wilks, "Maps in S", AT&T Bell Laboratories Statistics Research Report [93.2], 1993.
Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.
map
, world
, worldHires
,
world2
map('world2Hires', xlim=c(100, 300))
map('world2Hires', xlim=c(100, 300))
This (legacy) world database comes from a cleaned-up version of the CIA World Data Bank II data and contains approximately 2 million points representing the world coastlines and national boundaries. This makes it suitable for extracting countries, continents, etc. while still retaining lots of detail.
The ‘world2’ database is a modified version of the ‘world’ database in which the longitude ranges from 0 through 360 degrees, instead of -180 through 180. This then allows maps of the whole Pacific Ocean for example.
worldLores
contains exactly the same polygon information, but the boundaries have been reduced to a very low resolution.
The data file is merely an assignment to a character string which
specifies the name of an environment variable which contains the
base location of the binary files used by the map drawing functions.
This environment variable (R_MAPDATA_DATA_DIR
for the datasets in the
mapdata package) is set at package load time.
This database was compiled in the 1990's and does not reflect more recent political changes. It is maintained mainly for historical purposes and legacy code. The data in maps::world
on in packages like rnaturalearth
is much more up to date.
The CIA World Data Bank II is currently (mid-2017) still available from https://www.evl.uic.edu/pape/data/WDB/.
Richard A. Becker, and Allan R. Wilks, "Maps in S", AT&T Bell Laboratories Statistics Research Report [93.2], 1993.
Richard A. Becker, and Allan R. Wilks, "Constructing a Geographical Database", AT&T Bell Laboratories Statistics Research Report [95.2], 1995.
map('worldHires', col=1:10) map('worldHires', 'Switzerland') title('Switzerland')
map('worldHires', col=1:10) map('worldHires', 'Switzerland') title('Switzerland')