[geotk] How to set the CRS for a Grid

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Thu Jan 26 05:50:22 EST 2012


Hello Brian

Le 26/01/12 02:21, Brian Schlining a écrit :
> I'm reading a 'grd' (netcdf file) that has a UTM Zone 10 CRS but when I read 
> it, using CoverageIO.read, has a CRS of 'NetCDF:"x y"'. How do I force the CRS 
> to be UTM Zone 10? 

Does the CRS implements the GeographicCRS interface or the ProjectedCRS 
interface? (this remind me that I should put a more descriptive toString() 
method for NetCDF CRS).

I'm working on improving NetCDF projected CRS right now. On the main time, there 
is a FAQ on http://www.geotoolkit.org. I don't have internet browser right, but 
if my memory serves me right I think you will find how to force a CRS in the 
Coverage FAQ, and how to create a UTM Zone x CRS in the referencing FAQ.

     Regards,

         Martin



More information about the Geotoolkit mailing list