Re: [R-sig-Geo] Did I correctly convert my data from UTM zone 12 to 11?

2023-08-07 Thread MAURIZIO MARCHI
in a common projection as for example EPSG:4326 or something like that. After that you can merge the two spatial objects in a single one or extract the new spatial coordinates to rewrite a new .csv file to be used outside R -- Maurizio Marchi, PhD Forest Science - Ecological Modelling

Re: [R-sig-Geo] Problems installing rgdal on ubuntu 18.04 from, ubuntu-unstable GDAL: 3.0.2 / PROJ version: 6.2.1

2020-03-10 Thread maurizio marchi
-cleaner -- *Maurizio Marchi, PhD Forest Science - Ecological Mathematics* Researcher CNR - Institute of Biosciences and BioResources (IBBR), Florence division (Italy) SkypeID: maurizioxyz http://ibbr.cnr.it/ibbr/info/people/maurizio-marchi #--# EUFGIS National Focal Point for Italy

Re: [R-sig-Geo] Recommended set-up for r-spatial packages on Linux

2020-03-02 Thread maurizio marchi
since some weeks ago when I had troubles with sf using gdal 3.0.2 whcih made this problem occurring again (https://github.com/r-spatial/stars/issues/175) I hope Ubuntu 20.04 will solve this All my bests -- *Maurizio Marchi, PhD Forest Science - Ecological Mathematics* Researcher CNR - Institute of B

Re: [R-sig-Geo] Strange spatial reference system netCDF [stars and sf functions not working now]

2020-02-19 Thread Maurizio Marchi
package and some handmade stuff but not really GIS ;) However my code was not working on other systems so I’m far away from a real solution... But the main question is Why RCM are delivered in this awful CRS!? All my bests -- Maurizio Marchi, PhD Forest Science - Ecological Mathematics Researcher

[R-sig-Geo] Strange spatial reference system netCDF [stars and sf functions not working now]

2020-02-18 Thread maurizio marchi
error of unknown origin// //  proj_create: unrecognized format / unknown name// //r0// //Error: object 'r0' not found// / All my bests -- *Maurizio Marchi, PhD Forest Science - Ecological Mathematics* Researcher CNR - Institute of Biosciences and BioResources (IBBR), Florence division (Italy) SkypeID

[R-sig-Geo] Graphic CPU usage in R

2019-12-31 Thread maurizio marchi
ne has experience on it? Here <https://www.researchgate.net/post/Parallel_computing_and_graphic_CPU_GCPU_usage_in_R_is_it_possible_with_ALL_R_packages> the question I opened on ResearchGate. Thank you in advance and happy new year to everybody -- *Maurizio Marchi, PhD Forest Science

Re: [R-sig-Geo] Strange spatial reference system netCDF

2019-05-05 Thread Maurizio Marchi
-- Maurizio Marchi, PhD Forest Science - Ecological Mathematics Skype ID: maurizioxyz linux user 552742 #EUFGIS national Focal point for Italy #Annals of Silvicultural Research Associated Editor https://scholar.google.it/citations?hl=en=_2X6fu8J <https://scholar.google.it/citations?hl

Re: [R-sig-Geo] R-sig-Geo Digest, Vol 189, Issue 3

2019-05-04 Thread Maurizio Marchi
.2.0 > > Since you are on ubuntu, it should be pretty easy to get that too; see > sf github pages for installing from ppa:ubuntugis-unstable: > https://github.com/r-spatial/sf > > On 5/4/19 5:19 PM, Maurizio Marchi wrote: > > Dear Prof. > > Many thanks for your q

[R-sig-Geo] Strange spatial reference system netCDF

2019-05-02 Thread Maurizio Marchi
isn't projected properly (it seems tha QGIS is not able to handle such projection). Finally, using the ncdf4+raster libraries, I can easily generate e raster image but then I'm not able to understand I could I re project this raster in WGS84 reference system. Any helps? Cheers -- Maurizio Ma

Re: [R-sig-Geo] Spatial clusters with equal number of objects (2)

2017-10-31 Thread Maurizio Marchi
l Analysis Library's MaxP algorithm. > > You can call it from R using reticulated. > > On Tue, Oct 31, 2017 at 7:18 PM Tim Keitt <tke...@utexas.edu> wrote: > >> http://www.keittlab.org/ >> >> On Tue, Oct 31, 2017 at 5:57 AM, Maurizio Marchi <

[R-sig-Geo] Spatial clusters with equal number of objects (2)

2017-10-31 Thread Maurizio Marchi
Hello everybody, is there an easy way to cluster spatial objects (polygons in my case, a grid of 500mx500m cells) with an equal number of objects per cluster? I tried to attach an example of what I mean but I think the message was never delivered. Regards -- Maurizio Marchi Skype ID: maurizioxyz

Re: [R-sig-Geo] Soil as predictor in SDM

2017-09-27 Thread Maurizio Marchi
-- Maurizio Marchi Skype ID: maurizioxyz linux user 552742 [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

[R-sig-Geo] Soil as predictor in SDM

2017-09-27 Thread Maurizio Marchi
as categories prior to be used? Or shoul I reclassify my raster into numeric values? My main concern is if I would create directional influence and bias in the results. Thanks -- Maurizio Marchi Skype ID: maurizioxyz linux user 552742 [[alternative HTML version deleted

Re: [R-sig-Geo] Question niche based model with R

2017-04-10 Thread Maurizio Marchi
://dx.doi.org/10./gcb.12604 http://dx.doi.org/10.1007/s13595-014-0439-4 http://dx.doi.org/10./gcb.12476 Cheers, -- Maurizio Marchi Skype ID: maurizioxyz linux user 552742 ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] Global and Local Moran: how can I calculate them with different spatial threshold?

2017-03-10 Thread Maurizio Marchi
Perfect, thank you very much to everybody, Next week I will work on my data. Now everything is much clearer! Regards Il giorno ven 10 mar 2017 alle 21:44 Roger Bivand <roger.biv...@nhh.no> ha scritto: > On Fri, 10 Mar 2017, Maurizio Marchi wrote: > > > Hello everybody, >

[R-sig-Geo] Global and Local Moran: how can I calculate them with different spatial threshold?

2017-03-10 Thread Maurizio Marchi
the 'ape' and 'spdep' packages but it seems that no adjustment can be done concerning the spatial width to be considered... Thanks -- Maurizio Marchi Skype ID: maurizioxyz linux user 552742 ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https

Re: [R-sig-Geo] Problem with operations on large files ("cannotallocate vector of size xx")

2017-02-03 Thread Maurizio Marchi
the results will be the same) but the predict function can be launched on the original dataset (1km) obtaining the pca components with the desired spatial resolution Regards, maurizio ​-- Maurizio Marchi, PhD - Forest Science, Ecological Modelling Council for Agricultural Research and Economics (CREA

Re: [R-sig-Geo] Problem with operations on large files ("cannotallocate vector of size xx")

2017-02-03 Thread Maurizio Marchi
mponents you want to create, generally up to 99% of the explained cumulative variance or those who explained at least 1 time the variance Under a statistical point of view, the first is a random sampling while the second is a sort of regular sampling Regards, maurizio -- Maurizio Marchi, PhD -

[R-sig-Geo] Spatial points pattern generation

2016-12-13 Thread Maurizio Marchi
, maurizio -- Maurizio Marchi Skype ID: maurizioxyz linux user 552742 [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] Extraterrestrial solar radiation

2016-07-04 Thread Maurizio Marchi
Hi Tobias, many thanks for your reply. The package is good even if I would have to work a little bit bore to have a raster map for each month (sum of daily values). I will keep on searching for but, in the mean time I will also try to work with this package. many thanks again. :) -- Maurizio

[R-sig-Geo] Extraterrestrial solar radiation

2016-07-03 Thread Maurizio Marchi
deficit using the fomula MD = Potential evapotranspiration - Precipitation Regards, maurizio -- Maurizio Marchi Calenzano (FI) - Italy ID Skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted]] ___ R-sig-Geo

[R-sig-Geo] Absences dataset

2016-06-28 Thread Maurizio Marchi
the results, similarly to what I'm use to do with the pseudo-absences... So, my question is: is there the possibility to do it automatically with the biomod2 package or should I have to create a cycle to repeat the calculation and average the resulting maps manually? Many thanks, maurizio -- Maurizio

[R-sig-Geo] Optimal Threshold for binary transformation with biomod2

2015-10-13 Thread Maurizio Marchi
function for that but I was not able to find it in the new package, biomod2. Many thanks, Maurizio -- Maurizio Marchi Calenzano (FI) - Italy ID Skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted]] ___ R-sig

[R-sig-Geo] Optimal Threshold for binary transformation with biomod2

2015-10-10 Thread Maurizio Marchi
function for that but I was not able to find it in the new package, biomod2. Many thanks, Maurizio -- Maurizio Marchi Calenzano (FI) - Italy ID Skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted]] ___ R

[R-sig-Geo] From spatial points to spatial pictures

2015-08-05 Thread Maurizio Marchi
Hi everybody, I'm maurizio Marchi and I'm working as a post-doc at the Forestry Research Centre of Arezzo (Italy) and I have a question concerning spatial points management. During my research activities I have to collect data about the crown projection on the ground of trees. The aim

Re: [R-sig-Geo] Raster map from data.frame

2015-04-11 Thread Maurizio Marchi
this is for getting around numeric fuzz, but can be used) (note also that rasterFromXYZ has a digits argument, similar to points2grid's eps) HTH On Thu, 9 Apr 2015 at 22:44 Maurizio Marchi mauriziomarch...@gmail.com wrote: Hi everybody, I need help with a big dataset that I need

[R-sig-Geo] Raster map from data.frame

2015-04-09 Thread Maurizio Marchi
doesn't works (too many rows maybe?). Any suggestion? I prefer the .asc format but even GeoTiff or other formats would be ok. Manu thanks, Maurizio -- Maurizio Marchi Calenzano (FI) - Italy ID Skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted

[R-sig-Geo] PCA on rasterStack

2015-01-30 Thread Maurizio Marchi
I decided to scale the data (scale=TRUE) but should I also use the centering option (center=TRUE)? In my advise, the scaling procedure should also center my data...the scaling procedure is made subtracting the mean and dividing for the variance, isn't it? many thanks, -- Maurizio Marchi Calenzano

[R-sig-Geo] Raster format and compression

2015-01-22 Thread Maurizio Marchi
-- Maurizio Marchi Calenzano (FI) - Italy ID Skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] Raster format and compression

2015-01-22 Thread Maurizio Marchi
, while INT2S is integer with 2 values...isn't it? For the moment I will use the larger and converted maps but I would like to understand better the available options. Many thanks for your suggestions! Regards, Maurizio -- Maurizio Marchi Calenzano (FI) - Italy ID Skype: maurizioxyz Ubuntu 14.04

Re: [R-sig-Geo] Raster format and compression

2015-01-22 Thread Maurizio Marchi
Uhg, I sent the wrong message!!! Sorry. I read the help of dataType function and I understood the problem and the meaning. FLT8S, INT2U etc. do not have the meaning I thought and wrote. I apologize for the wrong answer!! -- Maurizio Marchi Calenzano (FI) - Italy ID Skype: maurizioxyz Ubuntu

[R-sig-Geo] ROC or TSS?

2014-10-08 Thread Maurizio Marchi
good are my models? Should I use ROC or TSS? Many thanks, -- Maurizio Marchi, Ph.D. student Florence, Italy ID skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r

Re: [R-sig-Geo] ROC or TSS?

2014-10-08 Thread Maurizio Marchi
Perfect! Thank you again!! -- Maurizio Marchi, Ph.D. student Florence, Italy ID skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch

Re: [R-sig-Geo] projecting shape files, in R?

2014-10-04 Thread Maurizio Marchi
) as a NEW file with the .prj In my experience, European data are usually projected in WGS84 reference system and coordinates are latitude and longitude. If you want I can try it for you if your data is not too big and it can be sent attached to an email. Bests, Maurizio -- Maurizio Marchi

[R-sig-Geo] Collinearity test domain

2014-09-04 Thread Maurizio Marchi
surveys NOT classified as pinus nigra stands Study region: Italy many thanks, Maurizio -- Maurizio Marchi, Ph.D. student Florence, Italy ID skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted]] ___ R-sig-Geo

[R-sig-Geo] GAM: which package?

2014-07-29 Thread Maurizio Marchi
(http://cran.r-project.org/web/packages/dismo/vignettes/sdm.pdf) mgcv is suggested even if gam package seems the pure GAM. many thanks, -- Maurizio Marchi, Ph.D. student Florence, Italy ID skype: maurizioxyz Ubuntu 14.04 LTS linux user 552742 [[alternative HTML version deleted

[R-sig-Geo] PA selection in biomod2: how to merge different models before projection?

2014-07-19 Thread Maurizio Marchi
together to build an Ensemble model? In the paper Authors suggested to average projections but I think that it should be possible to do it with the BIOMOD_EnsembleModeling function Many thanks, Maurizio -- Maurizio Marchi, Ph.D. student Florence, Italy ID skype: maurizioxyz Ubuntu 14.04 LTS linux user

[R-sig-Geo] Regression Kriging definition and packages

2014-04-06 Thread Maurizio Marchi
Goodmorning to List members, I have a question about Regression Kriging. Is it correct to define RK as interpolation method which combine regressive interpolation + ordinary Kriging or regression residuals? I compared GSIF package and gstat package but I have different predictions... I provide an

[R-sig-Geo] Kriging: which and when

2014-04-04 Thread Maurizio Marchi
) and elevation, latitude, longitude, etc... But how should I decide if to use Kriging or cokriging? Which statistical way must be chosen to have strong evidences to support a decision? Covariance matrix for example? I hope to have been clear enough, many thanks, Maurizio -- Maurizio Marchi

[R-sig-Geo] Best raster of raster stack

2014-03-08 Thread Maurizio Marchi
number 12345 , maximum value is 9876 from layer number XX. I hope to be clear enough... Bests, Maurizio -- Maurizio Marchi ID skype: maurizioxyz *Ubuntu 12.04 LTS* *Il bello dell'open-source è che le domande possono essere poste alla fonte* *utente linux 552.742* [[alternative HTML version

Re: [R-sig-Geo] Best raster of raster stack

2014-03-08 Thread Maurizio Marchi
!! -- Maurizio Marchi, PhD student CRA-SEL (Arezzo, Italy) www.selvicoltura.eu ID skype: maurizioxyz *Ubuntu 12.04 LTS* *Il bello dell'open-source è che le domande possono essere poste alla fonte* *utente linux 552.742* [[alternative HTML version deleted

[R-sig-Geo] Temporary files biomod2

2014-03-07 Thread Maurizio Marchi
. Is there a way to include this action in a for cicle? I'm working on Ubuntu 12.04 Thanks, -- Maurizio Marchi, PhD student CRA-SEL (Arezzo, Italy) ID skype: maurizioxyz *Ubuntu 12.04 LTS* *linux user 552.742* [[alternative HTML version deleted

[R-sig-Geo] BIOMOD or biomod2

2014-02-05 Thread Maurizio Marchi
about BIOMOD package but I didn't find what are differences with biomod2 package. Are the same? THANKS, -- Maurizio Marchi, Ph.D student CRA-SEL, Centro di Ricerca per la Selvicoltura (Forestry Research Centre) http://www.selvicoltura.eu/cont_E_5079_20554.phtml ID skype: maurizioxyz Ubuntu

[R-sig-Geo] Collinearity test

2013-11-13 Thread Maurizio Marchi
in: is there a package that can be used to Test collinearity between factors of a raster stack (worldclim biovariables)? Thanks, -- Maurizio Marchi, Ph.D student Forestry Research Centre (Arezzo, IT) ID skype: maurizioxyz *Ubuntu 12.04 (Precise Pangolin)* [[alternative HTML version deleted

Re: [R-sig-Geo] R-sig-Geo Digest, Vol 122, Issue 26

2013-10-28 Thread Maurizio Marchi
Hi Netra, In ?idw (the same for ?krige) is explained that: Function idw performs just as krige without a model being passed, but allows direct specification of the inverse distance weighting power. Don't use with predictors in the formula. I don't know exactly how many points are used as default

Re: [R-sig-Geo] Idw

2013-10-27 Thread Maurizio Marchi
Hi Netra, Could you explain which command do you use for IDW? Do you create a gstat object or something else? Message: 1 Date: Sun, 27 Oct 2013 03:19:28 -0700 (PDT) From: netra npt_...@hotmail.com javascript:; To: r-sig-geo@r-project.org javascript:; Subject: [R-sig-Geo] idw Message-ID:

[R-sig-Geo] Variance of prediction in Kriging

2013-06-27 Thread Maurizio Marchi
with the raster package, maybe with an option of the interpolate() function? Thanks, Maurizio Marchi Ph.D student -- Maurizio Marchi ID skype: maurizioxyz *Ubuntu 12.04 (Precise Pangolin)* *Il bello dell'open-source è che le domande possono essere poste alla fonte* *utente linux 552.742

[R-sig-Geo] Variance of prediction in Kriging with raster package

2013-06-27 Thread Maurizio Marchi
with the raster package, maybe with an option of the interpolate() function? Thanks, Maurizio Marchi Forestry Ph.D student -- Maurizio Marchi ID skype: maurizioxyz *Ubuntu 12.04 (Precise Pangolin)* *Il bello dell'open-source è che le domande possono essere poste alla fonte* *utente linux 552.742

[R-sig-Geo] Memory...

2013-03-07 Thread Maurizio Marchi
Hi everybody, I have to calculate some new columns in a data frame with 1971000 lines adding 57 new columns but R crashes every time... I think it's a problem of memory allocation, so I would like to know how I can change the memory settings... I'm on Ubuntu 12.04 64-bit Thanks, -- Maurizio

[R-sig-Geo] Interpolation with linear models

2013-02-18 Thread Maurizio Marchi
) for regression and Tps? Thanks, -- Maurizio Marchi ID skype: maurizioxyz *Ubuntu 12.04 (Precise Pangolin)* *Il bello dell'open-source è che le domande possono essere poste alla fonte* *utente linux 552.742* [[alternative HTML version deleted]] ___ R

Re: [R-sig-Geo] Universal Kriging and raster library

2012-10-23 Thread Maurizio Marchi
-variogram(gCoK) plot(coV,type='b',main='Co-variogram') coV.fit-fit.lmc(coV,gCoK,vgm(model='Sph',range=1000)) coV.fit plot(coV,coV.fit,main='Fitted Co-variogram') coK-interpolate(r,coV.fit) END I hope it can be ok :) Thanks a lot (again) -- Maurizio Marchi ID

Re: [R-sig-Geo] Universal Kriging and raster library

2012-10-22 Thread Maurizio Marchi
the universal kriging with the same data and the rgdal packages was ok... -- Maurizio Marchi ID skype: maurizioxyz *Ubuntu 12.04 (Precise Pangolin)* *Il bello dell'open-source è che le domande possono essere poste alla fonte* *utente linux 552.742* [[alternative HTML version deleted

[R-sig-Geo] Universal Kriging and raster library

2012-10-17 Thread Maurizio Marchi
no problem with ordinary and co-kriging but I don't know how perform the Universal Kriging... Is there anybody that have already done it? Greetings, -- Maurizio Marchi CRA-SEL (Research Centre for Forestry) AREZZO ID skype: maurizioxyz *Ubuntu 12.04 (Precise Pangolin)* *Il bello dell'open-source è