Re: [R-sig-Geo] help: krigged map do not show colours

2015-08-05 Thread Jon Skoien
Anand, I could not open your .grd file in R, I think the .gri file is missing. However, looking at it in a text editor, and comparing with your R-script, it seems something went wrong with your projections. Your .csv-file has LatLong coordinates, but you are setting the projection to

Re: [R-sig-Geo] help: krigged map do not show colours

2015-08-05 Thread Jon Skoien
Hi, You have attached some data, but we still dont know exactly what you do with the data (do you use the logarithm, how many bins, did you project the data set...?). However, having had a quick look using the LatLong coordinates (not really recommended), I can see that the variogram from

Re: [R-sig-Geo] help: krigged map do not show colours

2015-08-05 Thread Anand Sookun
Dear Jon and Roman Thanks for the reply. Im attaching the code. You may be right that the variogram may be problematic but it fitted well visually. I think also that the prediction grid was not well created. I wiould be grateful to have to hints.code how to create a useful grid and also for

Re: [R-sig-Geo] help: krigged map do not show colours

2015-08-05 Thread Roman Luštrik
Unfortunately we don't have access to all the variables you use in `krige` call. Consider making a reproducible example. Cheers, Roman On Mon, Aug 3, 2015 at 5:30 PM, Anand Sookun asoo...@gmail.com wrote: Hi Thank you Roman for your kind response. The data is as attached which is part of

[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 is to

Re: [R-sig-Geo] help: krigged map do not show colours

2015-08-05 Thread Anand Sookun
Dear Jon I have to thank you so much for solving this issue. I did't notice that there was a projection and grid problem. I hope I would be able to move forward with my analysis with R and perhaps still need your kind and much appreciated help. Cheers Anand On Wed, Aug 5, 2015 at 12:08 PM,

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

2015-08-05 Thread boB Rudis
Can you provide a (small) real set of data (with real values for x y)? On Wed, Aug 5, 2015 at 9:56 AM, Maurizio Marchi mauriziomarch...@gmail.com wrote: photosynthetic radiation ___ R-sig-Geo mailing list R-sig-Geo@r-project.org

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

2015-08-05 Thread boB Rudis
Maurizio provided his data set offline. The code + data + sample plots are in this gist: https://gist.github.com/hrbrmstr/e29cf9138e480db9e67d The data is just as he described it, so it's really just a matter of creating some polygons from the the points spline interpolation: