Learn R Programming

⚠️There's a newer version (1.1-8) of this package.Take me there.

maptools (version 0.8-3)

Tools for reading and handling spatial objects

Description

Set of tools for manipulating and reading geographic data, in particular ESRI shapefiles; C code used from shapelib. It includes binary access to GSHHS 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.

Copy Link

Version

Install

install.packages('maptools')

Monthly Downloads

1,089

Version

0.8-3

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

March 21st, 2011

Functions in maptools (0.8-3)

plot.polylist

Plot polygons
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
checkPolygonsHoles

Check holes in Polygons objects
getinfo.shape

Get shapefile header information
get.Pcent

Polygon centroids
pointLabel

Label placement for points to avoid overlaps
as.ppp

coercion between sp objects and spatstat objects
kmlPolygon

Create and write a KML file on the basis of a given Polygons object
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
maptools

Report version information and changes
map2SpatialPolygons

Convert map objects to sp classes
write.pointShape

Write a point-type shapefile
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
write.linelistShape

Write a arc-type shapefile
readSplus

Read exported WinBUGS maps
spCbind-methods

cbind for spatial objects
read.shape

Read shapefile into Map object
gpcholes

Hisaji Ono's lake/hole problem
sun-methods

Methods for sun ephemerides calculations
plot.Map

Plot a Map object (deprecated)
leglabs

Make legend labels
ppp-class

Virtual class "ppp"
spRbind-methods

rbind for spatial objects
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
nowrapRecenter

Break polygons at meridian for recentering
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
wrld_simpl

Simplified world country polygons
sp2Mondrian

write map data for Mondrian
gcDestination

Find destination in geographical coordinates
write.polylistShape

Write a polygon-type shapefile
gzAzimuth

Find azimuth for geographical coordinates
kmlOverlay

Create and write KML file for PNG image overlay
SpatialLinesMidPoints

Line midpoints
readShapeSpatial

Read shape files into Spatial*DataFrame objects
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
readGPS

GPSbabel read interface
kmlPolygons

Create and write a KML file on the basis of a given Polygons object or list of Polygons or SpatialPolygonsDataFrame
kmlPoints

Create and write a KML file on the basis of a given Points object
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
elide-methods

Methods for Function elide in Package `maptools'
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
CCmaps

Conditioned choropleth maps
panel.pointLabel

Label placement with spplot and lattice.
sp2tmap

Convert SpatialPolygons object for Stata tmap command
readAsciiGrid

read/write to/from (ESRI) asciigrid format
dotsInPolys

Put dots in polygons
getKMLcoordinates

Get a list of coordinates out of a KML file
SplashDams

Data for Splash Dams in western Oregon
kmlLine

Create and write a KML file on the basis of a given Lines object
Map2poly

Create polygon lists and bounding boxes from imported shapefiles
lineLabel

Line label placement with spplot and lattice.
nearestPointOnSegment

Get the nearest point on a segment to a given point
nowrapSpatialLines

Split SpatialLines components at offset
subset.polylist

Subset polygon list objects
symbolsInPolys

Place grids of points over polygons
snapPointsToLines

Snap a set of points to a set of lines
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
state.vbm

US State Visibility Based Map
Rgshhs

Read GSHHS data into sp object
nearestPointOnLine

Get the nearest point on a line to a given point
kmlLines

Create and write a KML file on the basis of a given Lines object