Learn R Programming

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

maptools (version 0.6-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. 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.6-3

License

GPL version 2 or later (R and interface code), MIT (shapelib code)

Maintainer

Roger Bivand

Last Published

July 18th, 2023

Functions in maptools (0.6-3)

readAsciiGrid

read/write to/from (ESRI) asciigrid format
plot.Map

Plot a Map object (deprecated)
write.pointShape

Write a point-type shapefile
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
sp2Mondrian

write map data for Mondrian
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
gzAzimuth

Find azimuth for geographical coordinates
subset.polylist

Subset polygon list objects
write.polylistShape

Write a polygon-type shapefile
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
checkPolygonsHoles

Check holes in Polygons objects
write.linelistShape

Write a arc-type shapefile
ppp-class

Virtual class "ppp"
solarpos-methods

Solar position methods
get.Pcent

Polygon centroids
read.shape

Read shapefile into Map object
solarnoon-methods

~~ Methods for Function solarnoon in Package `maptools' ~~
Map2poly

Create polygon lists and bounding boxes from imported shapefiles
plot.polylist

Plot polygons
gpcholes

Hisaji Ono's lake/hole problem
nowrapRecenter

Break polygons at meridian for recentering
dotsInPolys

Put dots in polygons
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
crepuscule-methods

Crepuscule methods
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
sp2tmap

Convert SpatialPolygons object for Stata tmap command
map2SpatialPolygons

Convert map objects to sp classes
maptools

Report version information and changes
as.ppp

coercion from sp objects to spatstat objects
sunriset-methods

Sunriset methods
symbolsInPolys

Place grids of points over polygons
Rgshhs

Read GSHHS polygons into SpatialPolygons object