I am having difficulty taking an image currently in Lambert Conformal and turning it in to Cylindrical Equidistant.  However, the reverse seems to work just fine--I can turn a Cyl Equi image into lambert conformal.

I'm guessing that my construction of the GridCoverage2D object is not correct for Lambert Conformal (or any other non rectangular projection).  Essentially I'm getting the max and min values of the corner points of the Lambert conformal image and plugging them in:

GeneralEnvelope envelope = new GeneralEnvelope(2);
envelope.setRange(0, -123, -49);
envelope.setRange(1, 14.3, 59.3);
envelope.setCoordinateReferenceSystem(lambertConformal);
GridCoverage2D baseGC = fact.create("test", bi, envelope);

Is this a valid way to do that?  Is there some other way to construct a GridCoverage2D using the coordinates of the corner points?

Thanks.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to