maptools: Tools for Reading and Handling Spatial Objects

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.

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
http://r-forge.r-project.org/projects/maptools/

View on R-Forge

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
as.im.RasterLayer Man page
as.im.SpatialGridDataFrame Man page
as.linnet.SpatialLines Man page
as.owin.SpatialGridDataFrame Man page
as.owin.SpatialPixelsDataFrame Man page
as.owin.SpatialPolygons Man page
as.ppp.SpatialGridDataFrame Man page
as.ppp.SpatialPoints Man page
as.ppp.SpatialPointsDataFrame Man page
as.psp.Line Man page
as.psp.Lines Man page
as.psp.SpatialLines Man page
as.psp.SpatialLinesDataFrame Man page
as.SpatialGridDataFrame.im Man page
as.SpatialGridDataFrame.ppp Man page
as.SpatialLines.psp Man page
as.SpatialPointsDataFrame.ppp Man page
as.SpatialPoints.ppp Man page
as.SpatialPolygons.owin Man page
as.SpatialPolygons.tess Man page
CCmaps Man page
checkPolygonsHoles Man page
coerce,im,SpatialGridDataFrame-method Man page
coerce,Line,psp-method Man page
coerce,Lines,psp-method Man page
coerce,owin,SpatialPolygons-method Man page
coerce,ppp,SpatialGridDataFrame-method Man page
coerce,ppp,SpatialPointsDataFrame-method Man page
coerce,ppp,SpatialPoints-method Man page
coerce,psp,SpatialLines-method Man page
coerce,RasterLayer,im-method Man page
coerce,SpatialGridDataFrame,im-method Man page
coerce,SpatialGridDataFrame,owin-method Man page
coerce,SpatialLinesDataFrame,linnet-method Man page
coerce,SpatialLinesDataFrame,psp-method Man page
coerce,SpatialLines,linnet-method Man page
coerce,SpatialLines,psp-method Man page
coerce,SpatialPixelsDataFrame,owin-method Man page
coerce,SpatialPointsDataFrame,ppp-method Man page
coerce,SpatialPoints,ppp-method Man page
coerce,SpatialPolygons,owin-method Man page
coerce,tess,SpatialPolygons-method Man page
ContourLines2SLDF Man page
crepuscule Man page
crepuscule,matrix,POSIXct-method Man page
crepuscule-methods Man page
crepuscule,SpatialPoints,POSIXct-method Man page
dotsInPolys Man page
elide Man page
elide-methods Man page
elide,SpatialLinesDataFrame-method Man page
elide,SpatialLines-method Man page
elide,SpatialPointsDataFrame-method Man page
elide,SpatialPoints-method Man page
elide,SpatialPolygonsDataFrame-method Man page
elide,SpatialPolygons-method Man page
gcDestination Man page
GE_SpatialGrid Man page
getinfo.shape Man page
getKMLcoordinates Man page
getRgshhsMap Man page
gpcholes Man page
gpclibPermit Man page
gpclibPermitStatus Man page
gzAzimuth Man page
h1pl Man page
h2pl Man page
im-class Man page
kmlLine Man page
kmlLines Man page
kmlOverlay Man page
kmlPoints Man page
kmlPolygon Man page
kmlPolygons Man page
label Man page
label-methods Man page
label,SpatialLines-method Man page
leglabs Man page
lineLabel Man page
map2SpatialLines Man page
map2SpatialPolygons Man page
MapGen2SL Man page
nearestPointOnLine Man page
nearestPointOnSegment Man page
nowrapRecenter Man page
nowrapSpatialLines Man page
nowrapSpatialPolygons Man page
owin-class Man page
pal2SpatialPolygons Man page
panel.pointLabel Man page
pointLabel Man page
PolySet2SpatialLines Man page
PolySet2SpatialPolygons Man page
ppp-class Man page
print.shapehead Man page
pruneMap Man page
psp-class Man page
readAsciiGrid Man page
readGPS Man page
readShapeLines Man page
readShapePoints Man page
readShapePoly Man page
readShapeSpatial Man page
readSplus Man page
rgeosStatus Man page
Rgshhs Man page
snapPointsToLines Man page
Sobj_SpatialGrid Man page
solarnoon Man page
solarnoon,matrix,POSIXct-method Man page
solarnoon-methods Man page
solarnoon,SpatialPoints,POSIXct-method Man page
solarpos Man page
solarpos,matrix,POSIXct-method Man page
solarpos-methods Man page
solarpos,SpatialPoints,POSIXct-method Man page
sp2Mondrian Man page
sp2tmap Man page
sp2WB Man page
SpatialLines2PolySet Man page
SpatialLinesMidPoints Man page
SpatialPolygons2PolySet Man page
spCbind Man page
spCbind-methods 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
SplashDams Man page
sp.lineLabel Man page
sp.lineLabel,Lines-method Man page
sp.lineLabel-methods Man page
sp.lineLabel,SpatialLines-method Man page
sp.pointLabel Man page
sp.pointLabel-methods Man page
sp.pointLabel,SpatialPoints-method Man page
spRbind Man page
spRbind-methods Man page
spRbind,SpatialLinesDataFrame,SpatialLinesDataFrame-method Man page
spRbind,SpatialLines,SpatialLines-method Man page
spRbind,SpatialPointsDataFrame,SpatialPointsDataFrame-method Man page
spRbind,SpatialPoints,SpatialPoints-method Man page
spRbind,SpatialPolygonsDataFrame,SpatialPolygonsDataFrame-method Man page
spRbind,SpatialPolygons,SpatialPolygons-method Man page
state.vbm Man page
sunriset Man page
sunriset,matrix,POSIXct-method Man page
sunriset-methods Man page
sunriset,SpatialPoints,POSIXct-method Man page
symbolsInPolys Man page
thinnedSpatialPoly Man page
trackAzimuth Man page
unionSpatialPolygons Man page
writeAsciiGrid Man page
writeLinesShape Man page
writePointsShape Man page
writePolyShape Man page
writeSpatialShape Man page
wrld_simpl Man page

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.