Learn R Programming

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

maptools (version 0.8-18)

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,594

Version

0.8-18

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

November 5th, 2012

Functions in maptools (0.8-18)

getKMLcoordinates

Get a list of coordinates out of a KML file
ppp-class

Virtual class "ppp"
get.Pcent

Polygon centroids
write.polylistShape

Write a polygon-type shapefile
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
kmlLine

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

US State Visibility Based Map
symbolsInPolys

Place grids of points over polygons
Rgshhs

Read GSHHS data into sp object
as.ppp

coercion between sp objects and spatstat objects
kmlPolygon

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

Converter functions to build SpatialLinesDataFrame objects
readSplus

Read exported WinBUGS maps
nowrapRecenter

Break polygons at meridian for recentering
readShapeSpatial

Read shape files into Spatial*DataFrame objects
write.linelistShape

Write a arc-type shapefile
panel.pointLabel

Label placement with spplot and lattice.
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
kmlPoints

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

Export SpatialPolygons object as S-Plus map for WinBUGS
dotsInPolys

Put dots in polygons
pointLabel

Label placement for points to avoid overlaps
sun-methods

Methods for sun ephemerides calculations
sp2Mondrian

write map data for Mondrian
readGPS

GPSbabel read interface
getinfo.shape

Get shapefile header information
plot.polylist

Plot polygons
nearestPointOnSegment

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

Convert map objects to sp classes
subset.polylist

Subset polygon list objects
snapPointsToLines

Snap a set of points to a set of lines
maptools

Report version information and changes
SpatialLinesMidPoints

Line midpoints
kmlOverlay

Create and write KML file for PNG image overlay
wrld_simpl

Simplified world country polygons
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
readAsciiGrid

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

Conditioned choropleth maps
nearestPointOnLine

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

Create SpatialGrid for PNG output to GE
gcDestination

Find destination in geographical coordinates
read.shape

Read shapefile into Map object
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
Map2poly

Create polygon lists and bounding boxes from imported shapefiles
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
lineLabel

Label placement with spplot and lattice.
spRbind-methods

rbind for spatial objects
plot.Map

Plot a Map object (deprecated)
write.pointShape

Write a point-type shapefile
sp2tmap

Convert SpatialPolygons object for Stata tmap command
checkPolygonsHoles

Check holes in Polygons objects
gpcholes

Hisaji Ono's lake/hole problem
gzAzimuth

Find azimuth for geographical coordinates
leglabs

Make legend labels
SplashDams

Data for Splash Dams in western Oregon
spCbind-methods

cbind for spatial objects
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
elide-methods

Methods for Function elide in Package `maptools'