Search Discussions
-
Hi I would like to use the plotKML package to create a KML file for google earth. Specifically, I intend to display several attributes of a spatial points dataframe. How do I define the argument ...
Twah
Jun 17, 2016 at 8:05 pm
Jun 17, 2016 at 8:05 pm -
Hello r-sig-geo, The gbif function in package dismo does not appear to be functioning. No matter what genus/species combination I try, the function finds 0 records. For example: sp.occur <- ...
Tim Bean
Jun 15, 2016 at 8:41 pm
Jun 16, 2016 at 5:45 pm -
Hello, I am trying to use kriging to make temperature predictions but I have run into a slight issue. I would like to include anisotropy in my variogram model but GStat does not support anisotropy ...
Dan Turenne
Jun 15, 2016 at 6:00 pm
Jun 16, 2016 at 12:53 pm -
Hi, I?m running across an issue with my code while trying to use a Kernel Density Estimator to cluster points. I am working with my data in two different ways trying to find the most optimal. First, ...
Alex Fitz
Jun 13, 2016 at 4:05 pm
Jun 13, 2016 at 4:05 pm -
Hi all, I'm trying to get some variables iteratively from a directory with a large number of .nc files and create a csv.file. I wrote this script: filenames <- list.files("directory", pattern="*.nc", ...
Matteo lattuada
Jun 13, 2016 at 8:14 am
Jun 13, 2016 at 8:14 am -
Dear all, we are happy to announce that mapview-1.1.0 is now available on CRAN. This release marks a major update of the package. Here's the NEWS file: new features: * addMouseCoordinates: add cursor ...
Tim Appelhans
Jun 12, 2016 at 3:22 pm
Jun 12, 2016 at 3:22 pm -
Hi All, Currently I am using a raster of the gridded world population (GWPv4) to calculate density in Nigeria. I also have the Nigeria shapefiles from GADM. I am having an issue with the area?s that ...
Alex Fitz
Jun 9, 2016 at 8:16 pm
Jun 10, 2016 at 1:15 am -
so I have a few questions. I am looking to simulate a set of 3 (out of 4) correlated stochastic fields, which are all related through a linear model of coregionalization. One of the fields will be ...
William Savran
Jun 9, 2016 at 8:01 pm
Jun 9, 2016 at 8:01 pm -
Hi, I am currently trying to match my area data for each cell in a raster to the population of each cell to calculate the density. When I run the crop function to get the specific state data that I ...
Alex Fitz
Jun 9, 2016 at 1:31 pm
Jun 9, 2016 at 1:31 pm -
Hi, I have a raster and I am trying to get the area of each grid cell. The raster object is a country and I am trying to get the area of my grid cells so I can calculate density. When I type in the ...
Alex Fitz
Jun 8, 2016 at 7:49 pm
Jun 8, 2016 at 9:00 pm -
Hi, I have a raster, which is projected into "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0". Now I would like to create a circular Polygon with a radius of 300 meters around a cell ...
Giacomo May
Jun 8, 2016 at 11:26 am
Jun 8, 2016 at 6:47 pm -
Dear All, I am new to gstat and fairly new to applying geostatistical methods, so I have a few questions. I am looking to simulate a set of 3 (out of 4) correlated stochastic fields, which are all ...
William Savran
Jun 6, 2016 at 4:56 pm
Jun 6, 2016 at 5:26 pm -
Indeed, threshold is not passed through, it was used when the function used gpclib rather than rgeos; I'm minded to deprecate maptools::unionSpatialPolygons anyway. Note that the data are in ...
Roger Bivand
Jun 6, 2016 at 1:24 pm
Jun 6, 2016 at 7:19 pm -
Hi, I am trying to fit a simultaneous autoregressive model to some data using the spdep package. In order to identify the appropriate spatial distance to use, I use the correlog function to find the ...
Pascal Title
Jun 5, 2016 at 9:58 pm
Jun 6, 2016 at 9:45 am -
Dear all, I am working with a lagsarlm "mixed" model I executed: library(spdep) library(coda) dsts15 <- nbdists(nbs15, data.xy) idw15 <- lapply(dsts15, function(x) 1/(x)) sy15 <- nb2listw(nbs15, ...
Jorge Cárcamo
Jun 4, 2016 at 2:58 pm
Jun 5, 2016 at 3:33 pm -
Dear all, I am working with daily time series of meteorological variables. This is an example of the dataset: library(raster) # Create date sequence idx <- seq(as.Date("1961/1/1"), ...
Thiago V. dos Santos
Jun 2, 2016 at 8:30 pm
Jun 8, 2016 at 7:44 pm -
Dear all, I?m using two functions (copied below, based on Jacob van Etten?s own documentation for distance) in order to construct the required transition objects for use in gDistance functions such ...
T C Wilkinson
Jun 2, 2016 at 10:22 am
Jun 2, 2016 at 5:23 pm -
Dear all, I have used the following code to read in a ncdf file library(chron) library(lattice) library(ncdf4) library(data.table) ncname <- ("/file_path") ncfname <- paste(ncname, ".nc", sep = "") ...
Miluji Sb
Jun 2, 2016 at 8:42 am
Jun 2, 2016 at 1:20 pm -
Hello, I would like to build a predictive map of capture success from a GAM. To build the GAM, I used data of capture success (dependent variable in the model) and proportions of land cover types ...
Nelly Reduan
May 27, 2016 at 5:05 pm
Jun 10, 2016 at 12:05 am -
Hi, I guess this may be not a specificity of r-sig-geo but as I am using library(rgdal) library(rgeos) in this script so it may be the reason? (perhaps I should try running something else to check) ...
Dr Didier G. Leibovici
May 27, 2016 at 11:51 am
May 27, 2016 at 8:06 pm -
Dear all, I have downloaded the NUTS 2 level data from library(?rgdal?) library(?RColorBrewer?) library(?classInt?) #library(?SmarterPoland?) library(fields) # Download Administrative Level data from ...
Miluji Sb
May 26, 2016 at 9:31 pm
May 27, 2016 at 8:42 am -
Dear all, I can't find a solution for the following problem: When I first intersect a line with 2 polygons (splitting it into 2 segments) and then use an overlay to get for each segment the attribute ...
Gwennaël Bataille
May 25, 2016 at 1:53 pm
May 30, 2016 at 2:01 pm -
Hi, I have a rasterBrick object that I have created through a series of manipulations and written to disk using writeRaster(x,format="CDF"). In another, independent script, I then need to read that ...
Mark R Payne
May 25, 2016 at 9:58 am
May 25, 2016 at 10:15 am -
Dear everyone, I'm used to calculating the compass angles (clockwise from due North) of line features projected in UTM using the tool Linear Directional Mean ...
Eduardo Diez
May 25, 2016 at 3:15 am
May 26, 2016 at 10:28 am -
Dear members, I will try to calculate each polygon percentage inside a circles given an arbitrary radius in a shapefile object with the code below and my output needs to be (Two first columns with ...
ASANTOS
May 25, 2016 at 1:17 am
May 27, 2016 at 12:09 am -
Hello Guys, I am trying to do Trend Surface Analysis (TSA) via OLS as rainfall function of longitude and latitude. This TSA needs spatialgriddataframe which is grd. The code went fine, but the graph ...
Yasmine mohamed
May 23, 2016 at 1:23 pm
May 23, 2016 at 1:23 pm -
I have a multi-layer raster, in this case a rasterbrick, on which I would like to apply a focal function on each layer, and get another rasterbrick as a result. I am trying to use calc, but ...
Thiago V. dos Santos
May 21, 2016 at 8:02 pm
May 21, 2016 at 10:24 pm -
Hello,I'm trying to simulate a grid with binomial distribution spacially dependent. For the normal distribution, the package geoR has the command grf(). Has anyone some ideia how can I do this?Thanks ...
Daniela Nava
May 20, 2016 at 12:53 pm
May 20, 2016 at 1:04 pm -
Hello everyone, I am working with spatial polygon and using SP and RGEOS package. I am having problem to find the maximum-distance intersect points with spokes (drawn from a kind of centroid) and the ...
Kaushik Jana
May 20, 2016 at 7:21 am
May 20, 2016 at 7:21 am -
Hello all, I'm working on a map. I'd like to extract centroids of the counties below in order to plot them as points. How can I do this? Many thanks, Andy ~~~~ library(ggplot2) library(maps) ...
Andy Bunn
May 20, 2016 at 3:41 am
May 20, 2016 at 4:48 am -
Hi All, Trying to an equivalent to the "nearest" tool in ArcGIS for two SpatialPointDataFrames. I can do the naive implementation by calculating all pairwise distances using gDistance and taking the ...
Nick Eubank
May 19, 2016 at 8:41 pm
May 20, 2016 at 1:37 am -
Hi all, I have been getting the below error a few times. I have seen in several places that a zero-width gBuffer call will fix the topology problem. However, in this case, I find that the call to ...
Kenny Bell
May 18, 2016 at 5:08 pm
May 19, 2016 at 7:55 pm -
Hello everybody, I am trying to build a grid from a polygon, using the functions spsample and gridded, but it seems there is something wrong with the coordinates in longitude and latitude which not ...
Andres Diaz
May 18, 2016 at 4:22 pm
May 18, 2016 at 4:43 pm -
Hi, Has anyone applied the CRAN R Bagidis package to animal movement data or other functional curve data (EEG, Ecog, bird flight, econometrics)? This semi-distance allows for comparing curves with ...
Chris english
May 18, 2016 at 11:56 am
May 18, 2016 at 11:56 am -
Is it possible to convert latitude and longitude into addresses in R using Wikimapia mapping instead of Google? The reason being that Wikimapia addresses have more details. This is the code I have ...
Miluji Sb
May 17, 2016 at 10:25 pm
May 18, 2016 at 2:18 am -
Dear all, I get "Error in nrank%%1 : non-numeric argument to binary operator" running Envelope works fine running Thanks, -- Domenico Giusti <dncgst at gnewarchaeology.it GPG keyID ...
Domenico Giusti
May 17, 2016 at 11:44 am
May 18, 2016 at 9:00 am -
Dear list members, I am performing a K-select analysis (/kselect/ function in adehabitatHS), I have been able to compute the marginality for each animal, but does anyone know how to compute the ...
Jeremy Larroque
May 17, 2016 at 9:43 am
May 17, 2016 at 9:43 am -
Dear R users I have a raster stack and a polygon. I want the mean value inside this polygon for each raster in the stack. I'm doing the following: vals <- extract(stack,polygon) colMeans(r.vals[[1]]) ...
Antonio Silva
May 16, 2016 at 6:32 pm
May 16, 2016 at 9:14 pm -
Hi I encountred a problme when running a loop to generate randomly distributed points within a polygon. The error I get is: Error in .local(x, n, type, ...) : iteration did not converge; try ...
Juta Kawalerowicz
May 11, 2016 at 12:51 pm
May 11, 2016 at 3:33 pm -
Hi all, I'm working on a vignette from the R-OpenSci auunconf, https://github.com/saundersk1/auunconf16/blob/master/Vignette%20BoM.Rmd, and am suddenly getting warning messages where I've never had ...
Adam H Sparks
May 10, 2016 at 6:39 am
May 17, 2016 at 9:06 am -
Hi, Has anyone applied the CRAN R Bagidis package to animal movement data? This semi-distance allows for comparing curves with sharp local patterns that might not be well aligned from one curve to ...
Chris english
May 6, 2016 at 12:20 pm
May 6, 2016 at 12:20 pm -
Hi, I think there is a more fundamental problem that you should consider. The use of p values and set significant levels are seriously being questioned as good statistical modelling practises. You ...
John Lewis
May 4, 2016 at 2:20 pm
May 4, 2016 at 6:36 pm -
Dear all, In climate studies, it is a common practice to perform some statistical test between two fields (maps), and then plot the resulting map using a significance mask. This masking is usually ...
Thiago V. dos Santos
May 3, 2016 at 11:11 pm
May 10, 2016 at 7:50 pm -
Hello everyone, I'm having problems with the MODIS package, specifically, the runGdal() command after the recent update to R 3.2.5. The error I get is this: Error in runGdal(product = product, begin ...
Hakim Abdi
May 2, 2016 at 9:11 pm
May 25, 2016 at 9:43 am -
HI all, thanks to all those to pointed me towards good environmental data sets for teaching spatial stats in R. We are plugging along on point patterns this week. This next query might be a bit of ...
Andy Bunn
May 2, 2016 at 7:52 pm
May 2, 2016 at 8:01 pm -
Dear all, I want to calculate the symmetric distance between two polygon. I learned that "gSymdifference" and "gArea" of "rgoes" can be used for that purpose. But I am not getting how this difference ...
Kaushik Jana
May 2, 2016 at 8:03 am
May 22, 2016 at 2:38 pm -
Dear all, I have the following data by US FIPS code. Is there a package to aggregate the data by State and Census divisions? temp <- dput(head(pop1,5)) structure(list(FIPS = c("01001", "01003", ...
Miluji Sb
May 1, 2016 at 3:30 pm
May 1, 2016 at 4:30 pm -
Dear list, I am trying to use the function predict() (in package raster), where I supply: the new data as a RasterBrick, the model (as fit in previous steps and using a different dataset), and a few ...
Gonzalez-Mirelis Genoveva
Apr 30, 2016 at 10:32 am
May 1, 2016 at 9:01 am -
Hello, I'm trying to run a code that uses the snowfall package. Here is the structure of my code. sfInit(parallel=T, cpus = 5, slaveOutfile="ErrorMessage.txt") sfExportAll() sfLibrary(rgdal) ...
Marine Regis
Apr 28, 2016 at 8:33 pm
Apr 29, 2016 at 7:45 am -
Hi everyone, I have been working in a list of function to process MODIS vegetation index timeseries and return crop cycle paramenters. It's for PhD thesis and I'll process all South America, so I ...
Isaque Daniel
Apr 28, 2016 at 4:34 pm
Apr 28, 2016 at 4:34 pm
Group Overview
group | r-sig-geo |
categories | r |
discussions | 7,829 |
posts | 24,273 |
users | 2,936 |
website | r-project.org |
irc | #r |
Top users
Archives
- June 2016 (63)
- May 2016 (103)
- April 2016 (165)
- March 2016 (65)
- February 2016 (179)
- January 2016 (115)
- December 2015 (88)
- November 2015 (119)
- October 2015 (152)
- September 2015 (145)
- August 2015 (155)
- July 2015 (153)
- June 2015 (137)
- May 2015 (201)
- April 2015 (148)
- March 2015 (136)
- February 2015 (131)
- January 2015 (72)
- December 2014 (83)
- November 2014 (118)
- October 2014 (156)
- September 2014 (172)
- August 2014 (183)
- July 2014 (173)
- June 2014 (131)
- May 2014 (179)
- April 2014 (211)
- March 2014 (229)
- February 2014 (183)
- January 2014 (199)
- December 2013 (214)
- November 2013 (219)
- October 2013 (218)
- September 2013 (209)
- August 2013 (173)
- July 2013 (337)
- June 2013 (247)
- May 2013 (245)
- April 2013 (246)
- March 2013 (260)
- February 2013 (289)
- January 2013 (212)
- December 2012 (285)
- November 2012 (234)
- October 2012 (385)
- September 2012 (165)
- August 2012 (221)
- July 2012 (270)
- June 2012 (286)
- May 2012 (274)
- April 2012 (227)
- March 2012 (366)
- February 2012 (270)
- January 2012 (284)
- December 2011 (235)
- November 2011 (273)
- October 2011 (300)
- September 2011 (325)
- August 2011 (240)
- July 2011 (327)
- June 2011 (227)
- May 2011 (263)
- April 2011 (242)
- March 2011 (303)
- February 2011 (267)
- January 2011 (228)
- December 2010 (385)
- November 2010 (380)
- October 2010 (358)
- September 2010 (261)
- August 2010 (274)
- July 2010 (222)
- June 2010 (282)
- May 2010 (232)
- April 2010 (232)
- March 2010 (205)
- February 2010 (205)
- January 2010 (236)
- December 2009 (214)
- November 2009 (306)
- October 2009 (212)
- September 2009 (193)
- August 2009 (183)
- July 2009 (194)
- June 2009 (153)
- May 2009 (198)
- April 2009 (241)
- March 2009 (236)
- February 2009 (205)
- January 2009 (215)
- December 2008 (158)
- November 2008 (116)
- October 2008 (213)
- September 2008 (134)
- August 2008 (146)
- July 2008 (160)
- June 2008 (123)
- May 2008 (175)
- April 2008 (159)
- March 2008 (149)
- February 2008 (121)
- January 2008 (133)
- December 2007 (80)
- November 2007 (147)
- October 2007 (129)
- September 2007 (98)
- August 2007 (110)
- July 2007 (125)
- June 2007 (152)
- May 2007 (77)
- April 2007 (97)
- March 2007 (160)
- February 2007 (88)
- January 2007 (83)
- December 2006 (79)
- November 2006 (77)
- October 2006 (94)
- September 2006 (104)
- August 2006 (48)
- July 2006 (55)
- June 2006 (88)
- May 2006 (83)
- April 2006 (111)
- March 2006 (61)
- February 2006 (46)
- January 2006 (45)
- December 2005 (35)
- November 2005 (34)
- October 2005 (44)
- September 2005 (55)
- August 2005 (32)
- July 2005 (18)
- June 2005 (62)
- May 2005 (42)
- April 2005 (26)
- March 2005 (34)
- February 2005 (11)
- January 2005 (35)
- December 2004 (32)
- November 2004 (9)
- October 2004 (30)
- September 2004 (4)
- August 2004 (20)
- July 2004 (16)
- June 2004 (3)
- May 2004 (17)
- April 2004 (19)
- March 2004 (17)
- February 2004 (19)
- January 2004 (15)
- December 2003 (20)
- November 2003 (33)
- October 2003 (35)
- July 2003 (1)