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;spTransform
will 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.na
method forCRS
objects
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
methods
from Imports: to Depends:improve base plot methods for
SpatialGridDataFrame
andSpatialPixelsDataFrame
objects, see https://r-spatial.org/r/2016/03/08/plotting-spatial-grids.html for examplesimprove the graticule
labels
methods, see?gridlines
fix hole assignment for triangles, reported in https://stat.ethz.ch/pipermail/r-sig-geo/2016-March/024214.html
-
as.SpatialPolygons.GridTopology
drops rownames of coordinates generated, but keeps coordinate (column) names from thecellcentre.offset
slot of the grid improve examples in
over
vignette.
Changes in version 1.2-2 (2016-02-05)
method 'row.names' for 'SpatialPoints' makes unique row names, or drops them.
add a
labels
method forgridlines
, drawing labels under varying angle (seegridlines
example)add coercion (“as” methods) from
deldir
toSpatialLines
andSpatialPolygons
migrate sp code base to github
correct
[
subsetting wheni
is allFALSE
; report by Francois Rousseau.add
geometry<-
method forSpatial
, wrappingaddAttrToGeom
addressing
rbind
and docs issues raised by Kent Johnson on r-sig-geo, 5 Dec 2015get 'row.names' of coords correctly if object is a
SpatialPoints
add non-default coercion
SpatialPolygonsDataFrame
toSpatialPolygons
add comment to
SpatialPolygons
coerced fromSpatialGrid
orSpatialPixels
-
coordinates
method forSpatiaLines
now retains rownames
Changes in version 1.2-1 (2015-10-17)
-
spsample.Spatial
does no longer generate objects with rownames. -
CRS
gains argumentdoCheckCRSArgs
, to allow suppression of the default checking coercion from
Lines
toSpatialPoints
now drops (duplicate) rownamesadd coercion from
SpatialLines*
toSpatialMultiPoints*
improve printing of
SpatialMultiPoint*
objects-
aggregate
now passesminDimension
torgeos
; explanation ofaggregate
extended in its vignette depend on
rgeos
version 0.3-13-
merge
now accepts"row.names"
or0
for argumentsby.x
orby.y
, for compatibility withbase::merge
. -
aggregate
now accepts parameterminDimension
, introduced forover
in 1.2-0, and passes it on toover
to control when features intersect; see the documentation ofover
and its vignette for details. -
SpatialMultiPoints
objects with zero features can now exist.
Changes in version 1.2-0 (2015-09-01)
Support for
SpatialMultiPoints
andSpatialMultiPointsDataFrame
objects. WhereSpatialPoints
are set of points,SpatialMultiPoints
are sets of point sets.SpatialPointsDataFrame
objects bind points to attribute values,SpatialMultiPointsDataFrame
bind point sets to attribute values. Methods supported are subsetting ([
),plot
,spplot
,over
, and coercion toSpatialPoints
orSpatialPointsDataFrame
. Functions in rgeos support this feature class. See alsodemo(mp)
.creating
SpatialPoints
objects 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::plot
andspplot
. Maps returned byfunction
GetMap
in package RgoogleMapsfunction
get_map
in package ggmap
are now understood by plotting functions in sp. In particular,
sp::plot
now has an argumentbgMap
,spplot
now has panel functionspanel.RgoogleMaps
andpanel.ggmap
; Seedemo(webmap)
for examples.As these maps assume a web mercator projection,
sp::plot
issues a warning if the object to be plotted have a CRS that does not contain"+init=epsg:3857"
-
over
methods 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")
.