Coder Social home page Coder Social logo

rsmove's People

Contributors

16eagle avatar bprehn219 avatar rremelgado avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rsmove's Issues

rsMove vulnerable to forthcoming changes in sp and rgdal

Running revdep checks for current rgdal on R-Forge - see:

https://stat.ethz.ch/pipermail/r-sig-geo/2019-November/027801.html

shows the errors in the attached check log, related to use of PROJ&/GDAL3
and required changes to sp and rgdal. If useful find a reference to a docker
image in this thread:

r-spatial/discuss#28

Changes will occur quite fast, and packages need to be prepared.

* checking examples ... ERROR
Running examples in ‘rsMove-Ex.R’ failed
The error most likely occurred in:

> ### Name: backSample
> ### Title: backSample
> ### Aliases: backSample
> 
> ### ** Examples
> 
> {
+ 
+  require(raster)
+ 
+  # read raster data
+  file <- list.files(system.file('extdata', '', package="rsMove"), 'ndvi.tif', full.names=TRUE)
+  r.stk <- stack(file)
+ 
+  # read movement data
+  data(shortMove)
+ 
+  # find sample regions
+  label <- labelSample(shortMove, 30, agg.radius=30, nr.pixels=2)
+ 
+  # select background samples (pca)
+  bSamples <- backSample(shortMove, r.stk, label, sampling.method='pca')
+ 
+  # select background samples (random)
+  bSamples <- backSample(shortMove, r.stk, sampling.method='random')
+ 
+ }
Loading required package: raster
Loading required package: sp
Warning in showSRID(uprojargs, format = "PROJ", multiline = "NO") :
  Discarded datum WGS_1984 in CRS definition,
 but +towgs84= values preserved
Error in labelSample(shortMove, 30, agg.radius = 30, nr.pixels = 2) : 
  "x" and "y" have different projections
Execution halted

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.