Learn R Programming

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

maptools (version 0.5-15)

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

1,594

Version

0.5-15

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-15)

get.Pcent

Polygon centroids
read.shape

Read shapefile into Map object
plot.Map

Plot a Map object (deprecated)
gpcholes

Hisaji Ono's lake/hole problem
readAsciiGrid

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

Put dots in polygons
gzAzimuth

Find azimuth for geographical coordinates
symbolsInPolys

Place grids of points over polygons
subset.polylist

Subset polygon list objects
Map2poly

Create polygon lists and bounding boxes from imported shapefiles
write.polylistShape

Write a polygon-type shapefile
maptools

Report version information and changes
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
sp2tmap

Convert SpatialPolygons object for Stata tmap command
plot.polylist

Plot polygons
write.pointShape

Write a point-type shapefile
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
sp2Mondrian

write map data for Mondrian
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
write.linelistShape

Write a arc-type shapefile