Re: [R-sig-Geo] tpk files

2019-04-12 Thread Barry Rowlingson
On Fri, Apr 12, 2019 at 6:16 PM Marta Rufino wrote: > Hi, > > Now, the next issue will be how to transform the huge world wide sf points > (that are actually 32 classes) into a 'multipolygons' sf. Maybe I should do > a new post with a reproducible example for this new challenge, if I don't >

Re: [R-sig-Geo] [R] Creating a mean line plot

2019-04-12 Thread rain1290--- via R-sig-Geo
Hi Eric, Ah, I apologize, and thank you for your response!  I just figured out a way to average my x-values, so at least that is solved. I will still include the data for the two variables (1-dimensional) of interest that I was trying to average, just to show what was done: get2.teratons #(90

Re: [R-sig-Geo] "g.list" in rgrass7 returns an integer and not a char. vector

2019-04-12 Thread Mathieu Rajerison
Thanks a lot ! Le ven. 12 avr. 2019 à 15:05, Micha Silver a écrit : > > On 12/04/2019 15:15, Mathieu Rajerison wrote: > > Hi List, > > I try to get the list of rasters which are in my working environment but > the result of execGRASS("g.list") is an integer, not a character vector > > Why is

Re: [R-sig-Geo] "g.list" in rgrass7 returns an integer and not a char. vector

2019-04-12 Thread Micha Silver
On 12/04/2019 15:15, Mathieu Rajerison wrote: Hi List, I try to get the list of rasters which are in my working environment but the result of execGRASS("g.list") is an integer, not a character vector Why is that ? execGRASS("g.list",

[R-sig-Geo] "g.list" in rgrass7 returns an integer and not a char. vector

2019-04-12 Thread Mathieu Rajerison
Hi List, I try to get the list of rasters which are in my working environment but the result of execGRASS("g.list") is an integer, not a character vector Why is that ? > execGRASS("g.list", type="raster", pattern="global*") %>% class() global_glob_rad_day1 global_glob_rad_day2

Re: [R-sig-Geo] tpk files

2019-04-12 Thread Edzer Pebesma
Thanks; not sure this is what is intended, but it seemed to work: > library(sf) Linking to GEOS 3.7.0, GDAL 2.4.0, PROJ 5.2.0 > r = st_read("EMU.gpkg", query = "select * from EMU_Master where depth_lvl = 1") Reading layer `EMU_Master' from data source `/home/edzer/Downloads/EMU.gpkg' using