Learn R Programming

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

maptools (version 0.7-3)

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

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

July 18th, 2023

Functions in maptools (0.7-3)

Rgshhs

Read GSHHS polygons into SpatialPolygons object
as.ppp

coercion between sp objects and spatstat objects
readAsciiGrid

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

Put dots in polygons
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
pointLabel

Label placement for points to avoid overlaps
plot.Map

Plot a Map object (deprecated)
CCmaps

Conditioned choropleth maps
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
sp2Mondrian

write map data for Mondrian
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
sp2tmap

Convert SpatialPolygons object for Stata tmap command
map2SpatialPolygons

Convert map objects to sp classes
maptools

Report version information and changes
subset.polylist

Subset polygon list objects
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
get.Pcent

Polygon centroids
symbolsInPolys

Place grids of points over polygons
gpcholes

Hisaji Ono's lake/hole problem
ppp-class

Virtual class "ppp"
write.polylistShape

Write a polygon-type shapefile
gzAzimuth

Find azimuth for geographical coordinates
checkPolygonsHoles

Check holes in Polygons objects
gcDestination

Find destination in geographical coordinates
leglabs

Make legend labels
read.shape

Read shapefile into Map object
kmlOverlay

Create and write KML file for PNG image overlay
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
elide-methods

Methods for Function elide in Package `maptools'
spRbind-methods

rbind for spatial objects
sun-methods

Methods for sun ephemerides calculations
getKMLcoordinates

Get a list of coordinates out of a KML file
wrld_simpl

Simplified world country polygons
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
write.linelistShape

Write a arc-type shapefile
readShapeSpatial

Read shape files into Spatial*DataFrame objects
readGPS

GPSbabel read interface
readSplus

Read exported WinBUGS maps
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
write.pointShape

Write a point-type shapefile
getinfo.shape

Get shapefile header information
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
plot.polylist

Plot polygons
kmlLine

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

Aggregate Polygons in a SpatialPolygons object
spCbind-methods

cbind for spatial objects
spChFIDs-methods

change feature IDs in spatial objects
kmlPolygon

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

Break polygons at meridian for recentering
Map2poly

Create polygon lists and bounding boxes from imported shapefiles