Learn R Programming

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

maptools (version 1.1-2)

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,795

Version

1.1-2

License

GPL (>= 2)

Maintainer

Last Published

September 7th, 2021

Functions in maptools (1.1-2)

as.linnet.SpatialLines

Convert SpatialLines to Linear Network
getinfo.shape

Get shapefile header information
getKMLcoordinates

Get a list of coordinates out of a KML file
elide-methods

Methods for Function elide in Package `maptools'
gcDestination

Find destination in geographical coordinates
lineLabel

Line label placement with spplot and lattice.
kmlLines

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

Make legend labels
kmlLine

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

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

Check holes in Polygons objects
nowrapSpatialLines

Split SpatialLines components at offset
kmlPolygons

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

Making SpatialPolygons objects from RArcInfo input
dotsInPolys

Put dots in polygons
nearestPointOnSegment

Get the nearest point on a segment to a given point
ppp-class

Virtual class "ppp"
nowrapRecenter

Break polygons at meridian for recentering
as.psp

Coercion between sp objects and spatstat psp objects
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
sp2Mondrian

write map data for Mondrian
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
readGPS

GPSbabel read interface
as.owin

Coercion between sp objects and spatstat owin objects
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
readShapePoints

Read points shape files into SpatialPointsDataFrame objects
readShapeSpatial

Read shape files into Spatial*DataFrame objects
sun-methods

Methods for sun ephemerides calculations
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
wrld_simpl

Simplified world country polygons
symbolsInPolys

Place grids of points over polygons
map2SpatialPolygons

Convert map objects to sp classes
nearestPointOnLine

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

Convert SpatialPolygons object for Stata tmap command
state.vbm

US State Visibility Based Map
spCbind-methods

cbind for spatial objects
spRbind-methods

rbind for spatial objects
kmlOverlay

Create and write KML file for PNG image overlay
readAsciiGrid

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

Hisaji Ono's lake/hole problem
as.ppp

Coercion between sp objects and spatstat ppp objects
gzAzimuth

Find azimuth for geographical coordinates
panel.pointLabel

Label placement with spplot and lattice.
kmlPoints

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

Label placement for points to avoid overlaps
snapPointsToLines

Snap a set of points to a set of lines
readSplus

Read exported WinBUGS maps
as.SpatialPolygons.tess

Coercion of spatstat tess object to sp SpatialPolygons object
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
Rgshhs

Read GSHHS data into sp object
SpatialLinesMidPoints

Line midpoints
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
SplashDams

Data for Splash Dams in western Oregon
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
CCmaps

Conditioned choropleth maps
as.im

Coercion between sp objects and spatstat im objects