Learn R Programming

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

maptools (version 0.6-9)

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-9

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

readShapePoints

Read points shape files into SpatialPointsDataFrame objects
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
as.ppp

coercion between sp objects and spatstat objects
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
gzAzimuth

Find azimuth for geographical coordinates
maptools

Report version information and changes
dotsInPolys

Put dots in polygons
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
plot.Map

Plot a Map object (deprecated)
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
ppp-class

Virtual class "ppp"
read.shape

Read shapefile into Map object
Rgshhs

Read GSHHS polygons into SpatialPolygons object
kmlOverlay

Create and write KML file for PNG image overlay
Map2poly

Create polygon lists and bounding boxes from imported shapefiles
gpcholes

Hisaji Ono's lake/hole problem
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
checkPolygonsHoles

Check holes in Polygons objects
plot.polylist

Plot polygons
sp2Mondrian

write map data for Mondrian
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
map2SpatialPolygons

Convert map objects to sp classes
spCbind-methods

cbind for spatial objects
sun-methods

Methods for sun ephemerides calculations
spChFIDs-methods

change feature IDs in spatial objects
readAsciiGrid

read/write to/from (ESRI) asciigrid format
get.Pcent

Polygon centroids
subset.polylist

Subset polygon list objects
nowrapRecenter

Break polygons at meridian for recentering
sp2tmap

Convert SpatialPolygons object for Stata tmap command
readGPS

GPSbabel read interface
sp2WB

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

rbind for spatial objects
symbolsInPolys

Place grids of points over polygons
write.polylistShape

Write a polygon-type shapefile
write.pointShape

Write a point-type shapefile
write.linelistShape

Write a arc-type shapefile
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object