Learn R Programming

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

maptools (version 1.1-4)

Tools for Handling Spatial Objects

Description

Please note that 'maptools' will be retired by the end of 2023, plan transition at your earliest convenience; some functionality will be moved to 'sp'. Set of tools for manipulating geographic data. It includes binary access to 'GSHHG' shoreline files. The package also provides interface wrappers for exchanging spatial objects with packages such as 'PBSmapping', 'spatstat.geom', 'maps', and others.

Copy Link

Version

Install

install.packages('maptools')

Monthly Downloads

3,545

Version

1.1-4

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

April 17th, 2022

Functions in maptools (1.1-4)

SpatialLinesMidPoints

Line midpoints
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
getinfo.shape

Get shapefile header information
getKMLcoordinates

Get a list of coordinates out of a KML file
kmlLine

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

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

Check holes in Polygons objects
dotsInPolys

Put dots in polygons
gcDestination

Find destination in geographical coordinates
elide-methods

Methods for Function elide in Package `maptools'
gpcholes

Hisaji Ono's lake/hole problem
gzAzimuth

Find azimuth for geographical coordinates
nowrapSpatialLines

Split SpatialLines components at offset
as.owin

Coercion between sp objects and spatstat owin objects
kmlOverlay

Create and write KML file for PNG image overlay
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
snapPointsToLines

Snap a set of points to a set of lines
readSplus

Read exported WinBUGS maps
ppp-class

Virtual class "ppp"
kmlPoints

Create and write a KML file on the basis of a given Points object
readGPS

GPSbabel read interface
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
spRbind-methods

rbind for spatial objects
state.vbm

US State Visibility Based Map
as.psp

Coercion between sp objects and spatstat psp objects
as.ppp

Coercion between sp objects and spatstat ppp objects
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
nearestPointOnSegment

Get the nearest point on a segment to a given point
nowrapRecenter

Break polygons at meridian for recentering
lineLabel

Line label placement with spplot and lattice.
leglabs

Make legend labels
readAsciiGrid

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

Read polygon shape files into SpatialPolygonsDataFrame objects
readShapeSpatial

Read shape files into Spatial*DataFrame objects
kmlPolygon

Create and write a KML file on the basis of a given Polygons object
panel.pointLabel

Label placement with spplot and lattice.
sp2Mondrian

write map data for Mondrian
map2SpatialPolygons

Convert map objects to sp classes
pointLabel

Label placement for points to avoid overlaps
kmlPolygons

Create and write a KML file on the basis of a given Polygons object or list of Polygons or SpatialPolygonsDataFrame
wrld_simpl

Simplified world country polygons
nearestPointOnLine

Get the nearest point on a line to a given point
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
sp2tmap

Convert SpatialPolygons object for Stata tmap command
spCbind-methods

cbind for spatial objects
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
symbolsInPolys

Place grids of points over polygons
sun-methods

Methods for sun ephemerides calculations
CCmaps

Conditioned choropleth maps
as.im

Coercion between sp objects and spatstat im objects
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
Rgshhs

Read GSHHS data into sp object
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
as.SpatialPolygons.tess

Coercion of spatstat tess object to sp SpatialPolygons object
SplashDams

Data for Splash Dams in western Oregon
as.linnet.SpatialLines

Convert SpatialLines to Linear Network