./math/R-sp, Classes and methods for spatial data

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.7, Package name: R-sp-1.2.7, Maintainer: pkgsrc-users

A package that provides classes and methods for spatial data. The
classes document where the spatial location information resides, for
2D or 3D data. Utility functions are provided, e.g. for plotting data
as maps, spatial selection, as well as methods for retrieving
coordinates, for subsetting, print, summary, etc.


Required to run:
[math/R]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2018-07-28 16:40:53 by Brook Milligan | Files touched by this commit (126)
Log message:
Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
   2018-06-01 08:15:27 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.2.7

No upstream changelog found.
   2018-01-07 13:18:11 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.2.6

No upstream changelog found.
   2017-12-02 13:09:54 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.2.5

Upstream changes:
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/8f8a … c07b6c29df

    fix all long/lat-based great circle distance functions; see \ 
https://github.com/edzer/sp/commit/d837 … bed0672f23 and \ 
https://stat.ethz.ch/pipermail/r-sig-ge … 25201.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 and \ 
SpatialPixelsDataFrame objects, see \ 
http://r-spatial.org/r/2016/03/08/plott … grids.html for examples

    improve the graticule labels methods, see ?gridlines

    fix hole assignment for triangles, reported in \ 
https://stat.ethz.ch/pipermail/r-sig-ge … 24214.html

    as.SpatialPolygons.GridTopology drops rownames of coordinates generated, but \ 
keeps coordinate (column) names from the cellcentre.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 for gridlines, drawing labels under varying angle (see \ 
gridlines example)

    add coercion (“as” methods) from deldir to SpatialLines and SpatialPolygons

    migrate sp code base to github

    correct [ subsetting when i is all FALSE; report by Francois Rousseau.

    add geometry<- method for Spatial, wrapping addAttrToGeom

    addressing rbind and docs issues raised by Kent Johnson on r-sig-geo, 5 Dec 2015

    get 'row.names' of coords correctly if object is a SpatialPoints

    add non-default coercion SpatialPolygonsDataFrame to SpatialPolygons

    add comment to SpatialPolygons coerced from SpatialGrid or SpatialPixels

    coordinates method for SpatiaLines now retains rownames

Changes in version 1.2-1 (2015-10-17)

    spsample.Spatial does no longer generate objects with rownames.

    CRS gains argument doCheckCRSArgs, to allow suppression of the default checking

    coercion from Lines to SpatialPoints now drops (duplicate) rownames

    add coercion from SpatialLines* to SpatialMultiPoints*

    improve printing of SpatialMultiPoint* objects

    aggregate now passes minDimension to rgeos; explanation of aggregate \ 
extended in its vignette

    depend on rgeos version 0.3-13

    merge now accepts "row.names" or 0 for arguments by.x or by.y, for \ 
compatibility with base::merge.

    aggregate now accepts parameter minDimension, introduced for over in 1.2-0, \ 
and passes it on to over to control when features intersect; see the \ 
documentation of over 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 and SpatialMultiPointsDataFrame objects. \ 
Where SpatialPoints 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 to SpatialPoints \ 
or SpatialPointsDataFrame. Functions in rgeos support this feature class. See \ 
also demo(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 and \ 
spplot. Maps returned by

        function GetMap in package RgoogleMaps

        function get_map in package ggmap

    are now understood by plotting functions in sp. In particular, sp::plot now \ 
has an argument bgMap, spplot now has panel functions panel.RgoogleMaps and \ 
panel.ggmap; See demo(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 involving \ 
SpatialLines, or SpatialPolygons-SpatialPolygons) gained an argument \ 
minDimension, 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 uses gRelate, and has a computational cost. Documentation \ 
found in vignette("over").
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
Add SHA512 digests for distfiles for math category

Problems found locating distfiles:
	Package dfftpack: missing distfile dfftpack-20001209.tar.gz
	Package eispack: missing distfile eispack-20001130.tar.gz
	Package fftpack: missing distfile fftpack-20001130.tar.gz
	Package linpack: missing distfile linpack-20010510.tar.gz
	Package minpack: missing distfile minpack-20001130.tar.gz
	Package odepack: missing distfile odepack-20001130.tar.gz
	Package py-networkx: missing distfile networkx-1.10.tar.gz
	Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz
	Package quadpack: missing distfile quadpack-20001130.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-05-30 13:05:17 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.1.0

Upstream changes:
2015-04-24 08:59  edzer

	* ChangeLog, R/aggregate.R: aggregate: add drop_lower_td = TRUE to
	  gIntersection call

2015-04-24 08:57  edzer

	* inst/ChangeLog: tidy

2015-04-24 07:42  rsbivand

	* R/CRS-methods.R: change to nzchar

2015-04-24 07:33  rsbivand

	* R/CRS-methods.R, R/Class-Spatial.R, R/SpatialLines-methods.R,
	  R/SpatialPolygons-methods.R, R/projected.R: change to nzchar

2015-04-23 17:56  rsbivand

	* R/CRS-methods.R: R-devel needs !is.na(projargs) in CRS for lazy
	  loading

2015-04-23 14:36  edzer

	* man/as.SpatialPolygons.GridTopology.Rd: removed non-working
	  example lines

2015-04-23 10:47  rsbivand

	* R/SpatialPolygonsDataFrame-methods.R, inst/include/sp_xports.c,
	  src/sp_xports.c: SpatialPolygonsDataFrame error message

2015-04-21 06:29  edzer

	* man/spplot.Rd: modified example

2015-04-20 19:16  edzer

	* R/spplot.R: more spplot fixes

2015-04-20 18:58  edzer

	* R/spplot.R, man/spplot.Rd: more patches from Josh O'Brien

2015-04-19 17:10  edzer

	* DESCRIPTION: add Josh O'Brien to the ctb list

2015-04-19 17:04  edzer

	* R/spplot.R, man/spplot.Rd: corrections to sp.layout processing,
	  with help from Josh O'Brien

2015-04-16 19:16  edzer

	* .Rbuildignore, ChangeLog, build-prep.sh, build-release.sh: add
	  build-release script, so that not every build triggers an svn
	  `tidy' commit

2015-04-16 19:15  edzer

	* inst/ChangeLog: tidy

2015-04-16 19:14  edzer

	* inst/ChangeLog: tidy

2015-04-16 17:08  rsbivand

	* inst/ChangeLog: tidy

2015-04-16 16:39  edzer

	* R/aggregate.R: add comments to somewhat dense code

2015-04-16 14:38  edzer

	* R/aggregate.R: break when IDs contain space characters

2015-04-16 12:44  rsbivand

	* inst/ChangeLog: tidy

2015-04-16 12:44  rsbivand

	* inst/ChangeLog: tidy

2015-04-16 10:01  edzer

	* .Rbuildignore, R/SpatialPolygonsDataFrame-methods.R,
	  R/aggregate.R, man/aggregate.Rd: correct SpatialPolygonsDataFrame
	  subsetting with character argument
	  add area-weighted aggregation, as an option to sp::aggregate

2015-04-14 21:36  edzer

	* ChangeLog, R/Spatial-methods.R, build-prep.sh: warn when
	  data.frame is assigned to attribute vector

2015-04-14 13:58  edzer

	* inst/ChangeLog: tidy

2015-04-13 17:38  edzer

	* inst/ChangeLog: tidy

2015-04-13 17:35  edzer

	* ChangeLog, inst/ChangeLog, inst/include/sp.h, src/sp.h,
	  src/sp.h.in: tidy

2015-04-13 17:34  edzer

	* ChangeLog, inst/ChangeLog, inst/include/sp_xports.c,
	  src/sp_xports.c: tidy

2015-04-13 17:23  edzer

	* ChangeLog, inst/ChangeLog: tidy

2015-04-13 17:19  edzer

	* ChangeLog, inst/ChangeLog: tidy

2015-04-13 15:29  rsbivand

	* ChangeLog, inst/ChangeLog: tidy

2015-04-13 15:28  rsbivand

	* .Rbuildignore, ChangeLog, build-prep.sh, svn2cl.xsl: move to
	  distributed svn2cl

2015-04-13 10:57  edzer

	* inst/include/sp_xports.c, src/sp_xports.c: tidy

2015-04-13 08:00  rsbivand

	* src/sp.h.in: add sp/src/sp.h.in

2015-04-13 07:49  edzer

	* src/pip.c, src/pip2.c, src/sp_xports.c: add const qualifiers,
	  tidy sp_xports.c

2015-04-09 19:17  rsbivand

	* ChangeLog, inst/ChangeLog: tidy

2015-04-09 19:16  rsbivand

	* .Rbuildignore, ChangeLog, DESCRIPTION, build-prep.sh,
	  inst/ChangeLog: tidy

2015-04-09 19:10  rsbivand

	* .Rbuildignore: devel check issues (urls)

2015-04-09 19:07  rsbivand

	* build-prep.sh, inst/include/sp.h, inst/include/sp_xports.c:
	  adding build-prep.sh

2015-04-09 17:09  rsbivand

	* DESCRIPTION, man/meuse.Rd, man/panel.Rd, man/spDistsN1.Rd,
	  man/spplot.Rd: devel check issues (urls)

2015-04-09 13:17  rsbivand

	* ChangeLog, inst/ChangeLog: tidy

2015-04-09 13:16  rsbivand

	* man/Spatial-class.Rd, man/SpatialLines-class.Rd,
	  man/SpatialPoints-class.Rd, man/SpatialPolygons-class.Rd:
	  document plot methods

2015-04-09 11:14  rsbivand

	* ChangeLog, inst/ChangeLog: tidy

2015-04-09 11:11  rsbivand

	* DESCRIPTION, inst/include/sp.h, inst/include/sp_xports.c,
	  man/spplot.Rd, src/init.c, src/pip.c, src/pip2.c, src/sp.h,
	  src/sp_xports.c, tests/fail1.R, tests/fail1.Rout.save: duplicate

2015-04-08 19:19  rsbivand

	* man/CRS-class.Rd, man/degaxis.Rd, man/is.projected.Rd,
	  man/nowrapSpatialLines.Rd, man/recenter-methods.Rd,
	  src/sp_xports.c: first cut duplicate and +ellps in man/*

2015-03-30 15:30  edzer

	* man/spplot.Rd: add spplot example with floating legend

2015-03-30 07:50  edzer

	* man/sp-deprecated.Rd: tidy; forgot overlay method definition

2015-03-30 07:39  edzer

	* DESCRIPTION, R/Spatial-methods.R, R/overlay.R,
	  man/sp-deprecated.Rd: remove overlay method instances, keep
	  definition for raster

2015-03-28 11:53  edzer

	* man/over.Rd, man/spplot.Rd: tidy examples

2015-03-27 23:18  edzer

	* R/spplot.R, man/spplot.Rd: make `first' argument work again; add
	  examples of simpler sp.layout.

2015-03-22 19:54  edzer

	* R/spplot.R: argument `first' was not passed; spotted by Josh
	  O'Brien

2015-03-20 08:13  edzer

	* R/spplot.R: bug on plot order, reported by Josh O'Brien

2015-03-17 18:40  edzer

	* R/bubble.R, demo/gallery.R: update sppanel usage

2015-03-17 18:16  edzer

	* R/spplot.R: col specification for panel.polygonsplot, by Josh
	  O'Brien

2015-03-16 16:51  edzer

	* man/spplot.Rd: typo

2015-03-15 15:04  edzer

	* NAMESPACE, R/Spatial-methods.R, R/spplot.R, man/spplot.Rd:
	  refactor sp.layout argument; drop requirement to name function,
	  allow mixing Spatial* objects; introduce sppanel generic.

2015-03-15 11:38  edzer

	* R/spplot.R, demo/depend.R: sp.lines now obeys col argument longer
	  than one, email from Josh O'Brien

2015-03-10 14:39  edzer

	* demo/depend.R: change cran mirror

2015-03-09 20:54  edzer

	* DESCRIPTION, R/SpatialPointsDataFrame-methods.R, R/overlay.R,
	  tests/fail1.Rout.save, tests/pass1.R, tests/pass1.Rout.save: add
	  back overlay; tidy SpatialPointsDataFrame(), add tests

2015-03-09 11:53  edzer

	* R/SpatialPointsDataFrame-methods.R, man/SpatialPoints.Rd,
	  tests/fail1.Rout.save, tests/pass1.R, tests/pass1.Rout.save:
	  match.ID is now missing in SpatialPointsDataFrame(), a warning is
	  given if matching is applied but match.ID was not set; see the
	  examples in the docs.

2015-03-09 10:36  rsbivand

	* DESCRIPTION: remove overlay.R from Collate

2015-03-09 10:20  edzer

	* R/SpatialPointsDataFrame-methods.R, man/SpatialPoints.Rd:
	  match.ID defaults to TRUE if coords is not a data.frame,
	  otherwise FALSE (for backward compatibility)

2015-03-09 10:07  edzer

	* DESCRIPTION, R/CRS-methods.R, R/Class-CRS.R,
	  R/Class-SpatialGrid.R, R/Class-SpatialGridDataFrame.R,
	  R/Class-SpatialPoints.R, R/Class-SpatialPointsDataFrame.R,
	  R/Spatial-methods.R, R/SpatialGridDataFrame-methods.R,
	  R/SpatialLines-methods.R, R/SpatialPoints-methods.R,
	  R/SpatialPointsDataFrame-methods.R, R/SpatialPolygons-methods.R,
	  R/rbind.R, R/subset.R, man/sp-deprecated.Rd, src/sp_xports.c,
	  tests/pass1.R, tests/pass1.Rout.save: improve coordinates() logic
	  to keep row.names of data.frame's
	  improve support for zero-feature objects (subset, rbind)
	  add rgdal check on CRS() if rgdal is installed, instead of loaded
	  have $<- promote a SpatialXxx to a SpatialXxxDataFrame
	  Version bump to 1.1-0

2015-03-05 23:58  edzer

	* NAMESPACE: remove duplicated gridat

2015-03-02 17:30  edzer

	* vignettes/over.Rnw: update `over' vignette

2015-03-02 15:04  edzer

	* vignettes/over.Rnw: update

2015-03-02 12:57  edzer

	* R/over.R, man/over.Rd: call `over' methods in rgeos automatically

2015-03-02 11:19  edzer

	* R/CRS-methods.R, R/Spatial-methods.R, man/spTransform.Rd,
	  tests/fail1.Rout.save: load rgdal namespace when needed for
	  spTransform, clean up methods

2015-03-02 10:21  edzer

	* R/Spatial-methods.R, man/Spatial-class.Rd: allow $<- on
	  geometry-only objects, promoting them to *DataFrame

2015-02-26 21:00  edzer

	* DESCRIPTION, R/overlay.R, R/projected.R, R/spsample.R,
	  man/is.projected.Rd, man/sp-deprecated.Rd: remove overlay()
	  methods altogether, leaving generic for raster
	  tidy & clean projected.R
	  add warning to spsample.SpatialLines when data are longlat

2015-02-20 14:36  rsbivand

	* DESCRIPTION: add sp contributors

2015-02-19 21:14  edzer

	* R/SpatialGrid-methods.R: further optimize of plot.SpatialPixels

2015-02-19 17:25  edzer

	* R/SpatialGrid-methods.R, man/SpatialPixels-class.Rd: reduce
	  number of segments() calls to inprove performance

2015-02-19 15:57  edzer

	* .Rbuildignore, R/SpatialGrid-methods.R,
	  man/SpatialPixels-class.Rd: plotting SpatialGrid or SpatialPixels
	  now plots a grid, unless grid = FALSE

2015-02-19 14:05  edzer

	* DESCRIPTION, R/Class-CRS.R, R/Class-GridTopology.R,
	  R/Class-Spatial.R, R/Class-SpatialGrid.R,
	  R/Class-SpatialGridDataFrame.R, R/Class-SpatialLines.R,
	  R/Class-SpatialLinesDataFrame.R, R/Class-SpatialPoints.R,
	  R/Class-SpatialPointsDataFrame.R, R/Class-SpatialPolygons.R,
	  R/Class-SpatialPolygonsDataFrame.R, R/SpatialGrid-methods.R,
	  man/over.Rd: increase dependency on R >= 3.0.0, replace
	  representation by slots;
	  remove prototypes from class definitions

2015-01-24 18:54  edzer

	* man/addattr.Rd, man/over.Rd, man/spsample.Rd: cleanup references
	  to overlay

2015-01-23 21:15  edzer

	* man/SpatialPoints.Rd: correct docs regarding what match.ID
	  exactly does

2015-01-22 12:27  edzer

	* R/SpatialPoints-methods.R, R/spsample.R, man/spsample.Rd,
	  tests/grid.Rout.save: fix SpatialPointsDataFrame match.ID issue,
	  raised in
	  https://stat.ethz.ch/pipermail/r-sig-ge … 2242.html;
	  fix makegrid bug in case of negative bbox

2015-01-19 20:36  edzer

	* R/spplot.R: sp.panel.layout is now also called after the points
	  are plotted

2015-01-18 22:17  edzer

	* DESCRIPTION, R/spplot.R, man/spplot.Rd: bump version; allow list
	  for colorkey argument in spplot

2015-01-15 12:10  edzer

	* DESCRIPTION: Title Case Title

2014-12-23 19:56  edzer

	* inst/ChangeLog, man/meuse.riv.Rd: add plot to example

2014-12-23 14:57  edzer

	* data/meuse.area.rda, demo/meuse.R, man/meuse.riv.Rd: add
	  meuse.area outline of meuse.grid

2014-12-05 14:52  edzer

	* R/over.R: add comment

2014-12-05 14:51  edzer

	* R/SpatialPoints-methods.R, R/SpatialPointsDataFrame-methods.R:
	  add error messages when NA values occur in SpatialPoints objects

2014-11-17 14:32  edzer

	* R/merge.R: y -> dy

2014-11-16 19:12  edzer

	* DESCRIPTION, R/merge.R, man/merge.Rd: add duplicateGeoms argument
	  to merge(), add Robert as ctb

2014-11-09 11:21  edzer

	* R/CRS-methods.R, R/disaggregate.R, inst/ChangeLog: release
	  candidate 1.0-16

2014-11-09 10:45  edzer

	* inst/ChangeLog: ready for release

2014-09-23 19:59  edzer

	* R/aggregate.R: add call to match.fun()

2014-09-20 14:11  edzer

	* tests/sel.Rout.save: named results: make test align with change
	  in over

2014-09-19 20:28  edzer

	* R/over.R, vignettes/over.Rnw: the output list or vector of over()
	  is now named

2014-08-31 11:16  edzer

	* R/Spatial-methods.R, R/SpatialLines-methods.R,
	  R/SpatialPoints-methods.R, R/image.R: plot now accepts more of
	  plot.default's behaviour

2014-08-22 22:07  edzer

	* R/aggregate.R, R/disaggregate.R, R/sp_spat1.R: moved require(xx);
	  foo() into requireNamespace(xx) xx:foo() calls,
	  see
	  http://cran.r-project.org/doc/manuals/r … d-packages

2014-08-10 19:07  edzer

	* R/zerodist.R, inst/ChangeLog, man/zerodist.Rd, src/init.c,
	  src/sp.h, src/zerodist.c: add memcmp option to zerodist() family,
	  to allow for double arithmetic fall back
   2014-07-13 15:40:10 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.0.15
Update LICENSE
   2014-03-09 15:38:25 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.0.14