|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 25-Sep-2021 | - |
| Gmake.c | H A D | 01-Dec-2019 | 4.9 KiB | 241 | 213 |
| Lmake.c | H A D | 01-Dec-2019 | 5.3 KiB | 249 | 212 |
| Makefile.in | H A D | 28-Jan-2020 | 2.3 KiB | 84 | 57 |
| Makefile.win | H A D | 28-Jan-2020 | 2.2 KiB | 79 | 53 |
| README | H A D | 28-Jan-2020 | 1.6 KiB | 40 | 27 |
| convert.awk | H A D | 01-Dec-2019 | 524 | 23 | 21 |
| county.gon | H A D | 01-Dec-2019 | 107 KiB | 6,171 | 6,170 |
| county.gonstats | H A D | 01-Dec-2019 | 8 | 2 | 1 |
| county.line | H A D | 01-Dec-2019 | 936.7 KiB | 33,186 | 33,185 |
| county.linestats | H A D | 01-Dec-2019 | 9 | 2 | 1 |
| county.name | H A D | 01-Dec-2019 | 69.6 KiB | 3,086 | 3,085 |
| france.gon | H A D | 01-Dec-2019 | 804 | 229 | 228 |
| france.gonstats | H A D | 01-Dec-2019 | 6 | 2 | 1 |
| france.line | H A D | 01-Dec-2019 | 248.4 KiB | 13,582 | 13,581 |
| france.linestats | H A D | 01-Dec-2019 | 8 | 2 | 1 |
| france.name | H A D | 01-Dec-2019 | 1.7 KiB | 115 | 114 |
| getstats.sh | H A D | 01-Dec-2019 | 322 | 15 | 12 |
| init.c | H A D | 01-Dec-2019 | 2.3 KiB | 44 | 38 |
| italy.gon | H A D | 01-Dec-2019 | 956 | 267 | 266 |
| italy.gonstats | H A D | 01-Dec-2019 | 6 | 2 | 1 |
| italy.line | H A D | 01-Dec-2019 | 179.7 KiB | 10,551 | 10,550 |
| italy.linestats | H A D | 01-Dec-2019 | 8 | 2 | 1 |
| italy.name | H A D | 01-Dec-2019 | 2 KiB | 134 | 133 |
| lakes.gon | H A D | 01-Dec-2019 | 719 | 183 | 182 |
| lakes.gonstats | H A D | 01-Dec-2019 | 5 | 2 | 1 |
| lakes.line | H A D | 01-Dec-2019 | 162.1 KiB | 6,964 | 6,963 |
| lakes.linestats | H A D | 01-Dec-2019 | 7 | 2 | 1 |
| lakes.name | H A D | 01-Dec-2019 | 1.8 KiB | 92 | 91 |
| map.h | H A D | 02-Sep-2021 | 1.1 KiB | 50 | 42 |
| mapclip.c | H A D | 25-Sep-2021 | 19.8 KiB | 520 | 399 |
| mapget.c | H A D | 02-Sep-2021 | 16.5 KiB | 637 | 463 |
| nz.gon | H A D | 01-Dec-2019 | 145 | 45 | 44 |
| nz.gonstats | H A D | 01-Dec-2019 | 5 | 2 | 1 |
| nz.line | H A D | 01-Dec-2019 | 27.1 KiB | 1,597 | 1,596 |
| nz.linestats | H A D | 01-Dec-2019 | 8 | 2 | 1 |
| nz.name | H A D | 01-Dec-2019 | 460 | 23 | 22 |
| smooth.c | H A D | 01-Dec-2019 | 2.2 KiB | 104 | 94 |
| state.carto.gon | H A D | 01-Dec-2019 | 391 | 101 | 100 |
| state.carto.gonstats | H A D | 01-Dec-2019 | 5 | 2 | 1 |
| state.carto.line | H A D | 01-Dec-2019 | 6 KiB | 525 | 524 |
| state.carto.linestats | H A D | 01-Dec-2019 | 6 | 2 | 1 |
| state.carto.name | H A D | 01-Dec-2019 | 613 | 51 | 50 |
| state.gon | H A D | 01-Dec-2019 | 1.4 KiB | 127 | 126 |
| state.gonstats | H A D | 01-Dec-2019 | 6 | 2 | 1 |
| state.line | H A D | 01-Dec-2019 | 172.6 KiB | 2,714 | 2,713 |
| state.linestats | H A D | 01-Dec-2019 | 9 | 2 | 1 |
| state.name | H A D | 01-Dec-2019 | 1,009 | 64 | 63 |
| state.vbm.gon | H A D | 01-Dec-2019 | 391 | 101 | 100 |
| state.vbm.gonstats | H A D | 01-Dec-2019 | 5 | 2 | 1 |
| state.vbm.line | H A D | 01-Dec-2019 | 4.2 KiB | 495 | 494 |
| state.vbm.linestats | H A D | 01-Dec-2019 | 6 | 2 | 1 |
| state.vbm.name | H A D | 01-Dec-2019 | 613 | 51 | 50 |
| thin.c | H A D | 01-Dec-2019 | 4.8 KiB | 217 | 164 |
| usa.gon | H A D | 01-Dec-2019 | 74 | 21 | 20 |
| usa.gonstats | H A D | 01-Dec-2019 | 5 | 2 | 1 |
| usa.line | H A D | 01-Dec-2019 | 107.7 KiB | 1,475 | 1,474 |
| usa.linestats | H A D | 01-Dec-2019 | 9 | 2 | 1 |
| usa.name | H A D | 01-Dec-2019 | 154 | 11 | 10 |
| world.gon | H A D | 01-Dec-2019 | 19.1 KiB | 3,969 | 3,968 |
| world.gonstats | H A D | 01-Dec-2019 | 8 | 2 | 1 |
| world.line | H A D | 01-Dec-2019 | 1.9 MiB | 84,488 | 84,487 |
| world.linestats | H A D | 01-Dec-2019 | 10 | 2 | 1 |
| world.name | H A D | 15-Sep-2020 | 36.4 KiB | 1,628 | 1,627 |
| world2.gon | H A D | 01-Dec-2019 | 19.3 KiB | 4,006 | 4,005 |
| world2.gonstats | H A D | 01-Dec-2019 | 8 | 2 | 1 |
| world2.name | H A D | 17-Sep-2020 | 36.6 KiB | 1,640 | 1,639 |
README
1Notes on creating new map databases.
2
31) See the references:
4Richard A. Becker, and Allan R. Wilks,
5"Maps in S",
6emph{AT\&T Bell Laboratories Statistics Research Report [93.2], 1993.}
7
8Richard A. Becker, and Allan R. Wilks,
9"Constructing a Geographical Database",
10\emph{AT\&T Bell Laboratories Statistics Research Report [95.2], 1995.}
11
122) After the .line .gon and .n ascii files have been created or modified,
13rerun ./getstats.sh to generate the appropriate .linestats and .gonstats
14files.
15
163) Edit the Makefiles to add the appropriate names to the lists of
17.G, .L and .N files
18
194) Create the ../data/<mapname>.r file consisting of the assignment
20'<mapname>MapEnv <- "R_MAP_DATA_DIR"'. This sets the name of the
21environment variable, created at load time (see ../R/zzz.R), that
22specifies the location of the binary data files for this collection
23of maps. [The mapdata package uses a different environment variable.]
24
25Ray Brownrigg
2621 March 2009
27
28NOTES ADDED:
29
305) Packages like 'maptools' have functionality to read e.g. shapefile data into SpatialPolygon objects. The new function SpatialPolygons2map() can be used as a first step to load such map data from various sources into the maps package. However, the output is similar to that of map(..., fill=TRUE). It does not include polyline information.
31
326) There is an R package that can ease thet transition from polygon based data to polylines;
33https://githib.com:adeckmyn/mapMaker
34This package was used to convert the current world and lakes databases from polygons to polylines. Some manual work remains to be done, depending on how clean and consistent the original data is.
35
36Alex Deckmyn
3719 Januari 2015
38
39
40