Learn R Programming

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

maptools (version 0.8-30)

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

Version

0.8-30

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

June 5th, 2014

Functions in maptools (0.8-30)

getinfo.shape

Get shapefile header information
dotsInPolys

Put dots in polygons
SpatialLinesMidPoints

Line midpoints
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
sp2tmap

Convert SpatialPolygons object for Stata tmap command
Rgshhs

Read GSHHS data into sp object
readGPS

GPSbabel read interface
nearestPointOnSegment

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

Convert sp line and polygon objects to PBSmapping PolySet objects
kmlLines

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

Make legend labels
elide-methods

Methods for Function elide in Package `maptools'
sp2Mondrian

write map data for Mondrian
getKMLcoordinates

Get a list of coordinates out of a KML file
gcDestination

Find destination in geographical coordinates
kmlOverlay

Create and write KML file for PNG image overlay
gzAzimuth

Find azimuth for geographical coordinates
spRbind-methods

rbind for spatial objects
readAsciiGrid

read/write to/from (ESRI) asciigrid format
spCbind-methods

cbind for spatial objects
readSplus

Read exported WinBUGS maps
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
map2SpatialPolygons

Convert map objects to sp classes
panel.pointLabel

Label placement with spplot and lattice.
pointLabel

Label placement for points to avoid overlaps
gpcholes

Hisaji Ono's lake/hole problem
ppp-class

Virtual class "ppp"
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
readShapeSpatial

Read shape files into Spatial*DataFrame objects
as.ppp

coercion between sp objects and spatstat objects
wrld_simpl

Simplified world country polygons
nowrapRecenter

Break polygons at meridian for recentering
nearestPointOnLine

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

Aggregate Polygons in a SpatialPolygons object
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
kmlPolygon

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

Check holes in Polygons objects
kmlPoints

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

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

Douglas-Peuker line generalization for Spatial Polygons
state.vbm

US State Visibility Based Map
snapPointsToLines

Snap a set of points to a set of lines
kmlPolygons

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

Methods for sun ephemerides calculations
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
lineLabel

Line label placement with spplot and lattice.
CCmaps

Conditioned choropleth maps
SplashDams

Data for Splash Dams in western Oregon
symbolsInPolys

Place grids of points over polygons
readShapePoints

Read points shape files into SpatialPointsDataFrame objects