| 1 |
\name{NEWS} |
| 2 |
\title{News for Package 'sp'} |
| 3 |
\section{Changes in version 2.2-0 (2024-xx-yy)}{ |
| 4 |
\itemize{ |
| 5 |
\item remove exporting C symbols previously used by rgdal and rgeos |
| 6 |
} |
| 7 |
} |
| 8 |
\section{Changes in version 2.1-5 (2024-xx-yy)}{ |
| 9 |
\itemize{ |
| 10 |
\item add pkgdown site |
| 11 |
\item update sp map gallery and move to vignettes |
| 12 |
} |
| 13 |
} |
| 14 |
\section{Changes in version 2.1-4 (2024-04-30)}{ |
| 15 |
\itemize{ |
| 16 |
\item if CRS is NA, do not require (and depend on) presence of package sf; #144 |
| 17 |
} |
| 18 |
} |
| 19 |
\section{Changes in version 2.1-3 (2024-01-29)}{ |
| 20 |
\itemize{ |
| 21 |
\item remove use of deprecated is.R() |
| 22 |
} |
| 23 |
} |
| 24 |
\section{Changes in version 2.0-1 (2023-10-16)}{ |
| 25 |
\itemize{ |
| 26 |
\item remove startup message |
| 27 |
} |
| 28 |
} |
| 29 |
\section{Changes in version 2.0-0 (2023-06-20)}{ |
| 30 |
\itemize{ |
| 31 |
\item \code{get_evolution_status()} defaults to 2, meaning sp will no longer call rgdal or rgeos; \code{spTransform} will work using \code{sf::st_transform}. |
| 32 |
\item increase R version required from 3.0.0 to 3.2.0, which was de facto already required (PR from Sebastian Meyer) |
| 33 |
} |
| 34 |
} |
| 35 |
\section{Changes in version 1.6-1 (2023-05-31)}{ |
| 36 |
\itemize{ |
| 37 |
\item add evolution vignette, drop over vignette, add startup message |
| 38 |
} |
| 39 |
} |
| 40 |
\section{Changes in version 1.6-0 (2023-01-19)}{ |
| 41 |
\itemize{ |
| 42 |
\item add get_evolution_status() and set_evolution_status() |
| 43 |
} |
| 44 |
} |
| 45 |
\section{Changes in version 1.5-0 (2022-06-03)}{ |
| 46 |
\itemize{ |
| 47 |
\item merge the evolution branch from rsbivand/sp@evolution |
| 48 |
} |
| 49 |
} |
| 50 |
\section{Changes in version 1.4-7 (2022-04-18)}{ |
| 51 |
\itemize{ |
| 52 |
\item remove S-compatibility DOUBLE_* macros; https://github.com/edzer/sp/pull/115 |
| 53 |
} |
| 54 |
} |
| 55 |
|
| 56 |
\section{Changes in version 1.4-6 (2021-11-14)}{ |
| 57 |
\itemize{ |
| 58 |
\item add CRS cache and update CRS print method; https://github.com/edzer/sp/pull/103 |
| 59 |
} |
| 60 |
} |
| 61 |
|
| 62 |
\section{Changes in version 1.4-2 (2020-05-20)}{ |
| 63 |
\itemize{ |
| 64 |
\item Adding a wkt() method and muting internal warnings; https://github.com/edzer/sp/pull/76 |
| 65 |
} |
| 66 |
} |
| 67 |
|
| 68 |
\section{Changes in version 1.4-1 (2020-02-29)}{ |
| 69 |
\itemize{ |
| 70 |
\item warn on NULL projargs in CRS(); https://github.com/edzer/sp/pull/74 |
| 71 |
} |
| 72 |
} |
| 73 |
\section{Changes in version 1.4-0 (2020-02-21)}{ |
| 74 |
\itemize{ |
| 75 |
\item 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 |
| 76 |
} |
| 77 |
} |
| 78 |
\section{Changes in version 1.3-2 (2019-11-07)}{ |
| 79 |
\itemize{ |
| 80 |
\item fix length > 1 in coercion to logical error; #54, #60 |
| 81 |
\item add \code{is.na} method for \code{CRS} objects |
| 82 |
} |
| 83 |
} |
| 84 |
\section{Changes in version 1.2-5 (2017-06-16)}{ |
| 85 |
\itemize{ |
| 86 |
\item address error in spplot, leading to display of "Error using packet 1: mixture of missing and non missing values for cex" |
| 87 |
\item address warning from Tomas Kalibera's static code checking |
| 88 |
} |
| 89 |
} |
| 90 |
\section{Changes in version 1.2-4 (2016-12-21)}{ |
| 91 |
\itemize{ |
| 92 |
\item fix bug in duplicating objects in C; see \url{https://github.com/edzer/sp/commit/8f8a66090e47cf0f6bbf5549376c0bc07b6c29df} |
| 93 |
\item fix all long/lat-based great circle distance functions; see \url{https://github.com/edzer/sp/commit/d8374ff7efc6735cba9a054748c602bed0672f23} and \url{https://stat.ethz.ch/pipermail/r-sig-geo/2016-December/025201.html} |
| 94 |
\item clarified cellcentre.offset documentation, see \url{https://github.com/edzer/sp/issues/18} |
| 95 |
} |
| 96 |
} |
| 97 |
\section{Changes in version 1.2-3 (2016-04-06)}{ |
| 98 |
\itemize{ |
| 99 |
\item update sp gallery, see \url{https://edzer.github.io/sp/} |
| 100 |
\item move \code{methods} from Imports: to Depends: |
| 101 |
\item improve base plot methods for \code{SpatialGridDataFrame} and \code{SpatialPixelsDataFrame} objects, see \url{https://r-spatial.org/r/2016/03/08/plotting-spatial-grids.html} for examples |
| 102 |
\item improve the graticule \code{labels} methods, see \code{?gridlines} |
| 103 |
\item fix hole assignment for triangles, reported in \url{https://stat.ethz.ch/pipermail/r-sig-geo/2016-March/024214.html} |
| 104 |
\item \code{as.SpatialPolygons.GridTopology} drops rownames of coordinates generated, but keeps coordinate (column) names from the \code{cellcentre.offset} slot of the grid |
| 105 |
\item improve examples in \code{over} vignette. |
| 106 |
} |
| 107 |
} |
| 108 |
\section{Changes in version 1.2-2 (2016-02-05)}{ |
| 109 |
\itemize{ |
| 110 |
\item method `row.names` for `SpatialPoints` makes unique row names, or drops them. |
| 111 |
\item add a \code{labels} method for \code{gridlines}, drawing labels under varying angle (see \code{gridlines} example) |
| 112 |
\item add coercion (``as'' methods) from \code{deldir} to \code{SpatialLines} and \code{SpatialPolygons} |
| 113 |
\item migrate sp code base to github |
| 114 |
\item correct \code{[} subsetting when \code{i} is all \code{FALSE}; report by Francois Rousseau. |
| 115 |
\item add \code{geometry<-} method for \code{Spatial}, wrapping \code{addAttrToGeom} |
| 116 |
\item addressing \code{rbind} and docs issues raised by Kent Johnson on r-sig-geo, 5 Dec 2015 |
| 117 |
\item get `row.names` of coords correctly if object is a \code{SpatialPoints} |
| 118 |
\item add non-default coercion \code{SpatialPolygonsDataFrame} to \code{SpatialPolygons} |
| 119 |
\item add comment to \code{SpatialPolygons} coerced from \code{SpatialGrid} or \code{SpatialPixels} |
| 120 |
\item \code{coordinates} method for \code{SpatiaLines} now retains rownames |
| 121 |
} |
| 122 |
} |
| 123 |
|
| 124 |
\section{Changes in version 1.2-1 (2015-10-17)}{ |
| 125 |
\itemize{ |
| 126 |
\item \code{spsample.Spatial} does no longer generate objects with rownames. |
| 127 |
\item \code{CRS} gains argument \code{doCheckCRSArgs}, to allow suppression of the default checking |
| 128 |
\item coercion from \code{Lines} to \code{SpatialPoints} now drops (duplicate) rownames |
| 129 |
\item add coercion from \code{SpatialLines*} to \code{SpatialMultiPoints*} |
| 130 |
\item improve printing of \code{SpatialMultiPoint*} objects |
| 131 |
\item \code{aggregate} now passes \code{minDimension} to \code{rgeos}; explanation of |
| 132 |
\code{aggregate} extended in its vignette |
| 133 |
\item depend on \code{rgeos} version 0.3-13 |
| 134 |
\item \code{merge} now accepts \code{"row.names"} or \code{0} for arguments \code{by.x} or \code{by.y}, for compatibility with \code{base::merge}. |
| 135 |
\item \code{aggregate} now accepts parameter \code{minDimension}, introduced for \code{over} in 1.2-0, and passes it on to \code{over} to control when features intersect; see the documentation of \code{over} and its vignette for details. |
| 136 |
\item \code{SpatialMultiPoints} objects with zero features can now exist. |
| 137 |
} |
| 138 |
} |
| 139 |
\section{Changes in version 1.2-0 (2015-09-01)}{ |
| 140 |
\itemize{ |
| 141 |
\item Support for \code{SpatialMultiPoints} and |
| 142 |
\code{SpatialMultiPointsDataFrame} objects. Where \code{SpatialPoints} |
| 143 |
are set of points, \code{SpatialMultiPoints} are sets of point sets. |
| 144 |
\code{SpatialPointsDataFrame} objects bind points to attribute values, |
| 145 |
\code{SpatialMultiPointsDataFrame} bind point sets to attribute values. |
| 146 |
Methods supported are subsetting (\code{[}), |
| 147 |
\code{plot}, \code{spplot}, \code{over}, and coercion to |
| 148 |
\code{SpatialPoints} or \code{SpatialPointsDataFrame}. Functions in |
| 149 |
\CRANpkg{rgeos} support this feature class. See also \code{demo(mp)}. |
| 150 |
|
| 151 |
\item creating \code{SpatialPoints} objects with duplicated coordinate |
| 152 |
rownames now gives a warning, which will become an error in the future. |
| 153 |
|
| 154 |
\item Support for Google Earth or OpenStreetMap background maps in |
| 155 |
\code{sp::plot} and \code{spplot}. Maps returned by |
| 156 |
\itemize{ |
| 157 |
\item function \code{GetMap} in package \CRANpkg{RgoogleMaps} |
| 158 |
\item function \code{get_map} in package \CRANpkg{ggmap} |
| 159 |
} |
| 160 |
are now understood by plotting functions in \CRANpkg{sp}. In particular, |
| 161 |
\code{sp::plot} now has an argument \code{bgMap}, \code{spplot} |
| 162 |
now has panel functions \code{panel.RgoogleMaps} and \code{panel.ggmap}; |
| 163 |
See \code{demo(webmap)} for examples. |
| 164 |
|
| 165 |
As these maps assume a web mercator projection, \code{sp::plot} issues a warning |
| 166 |
if the object to be plotted have a CRS that does not contain \code{"+init=epsg:3857"} |
| 167 |
|
| 168 |
\item \code{over} methods that are taken care of by \CRANpkg{rgeos} (anything |
| 169 |
involving \code{SpatialLines}, or \code{SpatialPolygons}-\code{SpatialPolygons}) |
| 170 |
gained an argument \code{minDimension}, which causes an ordering of returned |
| 171 |
features by dimension of intersection, and the ability to select a minimun |
| 172 |
dimension (e.g. only area-overlap); this uses \code{gRelate}, and has a |
| 173 |
computational cost. Documentation found in \code{vignette("over")}. |
| 174 |
|
| 175 |
} |
| 176 |
} |