Learn R Programming

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

maptools (version 0.5-16)

tools for reading and handling shapefiles

Description

Set of tools for manipulating and reading geographic data, in particular ESRI shapefiles; C code used from shapelib.

Copy Link

Version

Install

install.packages('maptools')

Monthly Downloads

3,545

Version

0.5-16

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.5-16)

dotsInPolys

Put dots in polygons
readAsciiGrid

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

write map data for Mondrian
get.Pcent

Polygon centroids
write.polylistShape

Write a polygon-type shapefile
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
write.linelistShape

Write a arc-type shapefile
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
write.pointShape

Write a point-type shapefile
maptools

Report version information and changes
subset.polylist

Subset polygon list objects
gpcholes

Hisaji Ono's lake/hole problem
plot.Map

Plot a Map object (deprecated)
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
symbolsInPolys

Place grids of points over polygons
sp2tmap

Convert SpatialPolygons object for Stata tmap command
gzAzimuth

Find azimuth for geographical coordinates
Map2poly

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

Plot polygons
read.shape

Read shapefile into Map object
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS