# Tools for Handling Spatial Objects

## Documentation for package ‘maptools’ version 0.9-9

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A C D E G H I K L M N O P R S T U W

## -- A --

ArcObj2SLDF | Converter functions to build SpatialLinesDataFrame objects
as.im.RasterLayer | Coercion between sp objects and spatstat im objects
as.im.SpatialGridDataFrame | Coercion between sp objects and spatstat im objects
as.linnet.SpatialLines | Convert SpatialLines to Linear Network
as.owin.SpatialGridDataFrame | Coercion between sp objects and spatstat owin objects
as.owin.SpatialPixelsDataFrame | Coercion between sp objects and spatstat owin objects
as.owin.SpatialPolygons | Coercion between sp objects and spatstat owin objects
as.ppp.SpatialPoints | Coercion between sp objects and spatstat ppp objects
as.ppp.SpatialPointsDataFrame | Coercion between sp objects and spatstat ppp objects
as.psp.Line | Coercion between sp objects and spatstat psp objects
as.psp.Lines | Coercion between sp objects and spatstat psp objects
as.psp.SpatialLines | Coercion between sp objects and spatstat psp objects
as.psp.SpatialLinesDataFrame | Coercion between sp objects and spatstat psp objects
as.SpatialGridDataFrame.im | Coercion between sp objects and spatstat im objects
as.SpatialGridDataFrame.ppp | Coercion between sp objects and spatstat ppp objects
as.SpatialLines.psp | Coercion between sp objects and spatstat psp objects
as.SpatialPoints.ppp | Coercion between sp objects and spatstat ppp objects
as.SpatialPointsDataFrame.ppp | Coercion between sp objects and spatstat ppp objects
as.SpatialPolygons.owin | Coercion between sp objects and spatstat owin objects
as.SpatialPolygons.tess | Coercion of spatstat tess object to sp SpatialPolygons object

## -- C --

CCmaps | Conditioned choropleth maps
checkPolygonsHoles | Check holes in Polygons objects
coerce-method | Coercion of spatstat tess object to sp SpatialPolygons object
coerce-method | Coercion between sp objects and spatstat im objects
coerce-method | Convert SpatialLines to Linear Network
coerce-method | Coercion between sp objects and spatstat owin objects
coerce-method | Coercion between sp objects and spatstat ppp objects
coerce-method | Coercion between sp objects and spatstat psp objects
ContourLines2SLDF | Converter functions to build SpatialLinesDataFrame objects
crepuscule | Methods for sun ephemerides calculations
crepuscule-method | Methods for sun ephemerides calculations
crepuscule-methods | Methods for sun ephemerides calculations

## -- D --

dotsInPolys | Put dots in polygons

## -- E --

elide | Methods for Function elide in Package 'maptools'
elide-method | Methods for Function elide in Package 'maptools'
elide-methods | Methods for Function elide in Package 'maptools'

## -- G --

gcDestination | Find destination in geographical coordinates
getinfo.shape | Get shapefile header information
getKMLcoordinates | Get a list of coordinates out of a KML file
getRgshhsMap | Read GSHHS data into sp object
GE_SpatialGrid | Create SpatialGrid for PNG output to GE
gpcholes | Hisaji Ono's lake/hole problem
gpclibPermit | Check holes in Polygons objects
gpclibPermitStatus | Check holes in Polygons objects
gzAzimuth | Find azimuth for geographical coordinates

## -- H --

h1pl | Hisaji Ono's lake/hole problem
h2pl | Hisaji Ono's lake/hole problem

## -- I --

im-class | Virtual class "ppp"

## -- K --

kmlLine | Create and write a KML file on the basis of a given Lines object
kmlLines | Create and write a KML file on the basis of a given Lines object
kmlOverlay | Create and write KML file for PNG image overlay
kmlPoints | Create and write a KML file on the basis of a given Points object
kmlPolygon | Create and write a KML file on the basis of a given Polygons object
kmlPolygons | Create and write a KML file on the basis of a given Polygons object or list of Polygons or SpatialPolygonsDataFrame

## -- L --

label | Line label placement with spplot and lattice.
label-method | Line label placement with spplot and lattice.
label-methods | Line label placement with spplot and lattice.
leglabs | Make legend labels
lineLabel | Line label placement with spplot and lattice.

## -- M --

map2SpatialLines | Convert map objects to sp classes
map2SpatialPolygons | Convert map objects to sp classes
MapGen2SL | Converter functions to build SpatialLinesDataFrame objects

## -- N --

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
nowrapSpatialPolygons | Break polygons at meridian for recentering

## -- O --

owin-class | Virtual class "ppp"

## -- P --

pal2SpatialPolygons | Making SpatialPolygons objects from RArcInfo input
panel.pointLabel | Label placement with spplot and lattice.
pointLabel | Label placement for points to avoid overlaps
PolySet2SpatialLines | Convert sp line and polygon objects to PBSmapping PolySet objects
PolySet2SpatialPolygons | Convert sp line and polygon objects to PBSmapping PolySet objects
ppp-class | Virtual class "ppp"
print.shapehead | Get shapefile header information
pruneMap | Convert map objects to sp classes
psp-class | Virtual class "ppp"

## -- R --

readAsciiGrid | read/write to/from (ESRI) asciigrid format
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 objects
readShapeSpatial | Read shape files into Spatial*DataFrame objects
readSplus | Read exported WinBUGS maps
rgeosStatus | Check holes in Polygons objects
Rgshhs | Read GSHHS data into sp object

## -- S --

snapPointsToLines | Snap a set of points to a set of lines
Sobj_SpatialGrid | Create SpatialGrid for PNG output to GE
solarnoon | Methods for sun ephemerides calculations
solarnoon-method | Methods for sun ephemerides calculations
solarnoon-methods | Methods for sun ephemerides calculations
solarpos | Methods for sun ephemerides calculations
solarpos-method | Methods for sun ephemerides calculations
solarpos-methods | Methods for sun ephemerides calculations
sp.lineLabel | Line label placement with spplot and lattice.
sp.lineLabel-method | Line label placement with spplot and lattice.
sp.lineLabel-methods | Line label placement with spplot and lattice.
sp.pointLabel | Label placement with spplot and lattice.
sp.pointLabel-method | Label placement with spplot and lattice.
sp.pointLabel-methods | Label placement with spplot and lattice.
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 objects
SpatialLinesMidPoints | Line midpoints
SpatialPolygons2PolySet | Convert sp line and polygon objects to PBSmapping PolySet objects
spCbind | cbind for spatial objects
spCbind-method | cbind for spatial objects
spCbind-methods | cbind for spatial objects
SplashDams | Data for Splash Dams in western Oregon
spRbind | rbind for spatial objects
spRbind-method | rbind for spatial objects
spRbind-methods | rbind for spatial objects
state.vbm | US State Visibility Based Map
sunriset | Methods for sun ephemerides calculations
sunriset-method | Methods for sun ephemerides calculations
sunriset-methods | Methods for sun ephemerides calculations
symbolsInPolys | Place grids of points over polygons

## -- T --

thinnedSpatialPoly | Douglas-Peuker line generalization for Spatial Polygons
trackAzimuth | Find azimuth for geographical coordinates

## -- U --

unionSpatialPolygons | Aggregate Polygons in a SpatialPolygons object

## -- W --

writeAsciiGrid | read/write to/from (ESRI) asciigrid format
writeLinesShape | Read arc shape files into SpatialLinesDataFrame objects
writePointsShape | Read points shape files into SpatialPointsDataFrame objects
writePolyShape | Read polygon shape files into SpatialPolygonsDataFrame objects
writeSpatialShape | Read shape files into Spatial*DataFrame objects
wrld_simpl | Simplified world country polygons