[geotk] How to set the CRS for a Grid

Brian Schlining bschlining at gmail.com
Wed Jan 25 20:21:05 EST 2012


Hi Martin et al,

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?


Here's some params I'm getting:
--- GEOMETRY:
GridGeometry2D[GeneralGridEnvelope[0?5082, 0?4066], PARAM_MT["Affine",
  PARAMETER["num_row", 3],
  PARAMETER["num_col", 3],
  PARAMETER["elt_0_0", 50.0],
  PARAMETER["elt_0_2", 422985.2775983825],
  PARAMETER["elt_1_1", -50.0],
  PARAMETER["elt_1_2", 4118814.9067777675]]]
--- CRS:
NetCDF:"x y"

I'm looking at the GridCoverage2D constructor, but I feel like I'm going
down a big rabbit hole of interfaces. So I thought I'd go straight to the
authorities (i.e. you guys) for this one. Any suggestions?

Thanks!

-- 
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Brian Schlining
bschlining at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geotoolkit/attachments/20120125/aaa98d38/attachment.html


More information about the Geotoolkit mailing list