Re: [R-sig-Geo] kml generation question

2009-07-14 Thread Matt Oliver
Turns out the best idea was Barry's..Simply co-opt some existing kml code and make it do what you want with your image http://www.ceoe.udel.edu/cms/moliver/EDA_20090619.170.1758.n18.kml On Mon, Jul 13, 2009 at 12:12 PM, Roger Bivand wrote: > On Mon, 13 Jul 2009, Barry Rowlingson wrote: >

Re: [R-sig-Geo] kml generation question

2009-07-13 Thread Matt Oliver
It turns out to be a pretty significant difference.try image(lon,lat,mcsst) image(lonr,latr,mcsst, add = T) On Mon, Jul 13, 2009 at 12:04 PM, Barry Rowlingson < b.rowling...@lancaster.ac.uk> wrote: > On Mon, Jul 13, 2009 at 4:32 PM, Matt Oliver wrote: > > I tried to polygon.you

Re: [R-sig-Geo] kml generation question

2009-07-13 Thread Roger Bivand
On Mon, 13 Jul 2009, Barry Rowlingson wrote: On Mon, Jul 13, 2009 at 3:26 PM, Matt Oliver wrote: Dear r-sig-geo, I am trying to generate a kml for an image I am producing using image(). After reading about kml generation, I'm unsure if I sould be using kmlOverlay() or writeOGR, or some other f

Re: [R-sig-Geo] kml generation question

2009-07-13 Thread Barry Rowlingson
On Mon, Jul 13, 2009 at 4:32 PM, Matt Oliver wrote: > I tried to polygon.you are right...too  slow > > I'm not sure how to resample to get a regular grid...using interp or interpp > would not be wise because of the size of the grid... A quick bodge would be to ignore the slight change in lat

Re: [R-sig-Geo] kml generation question

2009-07-13 Thread Matt Oliver
I tried to polygon.you are right...too slow I'm not sure how to resample to get a regular grid...using interp or interpp would not be wise because of the size of the grid... On Mon, Jul 13, 2009 at 11:09 AM, Barry Rowlingson < b.rowling...@lancaster.ac.uk> wrote: > On Mon, Jul 13, 2009 at

Re: [R-sig-Geo] kml generation question

2009-07-13 Thread Barry Rowlingson
On Mon, Jul 13, 2009 at 3:26 PM, Matt Oliver wrote: > Dear r-sig-geo, > > I am trying to generate a kml for an image I am producing using image(). > After reading about kml generation, I'm unsure if I sould be using > kmlOverlay() or writeOGR, or some other function. > > This is the data > > http:/

[R-sig-Geo] kml generation question

2009-07-13 Thread Matt Oliver
Dear r-sig-geo, I am trying to generate a kml for an image I am producing using image(). After reading about kml generation, I'm unsure if I sould be using kmlOverlay() or writeOGR, or some other function. This is the data http://www.ceoe.udel.edu/cms/moliver/20071003.276.0237.n17.nc require(nc