Learn R Programming

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

maptools (version 0.8-16)

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

Version

0.8-16

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

June 29th, 2012

Functions in maptools (0.8-16)

readShapePoints

Read points shape files into SpatialPointsDataFrame objects
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
write.pointShape

Write a point-type shapefile
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
getinfo.shape

Get shapefile header information
leglabs

Make legend labels
read.shape

Read shapefile into Map object
get.Pcent

Polygon centroids
Rgshhs

Read GSHHS data into sp object
getKMLcoordinates

Get a list of coordinates out of a KML file
nearestPointOnLine

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

Put dots in polygons
gzAzimuth

Find azimuth for geographical coordinates
gcDestination

Find destination in geographical coordinates
kmlOverlay

Create and write KML file for PNG image overlay
readShapeSpatial

Read shape files into Spatial*DataFrame objects
as.ppp

coercion between sp objects and spatstat objects
elide-methods

Methods for Function elide in Package `maptools'
nowrapRecenter

Break polygons at meridian for recentering
SpatialLinesMidPoints

Line midpoints
gpcholes

Hisaji Ono's lake/hole problem
Map2poly

Create polygon lists and bounding boxes from imported shapefiles
kmlLine

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

Report version information and changes
readGPS

GPSbabel read interface
ppp-class

Virtual class "ppp"
nearestPointOnSegment

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

Data for Splash Dams in western Oregon
plot.Map

Plot a Map object (deprecated)
map2SpatialPolygons

Convert map objects to sp classes
kmlPoints

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

Read polygon shape files into SpatialPolygonsDataFrame objects
plot.polylist

Plot polygons
snapPointsToLines

Snap a set of points to a set of lines
sp2Mondrian

write map data for Mondrian
wrld_simpl

Simplified world country polygons
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
readSplus

Read exported WinBUGS maps
subset.polylist

Subset polygon list objects
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
spCbind-methods

cbind for spatial objects
sp2tmap

Convert SpatialPolygons object for Stata tmap command
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
state.vbm

US State Visibility Based Map
CCmaps

Conditioned choropleth maps
kmlPolygon

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

Write a polygon-type shapefile
spRbind-methods

rbind for spatial objects
sun-methods

Methods for sun ephemerides calculations
readAsciiGrid

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

Label placement for points to avoid overlaps
write.linelistShape

Write a arc-type shapefile
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
symbolsInPolys

Place grids of points over polygons
checkPolygonsHoles

Check holes in Polygons objects
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS