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.


Manual: maptools.pdf
Vignette: Combining Spatial Data

Maintainer: Roger Bivand <Roger.Bivand at>

Author(s): Roger Bivand*, Nicholas Lewin-Koh*, Edzer Pebesma*, Eric Archer*, Adrian Baddeley*, Nick Bearman*, Hans-Jörg Bibiko*, Steven Brey*, Jonathan Callahan*, German Carrillo*, Stéphane Dray*, David Forrest*, Michael Friendly*, Patrick Giraudoux*, Duncan Golicher*, Virgilio Gómez Rubio*, Patrick Hausmann*, Karl Ove Hufthammer*, Thomas Jagger*, Kent Johnson*, Sebastian Luque*, Don MacQueen*, Andrew Niccolai*, Edzer Pebesma*, Oscar Perpiñán Lamigueiro*, Tom Short*, Greg Snow*, Ben Stabler*, Murray Stokely*, Rolf Turner*

Install package and any missing dependencies by running this line in your R console:


Depends R (>= 2.10), sp(>=1.0-11)
Imports foreign(>=0.8), methods, grid, lattice, stats, utils, grDevices
Suggests rgeos(>=0.1-8), spatstat(>=1.18), PBSmapping, maps, RColorBrewer, raster, polyclip, spatstat.utils
Enhances gpclib, RArcInfo
Linking to
cleangeo, cshapes, DeducerSpatial, Digiroo2, geospacom, GISTools, GWmodel, helsinki, itcSegment, KappaV, lakemorpho, mapStats, McSpatial, micromap, monographaR, Nippon, pycno, qrfactor, rCarto, rKIN, shp2graph, spatialClust, StreamMetabolism, ternvis, UScensus2000cdp, UScensus2000tract, UScensus2010, Watersheds
aoristic, BayesX, biogeo, BPEC, capm, ConR, dynatopmodel, ecospat, eeptools, EMbC, emdi, FLightR, GADMTools, gaiah, geojsonio, ggsn, ggspatial, gridsample, hyfo, IceCast, iSDM, LabourMarketAreas, letsR, lgcp, magclass, MapGAM, MetaLandSim, moveVis, oceanmap, openadds, opentraj, pgirmess, plotGoogleMaps, prevR, PWFSLSmoke, qlcVisualize, rangeMapper, rAvis, RchivalTag, red, rworldmap, secrlinear, SeerMapper, SpatialEpi, SpatialEpiApp, SSN, stampr, STMedianPolish, stplanr, SWMPr, tigris, trip, tweet2r, vdmR, vetools, vmsbase, wallace, windfarmGA
ade4, adegraphics, adehabitatHR, adehabitatHS, adehabitatLT, adehabitatMA, adespatial, ALA4R, AMOEBA, aqp, automap, bamlss, BIEN, BiodiversityR, broom, CARBayes, cartogram, ckanr, dismo, eechidna, ENMeval, gamlss.spatial, GeoXp, ggplot2, graticule, GSIF, gstat, Guerry, HSAR, HSAUR3, hydroTSM, inlmisc, knitrBootstrap, mapr, maps, mosaic, move, OpenStreetMap, osmplotr, PBSmapping, plotKML, prabclus, prettymapr, R2BayesX, rangemodelR, rgeos, RgoogleMaps, RGraphics, rioja, RObsDat, SDMPlay, secr, sf, shadow, SiMRiv, sos4R, sp, spacetime, spatstat, spbabel, spdep, spdplyr, speciesgeocodeR, spgwr, subniche, surveillance, TeachingDemos, TSP
linking to

Package maptools
Task Views Spatial
Version 0.9-2
Published 2017-03-25
License GPL (>= 2)
NeedsCompilation yes
CRAN checks maptools check results
Package source maptools_0.9-2.tar.gz