Learn R Programming

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

maptools (version 0.9-2)

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

3,545

Version

0.9-2

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

March 25th, 2017

Functions in maptools (0.9-2)

readShapePoints

Read points shape files into SpatialPointsDataFrame objects
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
gcDestination

Find destination in geographical coordinates
kmlLine

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

read/write to/from (ESRI) asciigrid format
as.ppp

coercion between sp objects and spatstat objects
ppp-class

Virtual class "ppp"
kmlPoints

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

rbind for spatial objects
state.vbm

US State Visibility Based Map
kmlLines

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

Create and write KML file for PNG image overlay
readGPS

GPSbabel read interface
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
SplashDams

Data for Splash Dams in western Oregon
as.linnet.SpatialLines

Convert SpatialLines to Linear Network
Rgshhs

Read GSHHS data into sp object
CCmaps

Conditioned choropleth maps
checkPolygonsHoles

Check holes in Polygons objects
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
getKMLcoordinates

Get a list of coordinates out of a KML file
elide-methods

Methods for Function elide in Package `maptools'
SpatialLinesMidPoints

Line midpoints
lineLabel

Line label placement with spplot and lattice.
gpcholes

Hisaji Ono's lake/hole problem
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
leglabs

Make legend labels
gzAzimuth

Find azimuth for geographical coordinates
readShapeSpatial

Read shape files into Spatial*DataFrame objects
getinfo.shape

Get shapefile header information
readSplus

Read exported WinBUGS maps
dotsInPolys

Put dots in polygons
pointLabel

Label placement for points to avoid overlaps
panel.pointLabel

Label placement with spplot and lattice.
sp2tmap

Convert SpatialPolygons object for Stata tmap command
spCbind-methods

cbind for spatial objects
map2SpatialPolygons

Convert map objects to sp classes
nearestPointOnLine

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

Snap a set of points to a set of lines
nowrapRecenter

Break polygons at meridian for recentering
nearestPointOnSegment

Get the nearest point on a segment to a given point
sun-methods

Methods for sun ephemerides calculations
nowrapSpatialLines

Split SpatialLines components at offset
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
sp2Mondrian

write map data for Mondrian
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
symbolsInPolys

Place grids of points over polygons
kmlPolygon

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

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

Read arc shape files into SpatialLinesDataFrame objects
wrld_simpl

Simplified world country polygons