Hey Simone,
Martin slapped me around with a wet trout a little bit this morning. He
beat some sense into me and has shown me why I was reading your code
wrong last night. NOW, I see my question made no sense. :-)
cheers,
adrian
In the wee hours of a dark, winter night, a tired Adrian,wrote:
==============================================================
5) The code block I really didn't understand was:
/**
* Default [EMAIL PROTECTED] CoordinateReferenceSystem} used by all the plugins.
*/
private static CoordinateReferenceSystem crs;
static {
try {
crs = CRS.decode("EPSG:4326", true);
} catch (NoSuchAuthorityCodeException e) {
crs = DefaultGeographicCRS.WGS84;
} catch (FactoryException e) {
crs = DefaultGeographicCRS.WGS84;
}
}
in AbstractGridFormat, which seems like a lot of work if all you want is
the static WGS84 and looks like catching the FactoryException the first
time is not going to do much good.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel