Re: [R-sig-Geo] Saving a spatial point object into a shapefile

2010-11-04 Thread Alexandre Villers
) Error en writeOGR(sitiosMikeCRTM05, dsn = "C:/ProyectosRespacial/CBSS/Shapefiles_proyectados", : obj of wrong class Best, Manuel ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-si

Re: [R-sig-Geo] Converting UTM to geographical coordinates

2010-10-16 Thread Alexandre Villers
-- Alexandre Villers, PhD. Postdoc researcher Spatial Ecology & Population Dynamics Section of Ecology, Department of Biology University of Turku FIN-20014 Turku Finland @mail: alexandre.vill...@utu.fi p

Re: [R-sig-Geo] [R-sig-eco] Coordinates Spatstat

2010-10-12 Thread Alexandre Villers
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology -- Alexandre Villers, PhD. Postdoc researcher Spatial Ecology & Population Dynamics Section of Ecology, Department of Biology University of Turku FIN-20014 Turku

[R-sig-Geo] Snow depth raster for Finland

2010-09-22 Thread Alexandre Villers
Dear All, Does anyone of you know where I could find raster images of snow depth over Finland, for the past 30 years ? (!) Or at least the raw data so that I could try computing those rasters ? Best regards Alex -- Alexandre Villers, PhD. Spatial Ecology & Population Dynamics Sec

Re: [R-sig-Geo] Converting State Plane Coordinates

2010-08-24 Thread Alexandre Villers
() Best regards Alex Le 24/08/2010 17:58, Roger Bivand a écrit : > On Tue, 24 Aug 2010, Alexandre Villers wrote: > >> Hello, >> >> Have a look at spTransform (in rgdal package) and the EPSG code of >> the desired projection (this is to me the easiest way not to mess &

Re: [R-sig-Geo] Converting State Plane Coordinates

2010-08-24 Thread Alexandre Villers
Hello, Have a look at spTransform (in rgdal package) and the EPSG code of the desired projection (this is to me the easiest way not to mess with digits and various copy errors that can be made while writing the projection properties) at www.spatialreference.org then, you just have to do some

Re: [R-sig-Geo] help unzipping tiff files compressed with gzip

2010-06-04 Thread Alexandre VILLERS
tasets-in-compressed-archives-gz-and-zip-td2035285.html It's not available on my system as far as I know ( or I'm not using it correctly) - if it were avaible in the GDAL used to build rgdal it should allow readGDAL to read from the "/vsigzip/pathgz" string. Cheers, Mike.

[R-sig-Geo] help unzipping tiff files compressed with gzip

2010-06-04 Thread Alexandre VILLERS
) ? Best regards and thanks for any help. Alex -- Alexandre Villers PhD. AgriPop Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax +33 (0)5 49 09 65 26 __ Information from ESET Mail Security, version of virus sign

Re: [R-sig-Geo] Merging shape files?

2010-01-20 Thread alexandre villers
ation from ESET Mail Security, version of virus signature database 4787 (20100119) __ The message was checked by ESET Mail Security. http://www.eset.com Alexandre Villers PhD. Candidate Team Agripop CEBC CNRS UPR 1934 79360 Beauvoir sur Niort Phone: +33 (0)549 099 613 __ Inform

Re: [R-sig-Geo] stuck on importing and projecting shapefiles

2009-12-31 Thread alexandre villers
Datum: North America 1983 Since I'm using a MAC and can't figure out how to load rgdal, I have tried importing both shapefiles into QGIS (a separate GIS program), reprojecting them and exporting them from there and re-applying my R code but I get the same error message. Does anyone ha

Re: [R-sig-Geo] stuck on importing and projecting shapefiles

2009-12-30 Thread alexandre villers
Datum: North America 1983 Since I'm using a MAC and can't figure out how to load rgdal, I have tried importing both shapefiles into QGIS (a separate GIS program), reprojecting them and exporting them from there and re-applying my R code but I get the same error message. Does anyone ha

[R-sig-Geo] ecw for rgdal package

2009-12-21 Thread Alexandre VILLERS
Good afternoon, I was wondering if the reading and creating of ecw files was planned for the rgdal library. I suppose it is a bit tricky to include this function because of the need for the ECW SDK library from ER mapper... Best regards Alex -- Alexandre Villers PhD Candidate AgriPop

Re: [R-sig-Geo] creating cluster with between-points arbitrary distances

2009-12-09 Thread Alexandre VILLERS
nb[[i]] <- nb[[i]][dists[[i]] <= max.dist]) class(nb.new) <- "nb" return(nb.new) } On Thu, 2009-12-10 at 07:50 +0100, Alexandre VILLERS wrote: Good morning (and sorry for the cross posting on the R sig ecology), I'm still working on the spatial distribution of a

[R-sig-Geo] creating cluster with between-points arbitrary distances

2009-12-09 Thread Alexandre VILLERS
0) plot(y~x, col=c("red","red", "red", "black"), pch=c(16,16,16,16)) # red points belong to the same cluster while the black doesn't -- Alexandre Villers PhD Candidate AgriPop Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort

[R-sig-Geo] problem saving spplot in a loop

2009-12-07 Thread Alexandre VILLERS
.regions=palAb(17),at=cutsAb) dev.off() When I run "manually" the code (specifying the l and j values for the loop), everything is fine and I get nice png files. When the code loops on its own, I get blank images. I suspect this is a problem of the time taken by spplot to build the imag

[R-sig-Geo] from vector to raster (2nd try) with R or GRASS (GRASS prefered...)

2009-09-19 Thread Alexandre VILLERS
to my region settings (same resolution, extent, etc.) with the length of roads summed in each pixel. Being a beginner, I tried different ways but got stuck quite rapidely. Any help appreciated. Alex -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologique

Re: [R-sig-Geo] Producing ENFA derived suitability maps with adehabitat

2009-09-14 Thread Alexandre VILLERS
ng like this (I am not really sure which parameters do you have to copy, but the $tab data.frame certainly needs to be replaced with new predictors). Let me know if it works. cheers, T. Hengl http://spatial-analyst.net/wiki/index.php?title=Species_Distribution_Modelling ---

[R-sig-Geo] creating a grid from a contour vector shape

2009-09-09 Thread Alexandre VILLERS
Thank you for your messages. I wasn't very clear in my post but both answers will be usefull... Best regards Alex -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax

[R-sig-Geo] Producing ENFA derived suitability maps with adehabitat

2009-09-07 Thread Alexandre VILLERS
he result of an ENFA on a "new" landscape... Any link or help would be welcome. Alex -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax +33 (0)5 49 09 65 26

[R-sig-Geo] R and GRASS

2009-09-04 Thread alexandre villers
ith R, it's time to start !!! A Grass Use R Alexandre Villers PhD. Student Team Biodiversity CEBC CNRS 79360 Beauvoir sur Niort __ Information from ESET Mail Security, version of virus signature database 4393 (20090904) __ The message was checked by ESET Mail Secu

[R-sig-Geo] spgrass and GRASS 6.4 ORC5

2009-09-03 Thread Alexandre VILLERS
was a local problem or something with GRASS 6.4 I will give it another try soon... Best regards Alex -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax +33 (

Re: [R-sig-Geo] [GRASS-stats] Re: GRASS commands (fwd)

2009-09-01 Thread alexandre villers
to, Italy Web: http://gis.fem-environment.eu/ __ Information from ESET Mail Security, version of virus signature database 4387 (20090901) __ The message was checked by ESET Mail Security. http://www.eset.com Alexandre Villers PhD. Student Team

[R-sig-Geo] GRASS commands

2009-09-01 Thread Alexandre VILLERS
tiple is not allowed. I did not get it Thanks -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax +33 (0)5 49 09 65 26 __ Information from ESET Mail Security, version of

[R-sig-Geo] NA values with r.neighbors GRASS

2009-08-29 Thread alexandre villers
ge pixel value when surrounding pixels are empty but could someone confirm me this is really the case ? Is there a way to keep NA values as NAs (and not -2999) or do I need to modify those values after r.neighbors? I looked through the r.neighbors documentation but there is nothing, unless I misse

Re: [R-sig-Geo] r.neighbors with execGRASS

2009-08-28 Thread alexandre villers
: Alexandre VILLERS Date: Fri, 28 Aug 2009 23:43:07 +0200 (CEST) Subject: Re: [R-sig-Geo] r.neighbors with execGRASS On Fri, 28 Aug 2009, Alexandre VILLERS wrote: > Goord afternoon, > > I have a bunch of ascii files to smooth and I wanted to start using spgrass6 > (and then looping with GR

[R-sig-Geo] r.neighbors with execGRASS

2009-08-28 Thread Alexandre VILLERS
iption:    |  |    generated by RINGDA~1   |  |    |  |   Comments:    |  |    RINGDA~1 -o input="M:/MODIS_t

[R-sig-Geo] silly question on quadratcount in spatstat ?

2009-08-19 Thread Alexandre VILLERS
t of spatial analysis with R. We (users) always come with problems or questions on the list but most of the time, everything works fine and we don't write to the R SIG GEO for that ! -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologiques de Chizé-CNRS U

[R-sig-Geo] still struggling with FTP download on MODIS

2009-07-15 Thread Alexandre VILLERS
r: I can get into those folder and download the tiles. The tiles are pretty small (150 to 450 Ko). So if someone could try from his place to see if he gets the same error message for the same value of i (4, 28,31, etc.). Since I have 550 tiles to download and process, I would prefer not to do tha

Re: [R-sig-Geo] getting subfolders in a directory on FTP (MODIS)

2009-07-14 Thread alexandre villers
Dear Barry, Thank you very much for this ! This will really help ! Best regards Alex Alexandre Villers PhD. Student Team Biodiversity CEBC CNRS 79360 Beauvoir sur Niort __ Information from ESET Mail Security, version of virus signature database 4242 (20090714) __ The message

[R-sig-Geo] getting subfolders in a directory on FTP (MODIS)

2009-07-14 Thread alexandre villers
nage that with excel to get the dates... But I don't really like doing it that way. So if anyone could guide me to a R function that would do that (or to the different functions if it's not straigthforward)... Best regards Alex Alexandre Villers PhD. Student Team Biodiversity C

[R-sig-Geo] many thanks

2009-07-02 Thread alexandre villers
Many thanks Adrian for your help... Let's run the analysis ! Alex Alexandre Villers PhD. Student Team Biodiversity CEBC CNRS 79360 Beauvoir sur Niort __ Information from ESET Mail Security, version of virus signature database 4209 (20090702) __ The message was checked by

[R-sig-Geo] SPATSTAT: converting owin(mask) to owin (polygon) PART II

2009-06-30 Thread Alexandre VILLERS
es) but with a 25 years or so dataset, my lazyness would have had prefered to loop with R. Thanks again for your assistance. Alex adrian.badde...@csiro.au a écrit : Alexandre VILLERS wrote: I would like to create a new window for a point pattern in order to get a tess object (di

[R-sig-Geo] SPATSTAT: converting owin(mask) to owin (polygon)

2009-06-29 Thread Alexandre VILLERS
d I miss something ? Is there a way of converting the binary window into a polygonal window in spatstat (even if I went through the documentation) ? With package sp (which I don't know well). Any help, even a rude "read the manual at page XX" would be appreciated... Best regard

[R-sig-Geo] converting raster into grid shapefile

2009-05-04 Thread Alexandre VILLERS
stuff with R ? Best regards Alex -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax +33 (0)5 49 09 65 26 __ Information from ESET Mail Security, versio

[R-sig-Geo] Characterizing the position (central vs peripheral) of a point in a point pattern

2009-04-29 Thread Alexandre VILLERS
affected by sample size) Hope this is a trivial question ! Thanks for your help. Alex -- Alexandre Villers PhD Student Team "Biodiversity" Centre d'Etudes Biologiques de Chizé-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax +33 (0)5 49 09 65 26 ___

Re: [R-sig-Geo] plotting Ripley fonctions

2008-10-09 Thread Alexandre VILLERS
ked by ESET Mail Security. http://www.eset.com part000.txt - is OK -- Alexandre Villers PhD Student Team "Biodiversity" CEBC-CNRS UPR1934 79360 Beauvoir sur Niort Phone +33 (0)5 49 09 96 13 Fax +33 (0)5 49 09 65 26 __ Information from ESET Mail Security, version of v

[R-sig-Geo] convert data.frame into raster image

2008-10-08 Thread Alexandre VILLERS
coordinates Don't need (for the moment !) to write me down the code but just let me know which packages or funtion I could use. (the idea is then to link those values to birds' nests locations). Best regards Alex -- Alexandre Villers PhD Student Team "Biodiversity" CEBC-CNRS UP

[R-sig-Geo] GRASS and R

2008-10-05 Thread Alexandre VILLERS
be scarce. Could someone advise me with a tutorial which would help me with handling GRASS (something like "GRASS for the beginners") and connecting GRASS to R (using spgrass6). Best regards Alex -- Alexandre Villers PhD Student Team "Biodiversity" CEBC-CNRS UPR1934 7