[R-sig-Geo] projectRaster across the antimeridian

Fischbach, Anthony afischbach at usgs.gov
Tue Jul 5 20:40:25 CEST 2016


Thank you Roger,
Here is the sessionInfo and rgdal printout.
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C
                  LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
> library(rgdal)
Loading required package: sp
rgdal: version: 1.1-10, (SVN revision 622)
 Geospatial Data Abstraction Library extensions to R successfully loaded
 Loaded GDAL runtime: GDAL 2.0.1, released 2015/09/15
 Path to GDAL shared files: C:/Program Files/R/R-3.3.1/library/rgdal/gdal
 Loaded PROJ.4 runtime: Rel. 4.9.2, 08 September 2015, [PJ_VERSION: 492]
 Path to PROJ.4 shared files: C:/Program Files/R/R-3.3.1/library/rgdal/proj
 Linking to sp version: 1.2-3
>

I am afraid that I do not have a version 3.3.0 still installed, however, I
first noticed the error on 21 June 2016.
This makes me suspect that the issue occurred with the transition from
3.3.0 to 3.3.1.

-Tony


Anthony Fischbach, Wildlife Biologist
USGS Alaska Science Center Walrus Research Program
4210 University Drive (Glen Olds Hall room 369)
Anchorage, AK 99508

voice: (907) 786-7145

http://alaska.usgs.gov/science/biology/walrus/

On Tue, Jul 5, 2016 at 10:25 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote:

> On Tue, 5 Jul 2016, Fischbach, Anthony wrote:
>
> By stepping back to the previous r version (3.2.5) on my workstation
>> (sessionInfo and rgdal library call printed below),
>> I am able to obtain the results indicated by Benoit.
>>
>
> Could you please repeat the sessionInfo and rgdal startup messages for the
> failing R 3.3.1 run? Do you know whether the issue arose between R 3.2.5
> and R 3.3.0, or R 3.3.0 and R 3.3.1 (for the same version of rgdal)? The C
> and C++ compilers used < 3.3.0 and >= 3.3.0 changed, so there is a
> difference in the way that the binaries were built on Windows. I don't have
> easy access to Windows, but could check further if you could provide this
> information.
>
> Roger
>
>
>> Somewhere in this new r version and rasterProject function, we are getting
>> a problem.
>>
>> -Tony
>> ---
>> sessionInfo()
>> R version 3.2.5 (2016-04-14)
>> Platform: x86_64-w64-mingw32/x64 (64-bit)
>> Running under: Windows 7 x64 (build 7601) Service Pack 1
>>
>> locale:
>> [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
>> States.1252
>> [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
>>
>> [5] LC_TIME=English_United States.1252
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> other attached packages:
>> [1] raster_2.5-2 sp_1.2-3
>>
>> loaded via a namespace (and not attached):
>> [1] rgdal_1.1-10    Rcpp_0.12.5     grid_3.2.5      lattice_0.20-33
>>
>>> require(rgdal)
>>>
>> Loading required package: rgdal
>> rgdal: version: 1.1-10, (SVN revision 622)
>> Geospatial Data Abstraction Library extensions to R successfully loaded
>> Loaded GDAL runtime: GDAL 2.0.1, released 2015/09/15
>> Path to GDAL shared files: C:/Program Files/R/R-3.2.5/library/rgdal/gdal
>> GDAL does not use iconv for recoding strings.
>> Loaded PROJ.4 runtime: Rel. 4.9.1, 04 March 2015, [PJ_VERSION: 491]
>> Path to PROJ.4 shared files: C:/Program Files/R/R-3.2.5/library/rgdal/proj
>> Linking to sp version: 1.2-3
>>
>>>
>>> --- END ---
>>
>>         [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>>
> --
> Roger Bivand
> Department of Economics, Norwegian School of Economics,
> Helleveien 30, N-5045 Bergen, Norway.
> voice: +47 55 95 93 55; fax +47 55 95 91 00
> e-mail: Roger.Bivand at nhh.no
> http://orcid.org/0000-0003-2392-6140
> https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
> http://depsy.org/person/434412
>

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list