Tom Howe a écrit :
> Martin,
> thanks for your help. I've made some headway. Given the info in my
> netcdf file I've done the following:
>
> (...snip...)
>
> gcs is a projection Object from the ucar netcdf library. when I try to
> do a transform, I get very incorrect results. Does the above look like
> it's missing anything? Have you done any work with this stuff?
I have not yet started the work on NetCDF. The code sound good. Maybe some
point
that may worth to be checked:
- What are the units of the values returned by "gcs"? Is is degrees or metres?
- What are the axis order expected by the NetCDF library?
- How do you perform your projection?
- Have you tried to project a single point? Which result do you expect
and which one do you get?
It may be worth to look at the output of System.out.println(theProjectedCRS).
Martin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users