Re: [R-sig-Geo] rgdal 1.5-10 published on CRAN

2020-06-10 Thread Mauricio Zambrano-Bigiarini
Thank you very much for all the great work you and all the developers constantly do. Mauricio Mauricio Zambrano-Bigiarini, PhD = Department of Civil Engineering Faculty of Engineering and Sciences Universidad de La Frontera, Temuco, Chile http

[R-sig-Geo] How to correctly compare the CRS of 'sf' and 'raster' objects?

2020-05-02 Thread Mauricio Zambrano-Bigiarini
the CRS of the previous vectorial and raster object in 'sf', something similar to sp::identicalCRS? If so, what is the minimum required version of the GEOS, GDAL, and PROJ libraries? Thanks in advance for any help, Mauricio Zambrano-Bigiarini, PhD = Depar

Re: [R-sig-Geo] Fwd: Spatiotemporal analysis r command

2018-07-02 Thread Mauricio Zambrano Bigiarini
https://www.r-project.org/posting-guide.html IHTH Mauricio Zambrano-Bigiarini, PhD = Department of Civil Engineering Faculty of Engineering and Sciences Universidad de La Frontera, Temuco, Chile http://hzambran.github.io

Re: [R-sig-Geo] Fwd: Re: Adding text to rasterVis levelplot

2017-07-21 Thread Mauricio Zambrano Bigiarini
le provided by Florian opened up new possibilities with the grid package for more customisation. Kind regards, Mauricio Mauricio Zambrano-Bigiarini, PhD = Department of Civil Engineering Faculty of Engineering and Sciences Universidad

[R-sig-Geo] Adding text to rasterVis levelplot

2017-07-19 Thread Mauricio Zambrano Bigiarini
eaders, respectively, to the following example plot: - START library(rasterVis) f <- system.file("external/test.grd", package="raster") r <- raster(f) s <- stack(r, r+500, r-500, r+200) levelplot(s, layout=c(2,2), names.att=rep("",4)) ---

[R-sig-Geo] raster: crop error ('nrows > 0 is not TRUE')

2016-10-03 Thread Mauricio Zambrano Bigiarini
intervals_0.15.1 automap_1.0-14ncdf4_1.15 stringi_1.1.1 spacetime_1.1-5 reshape_0.8.5 foreign_0.8-66hexbin_1.27.1 Any idea about how to solve this issue is highly appreciated. Thanks in advance, Mauricio Zambrano-Bigiarini, PhD ===

Re: [R-sig-Geo] raster pkg: overwriting the dimensions detected by netcdf4 (PERSIANN-CDR)

2016-02-03 Thread MAURICIO ZAMBRANO BIGIARINI
On 3 February 2016 at 11:34, Michael Sumner <mdsum...@gmail.com> wrote: > > > On Thu, 4 Feb 2016 at 01:26 MAURICIO ZAMBRANO BIGIARINI > <mauricio.zambr...@ufrontera.cl> wrote: >> >> Dear spatial community, >> >> While reading some netCDFfiles wit

[R-sig-Geo] raster pkg: overwriting the dimensions detected by netcdf4 (PERSIANN-CDR)

2016-02-03 Thread MAURICIO ZAMBRANO BIGIARINI
other attached packages: [1] raster_2.5-2 sp_1.2-1 loaded via a namespace (and not attached): [1] tools_3.2.3 Rcpp_0.12.3 ncdf4_1.15 grid_3.2.3 [5] lattice_0.20-33 Thanks in advance and kind regards Mauricio Zambrano-Bigiarini, PhD = Dept. of Ci

Re: [R-sig-Geo] raster pkg: overwriting the dimensions detected by netcdf4 (PERSIANN-CDR)

2016-02-03 Thread MAURICIO ZAMBRANO BIGIARINI
On 3 February 2016 at 12:56, Michael Sumner <mdsum...@gmail.com> wrote: > > > On Thu, 4 Feb 2016 at 02:20 MAURICIO ZAMBRANO BIGIARINI > <mauricio.zambr...@ufrontera.cl> wrote: >> >> On 3 February 2016 at 11:34, Michael Sumner <mdsum...@gmail.com> wrote:

Re: [R-sig-Geo] mapView: basic interactive viewing of spatial data in R

2015-07-24 Thread MAURICIO ZAMBRANO BIGIARINI
::demo(webmap)). by the way Edzer, the sp::demo(webmap) din't work for me with sp_1.1-1: library(sp) demo(meuse)# working demo(webmap) # not working could you tell me what I'm doing wrong ? Thanks in advance, Mauricio Zambrano-Bigiarini, PhD = Dept

Re: [R-sig-Geo] raster/rgdal- problem: Too many open files (Linux)

2013-08-06 Thread Mauricio Zambrano-Bigiarini
, Mauricio Zambrano-Bigiarini, Ph.D -- = Water Resources Unit Institute for Environment and Sustainability (IES) Joint Research Centre (JRC), European Commission webinfo: http://floods.jrc.ec.europa.eu

Re: [R-sig-Geo] working with large ascii files in R

2013-07-18 Thread Mauricio Zambrano-Bigiarini
--max-mem-size or setting environment variable R_MAX_MEM_SIZE. Kind regards, Mauricio Zambrano-Bigiarini, Ph.D -- = Water Resources Unit Institute for Environment and Sustainability (IES) Joint Research Centre (JRC), European Commission TP 261

Re: [R-sig-Geo] writeRaster to ascii file (.asc)

2013-07-11 Thread Mauricio Zambrano-Bigiarini
-- Kind regards, Mauricio Zambrano-Bigiarini, Ph.D -- = Water Resources Unit Institute for Environment and Sustainability (IES) Joint Research Centre (JRC), European Commission TP 261, Via Enrico Fermi 2749, 21027 Ispra (VA), IT Work Phone : +39 0332

Re: [R-sig-Geo] R Package for Climatology particular for netCDF file

2013-04-05 Thread Mauricio Zambrano-Bigiarini
and the vignette in: http://cran.r-project.org/web/packages/hydroTSM/vignettes/hydroTSM_Vignette.pdf IHTH, Kinds, Mauricio Zambrano-Bigiarini, Ph.D -- = Water Resources Unit Institute for Environment and Sustainability (IES) Joint Research Centre (JRC

Re: [R-sig-Geo] raster directions to vectorial lines (Stream to Feature)

2013-03-27 Thread Mauricio Zambrano-Bigiarini
On 22/03/13 05:31, Gavan McGrath wrote: Hi Mauricio, Below is a simple pair of functions for plotting a flow network over an image which should achieve what you were after. You may want to play around with how your flow direction numbers 1 -9 match up with those in the lookupfidr function.

[R-sig-Geo] raster directions to vectorial lines (Stream to Feature)

2013-03-21 Thread Mauricio Zambrano-Bigiarini
to do it in R. I would highly appreciate any ideas about how to carry out this task in R. Thanks in advance, Mauricio Zambrano-Bigiarini -- = Water Resources Unit Institute for Environment and Sustainability (IES) Joint Research Centre (JRC), European

Re: [R-sig-Geo] make_EPSG chile

2013-01-28 Thread Mauricio Zambrano-Bigiarini
On 27/01/13 22:09, Orietta Nicolis wrote: Dear R users, I'm trying to run the following example with data of Chile, but I didn't find a EPSG code for this country which could be used in R. Hi Orietta, AFAIK, in Chile there are two main local projections: PSAD56 / UTM zone 18S, and PSAD56 /

Re: [R-sig-Geo] make_EPSG chile

2013-01-28 Thread Mauricio Zambrano-Bigiarini
On 28/01/13 11:48, Roger Bivand wrote: On Mon, 28 Jan 2013, Mauricio Zambrano-Bigiarini wrote: On 27/01/13 22:09, Orietta Nicolis wrote: Dear R users, I'm trying to run the following example with data of Chile, but I didn't find a EPSG code for this country which could be used in R. Hi

Re: [R-sig-Geo] [plain text] Error: cannot allocate vector of size 274.7 Mb

2012-11-13 Thread Mauricio Zambrano-Bigiarini
On 13/11/12 11:20, Raffaele Morelli wrote: Hi, sorry for double posting but I saw my messages were scrubbed from html garbage and don't know if nobody replies for that, but just in case... apologize if not. I am having trouble with this error when calculating a density on a point pattern

Re: [R-sig-Geo] Saving a variogram in gstat

2012-11-05 Thread Mauricio Zambrano-Bigiarini
The following reproducible example works for me (please run it in a new session): START -- library(gstat) data(meuse) # no trend: coordinates(meuse) = ~x+y myvgm - variogram(log(zinc)~1, meuse) # saving the variogram to your home directory setwd(~) save(myvgm,

Re: [R-sig-Geo] Saving a variogram in gstat

2012-11-05 Thread Mauricio Zambrano-Bigiarini
Hi Carolina, You can save all the variables of your current session by using 'save.image': save.image(myVGMsession.RData) and then load it as before (from Windows or GNU/Linux): load(myVGMsession.RData) Kinds, Mauricio 2012/11/5 carolina monmany acmonm...@gmail.com: I see, Sarah. Thank

[R-sig-Geo] testing for a valid raster format before reading

2012-07-27 Thread Mauricio Zambrano-Bigiarini
(GDALReadOnlyDataset, filename, silent = silent) 10: GDAL.open(fname, silent = silent) 9: GDALinfo(maps.list[i]) Thanks in advance for any help, Kinds, Mauricio Zambrano-Bigiarini -- Water Resources Unit Institute for Environment and Sustainability

Re: [R-sig-Geo] testing for a valid raster format before reading

2012-07-27 Thread Mauricio Zambrano-Bigiarini
On 27/07/12 11:35, Barry Rowlingson wrote: On Fri, Jul 27, 2012 at 10:08 AM, Mauricio Zambrano-Bigiarini mauricio.zambr...@jrc.ec.europa.eu wrote: Dear list, Do you know if there is any way for testing if a file can be read by the 'raster' command of the 'raster' package ? something like

Re: [R-sig-Geo] Plot spatial time series

2012-06-12 Thread Mauricio Zambrano-Bigiarini
is an example: http://plotkml.r-forge.r-project.org/Fig_RasterBrickTimeSeries.jpg http://plotkml.r-forge.r-project.org/LST.ts.kml plotKML should be soon available via CRAN. Thank you very much Tom for this info. This is just what I was looking for. Cheers, Mauricio Zambrano-Bigiarini

Re: [R-sig-Geo] Crop a raster using a shapefile

2012-06-04 Thread Mauricio Zambrano-Bigiarini
On 01/06/12 20:49, Thiago Veloso wrote: Dear all, When cropping a raster using a shapefile, through 'crop' function from raster package, only the extent is taken into account: r-raster(lai2011361.Lai_1km.tif) extent(r) class : Extent xmin: -104.4326 xmax:

[R-sig-Geo] writeOGR: ID field for exporting a KML file

2012-05-24 Thread Mauricio Zambrano-Bigiarini
tools_2.15.0 Thanks in advance, Mauricio Zambrano-Bigiarini -- Water Resources Unit Institute for Environment and Sustainability (IES) Joint Research Centre (JRC), European Commission webinfo: http://floods.jrc.ec.europa.eu

Re: [R-sig-Geo] spplot question in sp_0.9-98

2012-04-04 Thread Mauricio Zambrano-Bigiarini
the best, Mauricio Zambrano-Bigiarini -- === Water Resources Unit Institute for Environment and Sustainability Joint Research Centre, European Commission webinfo: http://floods.jrc.ec.europa.eu/ === DISCLAIMER

Re: [R-sig-Geo] Generating a precise map from coordinates.

2012-03-19 Thread Mauricio Zambrano-Bigiarini
? IHTH, Mauricio Zambrano-Bigiarini -- === FLOODS Action Water Resources Unit (H01) Institute for Environment and Sustainability (IES) European Commission, Joint Research Centre (JRC) TP 261, Via Enrico Fermi 2749, 21027 Ispra (VA), Italy webinfo

Re: [R-sig-Geo] spplot with legend only, and legend inside the plotting area

2012-03-08 Thread Mauricio Zambrano-Bigiarini
On 08/03/12 09:21, Oscar Perpiñan wrote: Sorry: I forgot to say that you need latticeExtrato use c.trellis.Then: library(latticeExtra) c(dummy, dummy, dummy, dummy). Thanks Oscar !. I didn't realise about 'latticeExtra' instead of lattice... One last question. By using c(), is it possible to

Re: [R-sig-Geo] spplot with legend only, and legend inside the plotting area

2012-03-08 Thread Mauricio Zambrano-Bigiarini
On 07/03/12 17:38, Mauricio Zambrano-Bigiarini wrote: I'm almost there... The real problem appears when I try to produce several spplots within the same figure (each one of them for a different spatial area), with a unique legend for all the figures (that is the reason why I can not use

Re: [R-sig-Geo] spplot with legend only, and legend inside the plotting area

2012-03-08 Thread Mauricio Zambrano-Bigiarini
On 08/03/12 18:22, Oscar Perpiñán Lamigueiro wrote: Mauricio Zambrano-Bigiarinimauricio.zambr...@jrc.ec.europa.eu writes: Thanks Oscar !. I didn't realise about 'latticeExtra' instead of lattice... One last question. By using c(), is it possible to put different axis labels for each plot ?

Re: [R-sig-Geo] spplot with legend only, and legend inside the plotting area

2012-03-07 Thread Mauricio Zambrano-Bigiarini
Thanks in advance, Mauricio Zambrano-Bigiarini -- === FLOODS Action Water Resources Unit (H01) Institute for Environment and Sustainability (IES) European Commission, Joint Research Centre (JRC) webinfo: http://floods.jrc.ec.europa.eu

Re: [R-sig-Geo] spplot with legend only, and legend inside the plotting area

2012-03-07 Thread Mauricio Zambrano-Bigiarini
2012/3/7 Oscar Perpiñán Lamigueiro oscar.perpi...@upm.es: Mauricio Zambrano-Bigiarini mauricio.zambr...@jrc.ec.europa.eu writes: On 07/03/12 13:11, Oscar Perpiñán Lamigueiro wrote: Mauricio Zambrano-Bigiarinimauricio.zambr...@jrc.ec.europa.eu  writes: The real problem appears when I try

Re: [R-sig-Geo] spplot handling of overlapping points?

2012-03-06 Thread Mauricio Zambrano-Bigiarini
fix), it is time now to let me / us know. Would it be possible to set a degree of transparency for the overlapping points in spplot ? Thanks in advance, Mauricio Zambrano-Bigiarini - === FLOODS Action Water Resources Unit (H01) Institute

Re: [R-sig-Geo] spplot handling of overlapping points?

2012-03-06 Thread Mauricio Zambrano-Bigiarini
=== If Columbus had turned back, no one would have blamed him. Of course, no one would have remembered him either. (Source Unknown) On 03/06/2012 04:49 PM, Mauricio Zambrano-Bigiarini wrote: On 05/03/12 14:40, Edzer Pebesma wrote: This has now been changed/repared in sp on r-forge (svn

Re: [R-sig-Geo] R / ArcGIS

2012-02-16 Thread Mauricio Zambrano-Bigiarini
for the spatial community if ESRI helps to make it possible the open access to their new geodatabase format. My 2 cents. All the best, Mauricio Zambrano-Bigiarini - === FLOODS Action Water Resources Unit (H01) Institute for Environment and Sustainability

Re: [R-sig-Geo] Building Windows binary of rgdal package to include PGeo driver for reading ESRI personal geodatabases.

2012-02-07 Thread Mauricio Zambrano-Bigiarini
your email just after reading this blog entry: http://www.structuralknowledge.com/2012/02/03/why-esri-as-is-cant-be-part-of-the-open-government-movement/ Thank you very much Barry for sharing such interesting post about the new proprietary format of ESRI !. All the best, Mauricio Zambrano