Learn R Programming

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

maptools (version 0.8-40)

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

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

November 15th, 2016

Functions in maptools (0.8-40)

readAsciiGrid

read/write to/from (ESRI) asciigrid format
getinfo.shape

Get shapefile header information
kmlLine

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

Get a list of coordinates out of a KML file
lineLabel

Line label placement with spplot and lattice.
nearestPointOnSegment

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

Break polygons at meridian for recentering
leglabs

Make legend labels
kmlPolygon

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

Convert map objects to sp classes
nearestPointOnLine

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

Read exported WinBUGS maps
kmlLines

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

Find destination in geographical coordinates
kmlPolygons

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

Conditioned choropleth maps
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
sp2tmap

Convert SpatialPolygons object for Stata tmap command
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
SpatialLinesMidPoints

Line midpoints
ppp-class

Virtual class "ppp"
wrld_simpl

Simplified world country polygons
readGPS

GPSbabel read interface
spCbind-methods

cbind for spatial objects
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
checkPolygonsHoles

Check holes in Polygons objects
snapPointsToLines

Snap a set of points to a set of lines
Rgshhs

Read GSHHS data into sp object
elide-methods

Methods for Function elide in Package `maptools'
dotsInPolys

Put dots in polygons
gzAzimuth

Find azimuth for geographical coordinates
gpcholes

Hisaji Ono's lake/hole problem
kmlPoints

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

Create and write KML file for PNG image overlay
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
nowrapSpatialLines

Split SpatialLines components at offset
readShapeSpatial

Read shape files into Spatial*DataFrame objects
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
sun-methods

Methods for sun ephemerides calculations
symbolsInPolys

Place grids of points over polygons
sp2Mondrian

write map data for Mondrian
panel.pointLabel

Label placement with spplot and lattice.
pointLabel

Label placement for points to avoid overlaps
spRbind-methods

rbind for spatial objects
state.vbm

US State Visibility Based Map
SplashDams

Data for Splash Dams in western Oregon