| NEWS | R Documentation |
News for Package 'sp'
Changes in version 2.2-0 (2024-xx-yy)
remove exporting C symbols previously used by rgdal and rgeos
Changes in version 2.1-5 (2024-xx-yy)
add pkgdown site
update sp map gallery and move to vignettes
Changes in version 2.1-4 (2024-04-30)
if CRS is NA, do not require (and depend on) presence of package sf; #144
Changes in version 2.1-3 (2024-01-29)
remove use of deprecated is.R()
Changes in version 2.0-1 (2023-10-16)
remove startup message
Changes in version 2.0-0 (2023-06-20)
-
get_evolution_status()defaults to 2, meaning sp will no longer call rgdal or rgeos;spTransformwill work usingsf::st_transform. increase R version required from 3.0.0 to 3.2.0, which was de facto already required (PR from Sebastian Meyer)
Changes in version 1.6-1 (2023-05-31)
add evolution vignette, drop over vignette, add startup message
Changes in version 1.6-0 (2023-01-19)
add get_evolution_status() and set_evolution_status()
Changes in version 1.5-0 (2022-06-03)
merge the evolution branch from rsbivand/sp@evolution
Changes in version 1.4-7 (2022-04-18)
remove S-compatibility DOUBLE_* macros; https://github.com/edzer/sp/pull/115
Changes in version 1.4-6 (2021-11-14)
add CRS cache and update CRS print method; https://github.com/edzer/sp/pull/103
Changes in version 1.4-2 (2020-05-20)
Adding a wkt() method and muting internal warnings; https://github.com/edzer/sp/pull/76
Changes in version 1.4-1 (2020-02-29)
warn on NULL projargs in CRS(); https://github.com/edzer/sp/pull/74
Changes in version 1.4-0 (2020-02-21)
prepare for new (>= 1.5.1) rgdal, which creates and listens to a comments() field of a CRS object carrying a WKT representation of a CRS rather than the proj4string; @rsb, https://github.com/edzer/sp/pull/67 and https://github.com/edzer/sp/pull/69 ; for more info see e.g. https://github.com/edzer/sp/issues/68 and https://github.com/r-spatial/discuss/issues/28
Changes in version 1.3-2 (2019-11-07)
fix length > 1 in coercion to logical error; #54, #60
add
is.namethod forCRSobjects
Changes in version 1.2-5 (2017-06-16)
address error in spplot, leading to display of "Error using packet 1: mixture of missing and non missing values for cex"
address warning from Tomas Kalibera's static code checking
Changes in version 1.2-4 (2016-12-21)
fix bug in duplicating objects in C; see https://github.com/edzer/sp/commit/8f8a66090e47cf0f6bbf5549376c0bc07b6c29df
fix all long/lat-based great circle distance functions; see https://github.com/edzer/sp/commit/d8374ff7efc6735cba9a054748c602bed0672f23 and https://stat.ethz.ch/pipermail/r-sig-geo/2016-December/025201.html
clarified cellcentre.offset documentation, see https://github.com/edzer/sp/issues/18
Changes in version 1.2-3 (2016-04-06)
update sp gallery, see https://edzer.github.io/sp/
move
methodsfrom Imports: to Depends:improve base plot methods for
SpatialGridDataFrameandSpatialPixelsDataFrameobjects, see https://r-spatial.org/r/2016/03/08/plotting-spatial-grids.html for examplesimprove the graticule
labelsmethods, see?gridlinesfix hole assignment for triangles, reported in https://stat.ethz.ch/pipermail/r-sig-geo/2016-March/024214.html
-
as.SpatialPolygons.GridTopologydrops rownames of coordinates generated, but keeps coordinate (column) names from thecellcentre.offsetslot of the grid improve examples in
overvignette.
Changes in version 1.2-2 (2016-02-05)
method 'row.names' for 'SpatialPoints' makes unique row names, or drops them.
add a
labelsmethod forgridlines, drawing labels under varying angle (seegridlinesexample)add coercion (“as” methods) from
deldirtoSpatialLinesandSpatialPolygonsmigrate sp code base to github
correct
[subsetting wheniis allFALSE; report by Francois Rousseau.add
geometry<-method forSpatial, wrappingaddAttrToGeomaddressing
rbindand docs issues raised by Kent Johnson on r-sig-geo, 5 Dec 2015get 'row.names' of coords correctly if object is a
SpatialPointsadd non-default coercion
SpatialPolygonsDataFrametoSpatialPolygonsadd comment to
SpatialPolygonscoerced fromSpatialGridorSpatialPixels-
coordinatesmethod forSpatiaLinesnow retains rownames
Changes in version 1.2-1 (2015-10-17)
-
spsample.Spatialdoes no longer generate objects with rownames. -
CRSgains argumentdoCheckCRSArgs, to allow suppression of the default checking coercion from
LinestoSpatialPointsnow drops (duplicate) rownamesadd coercion from
SpatialLines*toSpatialMultiPoints*improve printing of
SpatialMultiPoint*objects-
aggregatenow passesminDimensiontorgeos; explanation ofaggregateextended in its vignette depend on
rgeosversion 0.3-13-
mergenow accepts"row.names"or0for argumentsby.xorby.y, for compatibility withbase::merge. -
aggregatenow accepts parameterminDimension, introduced foroverin 1.2-0, and passes it on tooverto control when features intersect; see the documentation ofoverand its vignette for details. -
SpatialMultiPointsobjects with zero features can now exist.
Changes in version 1.2-0 (2015-09-01)
Support for
SpatialMultiPointsandSpatialMultiPointsDataFrameobjects. WhereSpatialPointsare set of points,SpatialMultiPointsare sets of point sets.SpatialPointsDataFrameobjects bind points to attribute values,SpatialMultiPointsDataFramebind point sets to attribute values. Methods supported are subsetting ([),plot,spplot,over, and coercion toSpatialPointsorSpatialPointsDataFrame. Functions in rgeos support this feature class. See alsodemo(mp).creating
SpatialPointsobjects with duplicated coordinate rownames now gives a warning, which will become an error in the future.Support for Google Earth or OpenStreetMap background maps in
sp::plotandspplot. Maps returned byfunction
GetMapin package RgoogleMapsfunction
get_mapin package ggmap
are now understood by plotting functions in sp. In particular,
sp::plotnow has an argumentbgMap,spplotnow has panel functionspanel.RgoogleMapsandpanel.ggmap; Seedemo(webmap)for examples.As these maps assume a web mercator projection,
sp::plotissues a warning if the object to be plotted have a CRS that does not contain"+init=epsg:3857"-
overmethods that are taken care of by rgeos (anything involvingSpatialLines, orSpatialPolygons-SpatialPolygons) gained an argumentminDimension, which causes an ordering of returned features by dimension of intersection, and the ability to select a minimun dimension (e.g. only area-overlap); this usesgRelate, and has a computational cost. Documentation found invignette("over").