Learn R Programming

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

maptools (version 0.8-39)

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 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.

Copy Link

Version

Install

install.packages('maptools')

Monthly Downloads

1,594

Version

0.8-39

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

January 29th, 2016

Functions in maptools (0.8-39)

ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
CCmaps

Conditioned choropleth maps
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
as.ppp

coercion between sp objects and spatstat objects
state.vbm

US State Visibility Based Map
Rgshhs

Read GSHHS data into sp object
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
SplashDams

Data for Splash Dams in western Oregon
getKMLcoordinates

Get a list of coordinates out of a KML file
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
readGPS

GPSbabel read interface
readSplus

Read exported WinBUGS maps
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
panel.pointLabel

Label placement with spplot and lattice.
map2SpatialPolygons

Convert map objects to sp classes
kmlPolygons

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

Label placement for points to avoid overlaps
lineLabel

Line label placement with spplot and lattice.
kmlPoints

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

Making SpatialPolygons objects from RArcInfo input
leglabs

Make legend labels
kmlPolygon

Create and write a KML file on the basis of a given Polygons object
spRbind-methods

rbind for spatial objects
sun-methods

Methods for sun ephemerides calculations
kmlLines

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

Methods for Function elide in Package `maptools'
gcDestination

Find destination in geographical coordinates
readShapeSpatial

Read shape files into Spatial*DataFrame objects
spCbind-methods

cbind for spatial objects
symbolsInPolys

Place grids of points over polygons
nowrapRecenter

Break polygons at meridian for recentering
readAsciiGrid

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

Simplified world country polygons
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
snapPointsToLines

Snap a set of points to a set of lines
kmlLine

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

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

Find azimuth for geographical coordinates
sp2Mondrian

write map data for Mondrian
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
ppp-class

Virtual class "ppp"
dotsInPolys

Put dots in polygons
SpatialLinesMidPoints

Line midpoints
gpcholes

Hisaji Ono's lake/hole problem
nearestPointOnLine

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

Create and write KML file for PNG image overlay
nowrapSpatialLines

Split SpatialLines components at offset
getinfo.shape

Get shapefile header information
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
checkPolygonsHoles

Check holes in Polygons objects
sp2tmap

Convert SpatialPolygons object for Stata tmap command