similar to: [newbie] how to find and combine geographic maps with particular features?

Displaying 20 results from an estimated 100 matches similar to: "[newbie] how to find and combine geographic maps with particular features?"

2012 Nov 09
1
decorating API in R
How best to implement a decorator pattern in R? What I mean, why I ask: A group of ncdf4 users is trying to make it easier (notably for ourselves :-) to write correctly IOAPI-formatted netCDF. Since IOAPI http://www.baronams.com/products/ioapi/ decorates netCDF, one obvious way to do a package=ioapi is to decorate the netCDF API from package=ncdf4. E.g., to add a data variable (datavar) with
2012 May 01
1
[fields:image.plot] subtitle under title (not image)?
summary: how to make image.plot print a subtitle between the title and the image, rather than under the image? details: I've got a project https://github.com/TomRoche/ioapi-hack-R that illustrates the use of (et al) the R packages {ncdf4, fields, M3} for processing and visualizing IOAPI data. The data being visualized consists of a series of layers (mostly representing emissions from a
2012 Feb 03
3
[fields] image.plot abends with NAs in image.plot.info
summary: image.plot-ing two sets of netCDF data, with the second derived from the first. First plots to PDF as expected (title, data, legend). Second plots the data and title, but abends before drawing the legend, with > Error in if (del == 0 && to == 0) return(to) : > missing value where TRUE/FALSE needed > Calls: plot.layers.for.timestep -> image.plot -> seq ->
2013 Feb 13
1
[lattice] display a projected map on a layerplot
summary: I can display a lon-lat map on a lattice::layerplot, and I can display a Lambert conformal conic (LCC) map on a spam::image, but I can't display an LCC map on a lattice::layerplot. Example follows. What am I doing wrong? details: I've been using `lattice` (via `rasterVis`) successfully to display global atmospheric data, which works well enough (though I am definitely intrigued
2006 Sep 16
4
Xen 3.0.2 panic on CPU 0
Hi there! I tried installing Xen 3.0.2 on my Intel Core Duo notebook, but when i boot Xen i got this bad message: Panic on CPU 0 IOAPI[1] unable to change apic_id Resetting in 5 seconds Unknown interrupt What is the cause? Is that fixed? How can i fix it? Many thanx who can help... Bye bye, Paolo Scaffardi http://www.arsenio.net http://www.sognilucidi.it http://www.artigianidelsughero.it
2005 Sep 01
1
Strange build message: request help w/resolving
Greetings, I am attempting to build a R package, however the build fails and the following message is ouput: C:\ConstellaGroup\EPA\RAGG\package>R CMD BUILD --binary --force RAGG * checking for file 'RAGG/DESCRIPTION' ... OK * preparing 'RAGG': * checking DESCRIPTION meta-information ... ERROR Error in if (regexpr(dep_regexp, dep) == -1) { : missing value where
2008 Jun 02
6
significant digits (PR#9682)
I came to report this same bug and found it already in the trash, but I slightly disagree with that assessment. If it's not a bug, then perhaps it's a feature request. Comments at the end. On Mon, May 14, 2007, Duncan Murdoch wrote: >>On 13/05/2007 8:46 PM, scott.wilkinson at csiro.au wrote: >> >> In the example below round() does not report to the specified number of
2012 Jul 23
2
translating IDL to R
I would appreciate * guidance regarding translation of IDL routines to R, generally * assistance translating two IDL routines to R, specifically Why I ask: I'm slowly learning how to do atmospheric modeling. One language that has been been popular in this space is IDL http://en.wikipedia.org/wiki/IDL_(programming_language) which unfortunately is proprietary (not to mention butt-ugly, IMHO
2009 Jul 16
9
Please help me understand how arrays are translated in rails
I''ve spent hours researching the subject and have tried many test sequences in IRB, and rails console but I''m just having trouble making headway into what is probably a very easy subject. I understand arrays with at least 4 other languages but with Ruby I haven''t found a mental connection with how I can assign variables to arrays.. Take for example: def
2017 Sep 25
0
build a SpatialLines object from a list
Hi Ashraf, It is not obvious to me what your structures are but one problem in your function is the assignment tt1 <- SpatialLines(list(tt[[i]])). This will set tt1 to just have one item. Consider the following test.func <- function(x) { tt1 <- list() for ( i in ... ) { ... tt1[[i]] <- SpatialLines(tt[[i]]) } return(tt1) } HTH, Eric On Mon, Sep 25,
2017 Sep 25
2
build a SpatialLines object from a list
Hi all,I'm trying to build a SpatialLines object from a list that contains 124 river segments. Each segment in the list contains the x,y coordinates. I'm using the following code to create the SpatialLines object, but it just retrieves one segment. Any suggestions? test.func = function(x){ ??? for (i in 1:length(x)) {??????? tt[[i]] <- x[i]; tt[[i]]? = Line(tt[[i]]); tt[[i]]? =
2017 Sep 26
2
build a SpatialLines object from a list
Hi Eric, Thanks for the help.But this will not solve the problem as it will generate a list and what I need is an object of class sp using SpatialLine function from sp package.So, I need to convert each matrix to coordinates and then to a line and then to a spatial line as figured in the code. My data structure is a list of 141 matrices.Each matrix represents coordinates of the river lines
2017 Sep 26
0
build a SpatialLines object from a list
Hi Ashraf, In that case I think you may need to structure the code to first build the list and only at the end supply that to the SpatialLines function, something like test.func <- function(x) { tt <- list() for ( i in ... ) { ... tt[[i]] <- (whatever) } return(SpatialLines(tt)) } Eric On Tue, Sep 26, 2017 at 12:36 PM, Ashraf Afana <asafaneh at
2011 Oct 26
2
SpatialLines
I'm hoping to use R for spatial analysis. In working through examples in Chapt. 4 of Applied Spatial Data Analysis with R I've come across the following error in trying to plot lines with the meuse data set. The text is verbatim from the book. > m.sl <- SpatialLines(list(Lines(list(Line(cc))))) Error in Lines(list(Line(cc))) : Single ID required What does "Single ID
2012 Nov 20
2
[lattice] how to overlay a geographical map on a levelplot?
r-help lattice adepts: I have a question which is somewhat geospatial, so I posted to r-sig-geo rather than here: https://stat.ethz.ch/pipermail/r-sig-geo/2012-November/016757.html > summary: How to overlay a geographical map on each panel in a lattice > (or Trellis), e.g., of levelplot's? Note I am not inquiring about > creating choropleth maps[,] which Sarkar 2008 covers quite
2010 May 10
1
Problems executing cor(dataset) function in R 2.11.0 for OS X ( It works fine in R 2.10.1)
Dear all, when trying to replicate John M. Quick's example for correlations between multiple variables posted on: http://rtutorialseries.blogspot.com/2009/11/r-tutorial-series-zero-order.html with R 2.11.0 (GUI 1.33) using my MacBook Pro with OX X 10.5.8 I got the following error message > datavar<-read.csv("dataset_readingTests.csv") > cor(datavar) Error in cor(datavar)
2011 Jul 24
0
rasterVis 0.10-3
Dear useRs, I'd like to announce the release of version 0.10-3 of rasterVis. This package provides a set of methods for enhanced visualization and interaction with the Raster* objects from the raster package. You will find some examples at: http://rastervis.r-forge.r-project.org/. Best, Oscar. ------------- Oscar Perpi??n Lamigueiro Dpto. de Ingenier?a El?ctrica EUITI-UPM
2011 Jul 24
0
rasterVis 0.10-3
Dear useRs, I'd like to announce the release of version 0.10-3 of rasterVis. This package provides a set of methods for enhanced visualization and interaction with the Raster* objects from the raster package. You will find some examples at: http://rastervis.r-forge.r-project.org/. Best, Oscar. ------------- Oscar Perpi??n Lamigueiro Dpto. de Ingenier?a El?ctrica EUITI-UPM
2010 May 17
2
Variable variables using R ... e.g., looping over data frames with a numeric separator
Hello, I have programmed in PHP a lot, and wanted to know if anyone figured out Variable variables using R. For example, I have several dataframes of unequal sizes that relate to L treatments (1, 2, 3, 4, 5,6, L) ... in this case L=7 fData.1 unique.1 fit.nls.1 summary.nls.1 fit.var.1 summary.var.1 ..... fData.2 unique.2 fit.nls.2 summary.nls.2 fit.var.2 summary.var.2 ..... fData.L unique.L
2009 Jul 14
1
Error when sampling from SpatialLines
Dear forum,   I am working in R 2.9.1 and I am trying to sample locations from a network file. Reading in nor plotting is a problem, however when I am trying to sample from the file I get the following message:   nwlim<-readShapeLines("C:/Limburg_nwshape", proj4string=CRS("+init=epsg:31300")) plot(nwlim)   randacc<-spsample(nwlim,n=1000,"random")