• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..25-Sep-2021-

Gmake.cH A D01-Dec-20194.9 KiB241213

Lmake.cH A D01-Dec-20195.3 KiB249212

Makefile.inH A D28-Jan-20202.3 KiB8457

Makefile.winH A D28-Jan-20202.2 KiB7953

READMEH A D28-Jan-20201.6 KiB4027

convert.awkH A D01-Dec-2019524 2321

county.gonH A D01-Dec-2019107 KiB6,1716,170

county.gonstatsH A D01-Dec-20198 21

county.lineH A D01-Dec-2019936.7 KiB33,18633,185

county.linestatsH A D01-Dec-20199 21

county.nameH A D01-Dec-201969.6 KiB3,0863,085

france.gonH A D01-Dec-2019804 229228

france.gonstatsH A D01-Dec-20196 21

france.lineH A D01-Dec-2019248.4 KiB13,58213,581

france.linestatsH A D01-Dec-20198 21

france.nameH A D01-Dec-20191.7 KiB115114

getstats.shH A D01-Dec-2019322 1512

init.cH A D01-Dec-20192.3 KiB4438

italy.gonH A D01-Dec-2019956 267266

italy.gonstatsH A D01-Dec-20196 21

italy.lineH A D01-Dec-2019179.7 KiB10,55110,550

italy.linestatsH A D01-Dec-20198 21

italy.nameH A D01-Dec-20192 KiB134133

lakes.gonH A D01-Dec-2019719 183182

lakes.gonstatsH A D01-Dec-20195 21

lakes.lineH A D01-Dec-2019162.1 KiB6,9646,963

lakes.linestatsH A D01-Dec-20197 21

lakes.nameH A D01-Dec-20191.8 KiB9291

map.hH A D02-Sep-20211.1 KiB5042

mapclip.cH A D25-Sep-202119.8 KiB520399

mapget.cH A D02-Sep-202116.5 KiB637463

nz.gonH A D01-Dec-2019145 4544

nz.gonstatsH A D01-Dec-20195 21

nz.lineH A D01-Dec-201927.1 KiB1,5971,596

nz.linestatsH A D01-Dec-20198 21

nz.nameH A D01-Dec-2019460 2322

smooth.cH A D01-Dec-20192.2 KiB10494

state.carto.gonH A D01-Dec-2019391 101100

state.carto.gonstatsH A D01-Dec-20195 21

state.carto.lineH A D01-Dec-20196 KiB525524

state.carto.linestatsH A D01-Dec-20196 21

state.carto.nameH A D01-Dec-2019613 5150

state.gonH A D01-Dec-20191.4 KiB127126

state.gonstatsH A D01-Dec-20196 21

state.lineH A D01-Dec-2019172.6 KiB2,7142,713

state.linestatsH A D01-Dec-20199 21

state.nameH A D01-Dec-20191,009 6463

state.vbm.gonH A D01-Dec-2019391 101100

state.vbm.gonstatsH A D01-Dec-20195 21

state.vbm.lineH A D01-Dec-20194.2 KiB495494

state.vbm.linestatsH A D01-Dec-20196 21

state.vbm.nameH A D01-Dec-2019613 5150

thin.cH A D01-Dec-20194.8 KiB217164

usa.gonH A D01-Dec-201974 2120

usa.gonstatsH A D01-Dec-20195 21

usa.lineH A D01-Dec-2019107.7 KiB1,4751,474

usa.linestatsH A D01-Dec-20199 21

usa.nameH A D01-Dec-2019154 1110

world.gonH A D01-Dec-201919.1 KiB3,9693,968

world.gonstatsH A D01-Dec-20198 21

world.lineH A D01-Dec-20191.9 MiB84,48884,487

world.linestatsH A D01-Dec-201910 21

world.nameH A D15-Sep-202036.4 KiB1,6281,627

world2.gonH A D01-Dec-201919.3 KiB4,0064,005

world2.gonstatsH A D01-Dec-20198 21

world2.nameH A D17-Sep-202036.6 KiB1,6401,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