Hey Simone,

Found it! 

At the end of 
  ArcGridReader.getCoordinateReferenceSystem()
you have:
if (crs == null) {
        crs = AbstractGridFormat.getDefaultCRS();
        LOGGER.info(new StringBuffer(
                        "Unable to find crs, continuing with default WGS4 CRS")
                        /*.append("\n").append(crs.toWKT()).toString()*/);
}
with the comment markers my own.

1) does this need to be at the info level?

2) Since you create the crs in a static initialization structure in
AbstractGridFormat don't you know what it is? Why do you want to see it
again?
        (I'm not exactly sure how your code works since you are doing
        the same thing twice, the second time in response to a
        FactoryException your first try could have caused. Won't the
        second attempt cause exactly the same exception? Why are you
        even trying the decode?)

Thanks for any clarification,
--adrian



-------------------------------------------------------------------------
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

Reply via email to