Learn R Programming

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

maptools (version 1.0-2)

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

Copy Link

Version

Install

install.packages('maptools')

Monthly Downloads

3,954

Version

1.0-2

License

GPL (>= 2)

Maintainer

Last Published

August 24th, 2020

Functions in maptools (1.0-2)

as.im

Coercion between sp objects and spatstat im objects
GE_SpatialGrid

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

Coercion of spatstat tess object to sp SpatialPolygons object
SpatialLinesMidPoints

Line midpoints
Rgshhs

Read GSHHS data into sp object
CCmaps

Conditioned choropleth maps
SpatialLines2PolySet

Convert sp line and polygon objects to PBSmapping PolySet objects
SplashDams

Data for Splash Dams in western Oregon
ContourLines2SLDF

Converter functions to build SpatialLinesDataFrame objects
as.linnet.SpatialLines

Convert SpatialLines to Linear Network
getKMLcoordinates

Get a list of coordinates out of a KML file
checkPolygonsHoles

Check holes in Polygons objects
as.psp

Coercion between sp objects and spatstat psp objects
readAsciiGrid

read/write to/from (ESRI) asciigrid format
getinfo.shape

Get shapefile header information
kmlPolygon

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

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

Put dots in polygons
gpcholes

Hisaji Ono's lake/hole problem
nearestPointOnLine

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

Convert map objects to sp classes
as.owin

Coercion between sp objects and spatstat owin objects
gzAzimuth

Find azimuth for geographical coordinates
nowrapRecenter

Break polygons at meridian for recentering
nearestPointOnSegment

Get the nearest point on a segment to a given point
as.ppp

Coercion between sp objects and spatstat ppp objects
kmlOverlay

Create and write KML file for PNG image overlay
leglabs

Make legend labels
kmlPoints

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

Read points shape files into SpatialPointsDataFrame objects
readShapeLines

Read arc shape files into SpatialLinesDataFrame objects
lineLabel

Line label placement with spplot and lattice.
panel.pointLabel

Label placement with spplot and lattice.
pointLabel

Label placement for points to avoid overlaps
sun-methods

Methods for sun ephemerides calculations
thinnedSpatialPoly

Douglas-Peuker line generalization for Spatial Polygons
sp2WB

Export SpatialPolygons object as S-Plus map for WinBUGS
symbolsInPolys

Place grids of points over polygons
sp2Mondrian

write map data for Mondrian
readShapePoly

Read polygon shape files into SpatialPolygonsDataFrame objects
unionSpatialPolygons

Aggregate Polygons in a SpatialPolygons object
nowrapSpatialLines

Split SpatialLines components at offset
sp2tmap

Convert SpatialPolygons object for Stata tmap command
readShapeSpatial

Read shape files into Spatial*DataFrame objects
pal2SpatialPolygons

Making SpatialPolygons objects from RArcInfo input
ppp-class

Virtual class "ppp"
gcDestination

Find destination in geographical coordinates
spCbind-methods

cbind for spatial objects
elide-methods

Methods for Function elide in Package `maptools'
kmlLines

Create and write a KML file on the basis of a given Lines object
state.vbm

US State Visibility Based Map
kmlLine

Create and write a KML file on the basis of a given Lines object
spRbind-methods

rbind for spatial objects
snapPointsToLines

Snap a set of points to a set of lines
wrld_simpl

Simplified world country polygons
readSplus

Read exported WinBUGS maps
readGPS

GPSbabel read interface