Re: [R-sig-Geo] extract value of polygone

2012-01-18 Thread Mathieu Rajerison
Hi, First, you should try to get a continuous topography raster map from your contour map. Then, you could extract values at some points using raster::extract. Best, Mathieu 2012/1/18 Saman Monfared > Hi. > I try to extract values of temperature in a topography map. It is > like a contour p

Re: [R-sig-Geo] OWIN spatial point pattern

2012-01-18 Thread Rolf Turner
What you describe doing here is substantially different from what you previously described. Also what you describe doing must be substantially different, yet again, from what you actually did, since errors would have been thrown by what you describe doing. Finally, what you describe doing makes

[R-sig-Geo] extract value of polygone

2012-01-18 Thread Saman Monfared
Hi. I try to extract values of temperature in a topography map. It is like a contour plot. I need the coordinates and temperature of some points. how can I perform it?? thanks. -- Saman Monfared Msc Student, Department of Statistics, Shiraz University, Shiraz 71454, Iran Email: samanmonfar...@

[R-sig-Geo] extract value of polygone

2012-01-18 Thread Saman Monfared
Hi. I try to extract values of temperature in a topography map. It is like a contour plot. I need the coordinates and temperature of some points. how can I perform it?? thanks. -- Saman Monfared Msc Student, Department of Statistics, Shiraz University, Shiraz 71454, Iran Email: samanmonfar...@

Re: [R-sig-Geo] OWIN spatial point pattern

2012-01-18 Thread Rolf Turner
On 19/01/12 09:54, Jose Funes wrote: Hi, I am trying to create an binary mask and use it to create a ppp object and to be able to compute a density surface. I have failed in defining the owin as a mask. Please read code below: Definition of the window as matrix: from raster to image and from

[R-sig-Geo] OWIN spatial point pattern

2012-01-18 Thread Jose Funes
Hi, I am trying to create an binary mask and use it to create a ppp object and to be able to compute a density surface. I have failed in defining the owin as a mask. Please read code below: Definition of the window as matrix: from raster to image and from image image to matrix sudan1 <-readGDA

Re: [R-sig-Geo] Error with projectRaster

2012-01-18 Thread Robert J. Hijmans
Klaus, I believe I have fixed this problem in version 1.9-64. Please let me know if not. Best, Robert On Wed, Jan 18, 2012 at 1:04 AM, Klaus Jacobi wrote: > This morning I changed from raster version 1.9-63 back to 1.9-58 and my > script is functioning again. > > Fortunately, the previous downlo

[R-sig-Geo] Antw: problem with ndvi

2012-01-18 Thread Matteo Mattiuzzi
Dear Vikram, It is not good to calculate NDVI from DN. The purpose of DN (digital number) is only for packing as much information as possible into a given “BIT-size” (in Landsat 8-bit/pixel/band). DN is practically the radiance (I think TOA?) modified with an offset and a gain in order to pr

Re: [R-sig-Geo] problem with ndvi

2012-01-18 Thread Vikram Ranga
Dear Jorge, thank you very much for the help. i have used the same landsat package but did not convert on the ground reflection but the on sensor reflectance. For MODIS and AVHRR, i need better spatial resolution that is the reason i am using landsat and I was not getting negative values even pla

[R-sig-Geo] problem with ndvi

2012-01-18 Thread Vikram Ranga
Hello list, I am working with landsat images and would like to create a phenological cycle with NDVI. I am using R for that but NDVI values changes if i use on sensor reflectance instead of DN values i.e. giving different result in every case. I tried to compare histograms seems to have changed

Re: [R-sig-Geo] Error with projectRaster

2012-01-18 Thread Klaus Jacobi
This morning I changed from raster version 1.9-63 back to 1.9-58 and my script is functioning again. Fortunately, the previous downloads of zipped packages are kept on the local hard disk - but only, if a package is updated, not when it is uninstalled. Klaus Jacobi -- View this message in contex

[R-sig-Geo] NYT map with non-overlapping labels

2012-01-18 Thread Mathieu Rajerison
Hi, I've juste read this article about a map published on NYT http://blog.revolutionanalytics.com/2012/01/nyt-uses-r-to-map-the-1.html The map has been created using R. Actually, the map is all about non-overlapping labels which algorithmic placement. http://revolution-computing.typepad.com/.a/6

[R-sig-Geo] a R & GRASS example : calculation of Intervisibility along a line

2012-01-18 Thread Mathieu Rajerison
Hi, For those would be interested, I had published an article on my blog about the calculation of intervisibility along a line. http://datagistips.blogspot.com/2011/09/on-road-with-r-grass-intervisibility.html It's one example of using GRASS together with R packages: a combination of spgrass an