[R-sig-Geo] Error in reading shape file with readOGR()

2018-02-13 Thread Adam Fera
Hello, Amos, I came across this posting because I had a similar problem using R for mapping within GNU Emacs Org Mode on GNU/Linux. I work on a research team that uses a shared directory for data analysis. This makes it imperative to use relative pathnames so that everyone can use the exact

Re: [R-sig-Geo] Interpolating snowfall values on a Digital Elevation Model

2018-02-13 Thread Stefano Sofia
Yes, thank you for all your observations. I realized that I needed projected coordinates, I changed it and now it works. I will read the suggested papers as soon as I can. Thank you Stefano (oo) --oOO--( )--OOo Stefano Sofia PhD Area Meteorologica e Area nivologica -

Re: [R-sig-Geo] Interpolating snowfall values on a Digital Elevation Model

2018-02-13 Thread Dominik Schneider
You can't use a lat/long coordinate system when kriging because the concept of distance is ambiguous. Convert all your data a UTM grid like you had in your first post and it should work. Another note, It looks like you are working at 0.01 deg which is on the order of 1km resolution so you may

Re: [R-sig-Geo] Interpolating snowfall values on a Digital Elevation Model

2018-02-13 Thread Stefano Sofia
Dear Daniel and list users, I tried to follow the instructions but I encountered two kinds of errors. This is a reproducibile code: --- library(automap) library(ggplot2) library(gstat)