Re: [Geotools-gt2-users] reproject raster file

2006-12-23 Thread Martin Desruisseaux
Simone Giannecchini a écrit : > Ciao Kevin, > it should be new Rectangle2D.Float(-180, -90,180,90) not new > Rectangle2D.Float(-180, -90, 360, 180) (I guess it's a typo from > Martin and I think he will give feedback on this :-) ). In Java2D, the argument in Rectangle2D constructor are (minX, min

Re: [Geotools-gt2-users] reproject raster file

2006-12-23 Thread Simone Giannecchini
Ciao Kevin, it should be new Rectangle2D.Float(-180, -90,180,90) not new Rectangle2D.Float(-180, -90, 360, 180) (I guess it's a typo from Martin and I think he will give feedback on this :-) ). Anyway, I think we might find a better way to handle this using one of the GridCoverage plugins in GeoT

Re: [Geotools-gt2-users] reproject raster file

2006-12-23 Thread Jody Garnett
If either of you can feed me a code example for the wiki that would be swell. (I am adding all such code examples to the demo/example model). Cheers, Jody > Kevin Ward a écrit : > >> As you can see, I am taking the raster image, creating an envelope >> that defines it, creating the GridCovera

Re: [Geotools-gt2-users] reproject raster file

2006-12-22 Thread Martin Desruisseaux
Kevin Ward a écrit : > As you can see, I am taking the raster image, creating an envelope > that defines it, creating the GridCoverage2D and then resampling it. > It seems too straight forward to actually work :-) so if anyone could > give me some guidance it would be much appreciated. It is actu

[Geotools-gt2-users] reproject raster file

2006-12-22 Thread Kevin Ward
I am trying to take a cylindrical file and reproject it to something like polar stereographic. I also realize that there is much that I don't know about mapping, datums, crs, etc. so I am hoping someone on the list could give me a kick in the right general direction. I would be more than happy to s