maptools: Tools for Reading and Handling Spatial Objects
Version 0.9-2

Set of tools for manipulating and reading geographic data, in particular 'ESRI Shapefiles'; C code used from 'shapelib'. It includes binary access to 'GSHHG' shoreline files. The package also provides interface wrappers for exchanging spatial objects with packages such as 'PBSmapping', 'spatstat', 'maps', 'RArcInfo', 'Stata tmap', 'WinBUGS', 'Mondrian', and others.

Browse man pages Browse package API and functions Browse package files

AuthorRoger Bivand [cre, aut], Nicholas Lewin-Koh [aut], Edzer Pebesma [ctb], Eric Archer [ctb], Adrian Baddeley [ctb], Nick Bearman [ctb], Hans-Jörg Bibiko [ctb], Steven Brey [ctb], Jonathan Callahan [ctb], German Carrillo [ctb], Stéphane Dray [ctb], David Forrest [ctb], Michael Friendly [ctb], Patrick Giraudoux [ctb], Duncan Golicher [ctb], Virgilio Gómez Rubio [ctb], Patrick Hausmann [ctb], Karl Ove Hufthammer [ctb], Thomas Jagger [ctb], Kent Johnson [ctb], Sebastian Luque [ctb], Don MacQueen [ctb], Andrew Niccolai [ctb], Edzer Pebesma [ctb], Oscar Perpiñán Lamigueiro [ctb], Tom Short [ctb], Greg Snow [ctb], Ben Stabler [ctb], Murray Stokely [ctb], Rolf Turner [ctb]
Date of publication2017-04-05 10:16:01
MaintainerRoger Bivand <Roger.Bivand@nhh.no>
LicenseGPL (>= 2)
Version0.9-2
URL http://r-forge.r-project.org/projects/maptools/
Package repositoryView on R-Forge
InstallationInstall the latest version of this package by entering the following in R:
install.packages("maptools", repos="http://R-Forge.R-project.org")

Man pages

asciigrid: read/write to/from (ESRI) asciigrid format
as.linnet.SpatialLines: Convert SpatialLines to Linear Network
as.ppp: coercion between sp objects and spatstat objects
CCmaps: Conditioned choropleth maps
checkPolygonsHoles: Check holes in Polygons objects
ContourLines2SLDF: Converter functions to build SpatialLinesDataFrame objects
dotsInPolys: Put dots in polygons
elide-methods: Methods for Function elide in Package 'maptools'
gcDestination: Find destination in geographical coordinates
GE_SpatialGrid: Create SpatialGrid for PNG output to GE
getinfo.shape: Get shapefile header information
getKMLcoordinates: Get a list of coordinates out of a KML file
gzAzimuth: Find azimuth for geographical coordinates
holepolys: Hisaji Ono's lake/hole problem
kmlLine: Create and write a KML file on the basis of a given Lines...
kmlLines: Create and write a KML file on the basis of a given Lines...
kmlOverlay: Create and write KML file for PNG image overlay
kmlPoints: Create and write a KML file on the basis of a given Points...
kmlPolygon: Create and write a KML file on the basis of a given Polygons...
kmlPolygons: Create and write a KML file on the basis of a given Polygons...
leglabs: Make legend labels
lineLabel: Line label placement with spplot and lattice.
map2SpatialPolygons: Convert map objects to sp classes
nearestPointOnLine: Get the nearest point on a line to a given point
nearestPointOnSegment: Get the nearest point on a segment to a given point
nowrapRecenter: Break polygons at meridian for recentering
nowrapSpatialLines: Split SpatialLines components at offset
pal2SpatialPolygons: Making SpatialPolygons objects from RArcInfo input
pointLabelBase: Label placement for points to avoid overlaps
pointLabelLattice: Label placement with spplot and lattice.
ppp: Virtual class "ppp"
readGPS: GPSbabel read interface
readShapeLines: Read arc shape files into SpatialLinesDataFrame objects
readShapePoints: Read points shape files into SpatialPointsDataFrame objects
readShapePoly: Read polygon shape files into SpatialPolygonsDataFrame...
readShapeSpatial: Read shape files into Spatial*DataFrame objects
readSplus: Read exported WinBUGS maps
Rgshhs: Read GSHHS data into sp object
snapPointsToLines: Snap a set of points to a set of lines
sp2Mondrian: write map data for Mondrian
sp2tmap: Convert SpatialPolygons object for Stata tmap command
sp2WB: Export SpatialPolygons object as S-Plus map for WinBUGS
SpatialLines2PolySet: Convert sp line and polygon objects to PBSmapping PolySet...
SpatialLinesMidPoints: Line midpoints
spCbind-methods: cbind for spatial objects
SplashDams: Data for Splash Dams in western Oregon
spRbind-methods: rbind for spatial objects
state.vbm: US State Visibility Based Map
sun-methods: Methods for sun ephemerides calculations
symbolsInPolys: Place grids of points over polygons
thinnedSpatialPoly: Douglas-Peuker line generalization for Spatial Polygons
unionSpatialPolygons: Aggregate Polygons in a SpatialPolygons object
wrld_simpl: Simplified world country polygons

Functions

ArcObj2SLDF Man page Source code
CCmaps Man page Source code
ContourLines2SLDF Man page Source code
GE_SpatialGrid Man page Source code
Map2PolyDF Source code
Map2SPDF Source code
Map2bbs Source code
Map2lines Source code
Map2maplim Source code
Map2points Source code
Map2poly Source code
Map2poly1 Source code
MapGen2SL Man page Source code
MapShapeIds Source code
NAmat2xyList Source code
PolySet2SpatialLines Man page Source code
PolySet2SpatialPolygons Man page Source code
Rgshhs Man page Source code
RingCentrd_2d Source code
SP2owin Source code
Shape2Mondrian Source code
Sobj_SpatialGrid Man page Source code
SpL2lineslist Source code
SpP2polylist Source code
SpatialLines2PolySet Man page Source code
SpatialLinesMidPoints Man page Source code
SpatialPolygons2PolySet Man page Source code
SpatialPolygons2map Source code
SplashDams Man page
as.SpatialGridDataFrame.im Man page Source code
as.SpatialGridDataFrame.ppp Man page Source code
as.SpatialLines.psp Man page Source code
as.SpatialPoints.ppp Man page Source code
as.SpatialPointsDataFrame.ppp Man page Source code
as.SpatialPolygons.owin Man page Source code
as.SpatialPolygons.tess Man page Source code
as.im.RasterLayer Man page Source code
as.im.SpatialGridDataFrame Man page Source code
as.linnet.SpatialLines Man page Source code
as.owin.SpatialGridDataFrame Man page Source code
as.owin.SpatialPixelsDataFrame Man page Source code
as.owin.SpatialPolygons Man page Source code
as.ppp.SpatialGridDataFrame Man page
as.ppp.SpatialPoints Man page Source code
as.ppp.SpatialPointsDataFrame Man page Source code
as.psp.Line Man page Source code
as.psp.Lines Man page Source code
as.psp.SpatialLines Man page Source code
as.psp.SpatialLinesDataFrame Man page Source code
asSpatialPolygonsShapes Source code
cbindSpatialLinesDataFrame Source code
cbindSpatialLinesDataFramev Source code
cbindSpatialPointsDataFrame Source code
cbindSpatialPointsDataFramev Source code
cbindSpatialPolygonsDataFrame Source code
cbindSpatialPolygonsDataFramev Source code
checkPolygonsGEOS Source code
checkPolygonsHoles Man page Source code
coerce,Line,psp-method Man page
coerce,Lines,psp-method Man page
coerce,RasterLayer,im-method Man page
coerce,SpatialGridDataFrame,im-method Man page
coerce,SpatialGridDataFrame,owin-method Man page
coerce,SpatialLines,linnet-method Man page
coerce,SpatialLines,psp-method Man page
coerce,SpatialLinesDataFrame,linnet-method Man page
coerce,SpatialLinesDataFrame,psp-method Man page
coerce,SpatialPixelsDataFrame,owin-method Man page
coerce,SpatialPoints,ppp-method Man page
coerce,SpatialPointsDataFrame,ppp-method Man page
coerce,SpatialPolygons,owin-method Man page
coerce,im,SpatialGridDataFrame-method Man page
coerce,owin,SpatialPolygons-method Man page
coerce,ppp,SpatialGridDataFrame-method Man page
coerce,ppp,SpatialPoints-method Man page
coerce,ppp,SpatialPointsDataFrame-method Man page
coerce,psp,SpatialLines-method Man page
coerce,tess,SpatialPolygons-method Man page
color.ramp Source code
contourLines2LineList Source code
convert.pl Source code
crepuscule Man page
crepuscule,SpatialPoints,POSIXct-method Man page
crepuscule,matrix,POSIXct-method Man page
crepuscule-methods Man page
dotsInPolys Man page Source code
dp_func Source code
drawDetails.labels Source code
elide Man page
elide,SpatialLines-method Man page
elide,SpatialLinesDataFrame-method Man page
elide,SpatialPoints-method Man page
elide,SpatialPointsDataFrame-method Man page
elide,SpatialPolygons-method Man page
elide,SpatialPolygonsDataFrame-method Man page
elide-methods Man page
elide.lines Source code
elide.linesdf Source code
elide.points Source code
elide.pointsdf Source code
elide.polygons Source code
elide.polygonsdf Source code
elideCoords Source code
gcDestination Man page Source code
get.Pcent Source code
get.polybbs Source code
get.polylist Source code
get.polylist1 Source code
getKMLcoordinates Man page Source code
getMidpoint Source code
getMultiShp Source code
getMultiShp1 Source code
getMultishape Source code
getRgshhsMap Man page Source code
getinfo.shape Man page Source code
gpcholes Man page
gpclibPermit Man page Source code
gpclibPermitStatus Man page Source code
gzAzimuth Man page Source code
h1pl Man page
h2pl Man page
im-class Man page
kmlLine Man page Source code
kmlLines Man page Source code
kmlOverlay Man page Source code
kmlPoints Man page Source code
kmlPolygon Man page Source code
kmlPolygons Man page Source code
label Man page
label,SpatialLines-method Man page
label-methods Man page
leglabs Man page Source code
lineLabel Man page Source code
makePolylistValid Source code
map2SpatialLines Man page Source code
map2SpatialPolygons Man page Source code
maplimFromBbox Source code
maptools Source code
mixedorder Source code
mixedsort Source code
mtInsiders Source code
mtafters Source code
mtcircs Source code
mtlbuild Source code
mtlbuild1 Source code
nParts.shpI Source code
nearestPointOnLine Man page Source code
nearestPointOnSegment Man page Source code
nowrapLines Source code
nowrapPolygons Source code
nowrapRecenter Man page Source code
nowrapSpatialLines Man page Source code
nowrapSpatialPolygons Man page Source code
onAttach Source code
onLoad Source code
onUnload Source code
owin-class Man page
owin2Polygons Source code
pal2SpatialPolygons Man page Source code
panel.pointLabel Man page Source code
pbsproj Source code
plot.Map Source code
plot.polylist Source code
plotpolys Source code
pointLabel Man page Source code
polygonholes Source code
polylist2SpP Source code
ppp-class Man page
print.shapehead Man page Source code
pruneMap Man page Source code
psp-class Man page
qibla Source code
rbindSpatialLines Source code
rbindSpatialLinesDataFrame Source code
rbindSpatialPoints Source code
rbindSpatialPointsDataFrame Source code
rbindSpatialPolygons Source code
rbindSpatialPolygonsDataFrame Source code
read.shape Source code
readAsciiGrid Man page Source code
readGPS Man page Source code
readShapeLines Man page Source code
readShapePoints Man page Source code
readShapePoly Man page Source code
readShapeSpatial Man page Source code
readSplus Man page Source code
rgeosStatus Man page Source code
ringDir Source code
ringDirxy Source code
ringDirxy_gpc Source code
rotateCoords Source code
sValidPolylist Source code
scaleCoords Source code
setRgeosStatus Source code
shape2bbs Source code
shape2lines Source code
shape2points Source code
shape2poly Source code
shapes2LinesList Source code
shp2LinesDF Source code
shp2maplim Source code
shp2srsI Source code
snapPointsToLines Man page Source code
solarnoon Man page
solarnoon,SpatialPoints,POSIXct-method Man page
solarnoon,matrix,POSIXct-method Man page
solarnoon-methods Man page
solarpos Man page
solarpos,SpatialPoints,POSIXct-method Man page
solarpos,matrix,POSIXct-method Man page
solarpos-methods Man page
sp.lineLabel Man page
sp.lineLabel,Lines-method Man page
sp.lineLabel,SpatialLines-method Man page
sp.lineLabel-methods Man page
sp.pointLabel Man page
sp.pointLabel,SpatialPoints-method Man page
sp.pointLabel-methods Man page
sp2Mondrian Man page Source code
sp2WB Man page Source code
sp2tmap Man page Source code
spCbind Man page
spCbind,SpatialLinesDataFrame,data.frame-method Man page
spCbind,SpatialLinesDataFrame,vector-method Man page
spCbind,SpatialPointsDataFrame,data.frame-method Man page
spCbind,SpatialPointsDataFrame,vector-method Man page
spCbind,SpatialPolygonsDataFrame,data.frame-method Man page
spCbind,SpatialPolygonsDataFrame,vector-method Man page
spCbind-methods Man page
spRbind Man page
spRbind,SpatialLines,SpatialLines-method Man page
spRbind,SpatialLinesDataFrame,SpatialLinesDataFrame-method Man page
spRbind,SpatialPoints,SpatialPoints-method Man page
spRbind,SpatialPointsDataFrame,SpatialPointsDataFrame-method Man page
spRbind,SpatialPolygons,SpatialPolygons-method Man page
spRbind,SpatialPolygonsDataFrame,SpatialPolygonsDataFrame-method Man page
spRbind-methods Man page
state.vbm Man page
subset.polylist Source code
sunriset Man page
sunriset,SpatialPoints,POSIXct-method Man page
sunriset,matrix,POSIXct-method Man page
sunriset-methods Man page
symbolsInPolys Man page Source code
thinnedSpatialPoly Man page Source code
trackAzimuth Man page Source code
unionSpatialPolygons Man page Source code
write.linelistShape Source code
write.pointShape Source code
write.polylistShape Source code
writeAsciiGrid Man page Source code
writeLinesShape Man page Source code
writePointsShape Man page Source code
writePolyShape Man page Source code
writeSpatialShape Man page Source code
wrld_simpl Man page
xyList2NAmat Source code

Files

ChangeLog
DESCRIPTION
NAMESPACE
R
R/AAA.R
R/CCmaps.R
R/DP.R
R/GE_png.R
R/Rgshhs.R
R/SP2owin.R
R/Spatial-methods.R
R/SpatialLines-methods.R
R/SpatialPoints-methods.R
R/SpatialPolys-methods.R
R/as.linnet.SL.R
R/asciigrid.R
R/azimuth.R
R/checkHoles.R
R/colslegs.R
R/dotsinpolys.R
R/elide.R
R/gc_dist.R
R/getKMLcoordinates.R
R/kmlLine.R
R/kmlLines.R
R/kmlPoints.R
R/kmlPolygon.R
R/kmlPolygons.R
R/lineLabel.R
R/maptools.R
R/maptoolsChanges.R
R/midpoint.R
R/nowrapRecenter.R
R/pcent.R
R/plot.Map.R
R/point.in.polygon.R
R/pointLabelBase.R
R/pointLabelLattice.R
R/point_line_distance.R
R/readGPS.R
R/readSplus.R
R/shapelib.R
R/sp2Mondrian.R
R/sp2WB.R
R/sp2pbs.R
R/sp2tmap.R
R/sp_bind.R
R/sp_spat1.R
R/sp_tools.R
R/spatstat1.R
R/spmaps.R
R/subset.R
R/sun-methods.R
R/sun.R
R/union.R
R/zzz.R
build
build/vignette.rds
data
data/SplashDams.rda
data/gpcholes.rda
data/state.vbm.rda
data/wrld_simpl.rda
inst
inst/ChangeLog
inst/README
inst/changes
inst/doc
inst/doc/combine_maptools.R
inst/doc/combine_maptools.Rnw
inst/doc/combine_maptools.pdf
inst/grids
inst/grids/simple.ag
inst/grids/test.ag
inst/shapes
inst/shapes/Testing.kml
inst/shapes/baltim.dbf
inst/shapes/baltim.shp
inst/shapes/baltim.shx
inst/shapes/co37_d90.dbf
inst/shapes/co37_d90.shp
inst/shapes/co37_d90.shx
inst/shapes/co45_d90.dbf
inst/shapes/co45_d90.shp
inst/shapes/co45_d90.shx
inst/shapes/co51_d90.dbf
inst/shapes/co51_d90.shp
inst/shapes/co51_d90.shx
inst/shapes/columbus.dbf
inst/shapes/columbus.shp
inst/shapes/columbus.shx
inst/shapes/fylk-val-ll.dbf
inst/shapes/fylk-val-ll.shp
inst/shapes/fylk-val-ll.shx
inst/shapes/fylk-val.dbf
inst/shapes/fylk-val.shp
inst/shapes/fylk-val.shx
inst/shapes/pointZ.dbf
inst/shapes/pointZ.prj
inst/shapes/pointZ.shp
inst/shapes/pointZ.shx
inst/shapes/sids.dbf
inst/shapes/sids.shp
inst/shapes/sids.shx
inst/share
inst/share/90mfips.txt
inst/share/Splus.map
inst/share/co37_d90.e00
inst/share/gshhs_c.b
inst/share/nc_xtra.dbf
inst/share/wdb_borders_c.b
man
man/CCmaps.Rd
man/ContourLines2SLDF.Rd
man/GE_SpatialGrid.Rd
man/Rgshhs.Rd
man/SpatialLines2PolySet.Rd
man/SpatialLinesMidPoints.Rd
man/SplashDams.Rd
man/as.linnet.SpatialLines.Rd
man/as.ppp.Rd
man/asciigrid.Rd
man/checkPolygonsHoles.Rd
man/dotsInPolys.Rd
man/elide-methods.Rd
man/gcDestination.Rd
man/getKMLcoordinates.Rd
man/getinfo.shape.Rd
man/gzAzimuth.Rd
man/holepolys.Rd
man/kmlLine.Rd
man/kmlLines.Rd
man/kmlOverlay.Rd
man/kmlPoints.Rd
man/kmlPolygon.Rd
man/kmlPolygons.Rd
man/leglabs.Rd
man/lineLabel.Rd
man/map2SpatialPolygons.Rd
man/nearestPointOnLine.Rd
man/nearestPointOnSegment.Rd
man/nowrapRecenter.Rd
man/nowrapSpatialLines.Rd
man/pal2SpatialPolygons.Rd
man/pointLabelBase.Rd
man/pointLabelLattice.Rd
man/ppp.Rd
man/readGPS.Rd
man/readShapeLines.Rd
man/readShapePoints.Rd
man/readShapePoly.Rd
man/readShapeSpatial.Rd
man/readSplus.Rd
man/snapPointsToLines.Rd
man/sp2Mondrian.Rd
man/sp2WB.Rd
man/sp2tmap.Rd
man/spCbind-methods.Rd
man/spRbind-methods.Rd
man/state.vbm.Rd
man/sun-methods.Rd
man/symbolsInPolys.Rd
man/thinnedSpatialPoly.Rd
man/unionSpatialPolygons.Rd
man/wrld_simpl.Rd
src
src/Rcentroid.c
src/Rgshhs.c
src/Rgshhs.h
src/Rshapeget.c
src/Rshapeinfo.c
src/Rshapewrite.c
src/Rshapewrite1.c
src/init.c
src/insiders.c
src/maptools.h
src/pip.c
src/shapefil.h
src/shpopen.c
src/shptree.c
vignettes
vignettes/combine_maptools.Rnw
maptools documentation built on May 21, 2017, 12:43 a.m.