Learn R Programming

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

maptools (version 0.9-9)

Tools for Handling Spatial Objects

Description

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', 'maps', 'RArcInfo', and others.

Copy Link

Version

Install

install.packages('maptools')

Monthly Downloads

1,546

Version

0.9-9

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

December 1st, 2019

Functions in maptools (0.9-9)

SpatialLinesMidPoints

Line midpoints
as.owin

Coercion between sp objects and spatstat owin objects
kmlPolygon

Create and write a KML file on the basis of a given Polygons object
as.ppp

Coercion between sp objects and spatstat ppp objects
lineLabel

Line label placement with spplot and lattice.
dotsInPolys

Put dots in polygons
leglabs

Make legend labels
checkPolygonsHoles

Check holes in Polygons objects
getKMLcoordinates

Get a list of coordinates out of a KML file
getinfo.shape

Get shapefile header information
kmlPolygons

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

Split SpatialLines components at offset
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
kmlLines

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

GPSbabel read interface
ppp-class

Virtual class "ppp"
kmlLine

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

Convert SpatialPolygons object for Stata tmap command
nowrapRecenter

Break polygons at meridian for recentering
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
as.psp

Coercion between sp objects and spatstat psp objects
readShapeSpatial

Read shape files into Spatial*DataFrame objects
nearestPointOnSegment

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

Snap a set of points to a set of lines
readSplus

Read exported WinBUGS maps
spCbind-methods

cbind for spatial objects
sun-methods

Methods for sun ephemerides calculations
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
kmlOverlay

Create and write KML file for PNG image overlay
wrld_simpl

Simplified world country polygons
readAsciiGrid

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

Place grids of points over polygons
elide-methods

Methods for Function elide in Package `maptools'
kmlPoints

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

Read points shape files into SpatialPointsDataFrame objects
panel.pointLabel

Label placement with spplot and lattice.
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
gcDestination

Find destination in geographical coordinates
gpcholes

Hisaji Ono's lake/hole problem
gzAzimuth

Find azimuth for geographical coordinates
spRbind-methods

rbind for spatial objects
pointLabel

Label placement for points to avoid overlaps
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
nearestPointOnLine

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

Convert map objects to sp classes
sp2Mondrian

write map data for Mondrian
state.vbm

US State Visibility Based Map
SplashDams

Data for Splash Dams in western Oregon
as.SpatialPolygons.tess

Coercion of spatstat tess object to sp SpatialPolygons object
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
as.linnet.SpatialLines

Convert SpatialLines to Linear Network
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
as.im

Coercion between sp objects and spatstat im objects
CCmaps

Conditioned choropleth maps
GE_SpatialGrid

Create SpatialGrid for PNG output to GE
Rgshhs

Read GSHHS data into sp object