Rueben Schulz ha scritto: > To Sun, > > The short answer is no, geotools does not support NTV2 (or 1). If it > did, the math transform would be in the referencing module, beside the > NADCON transform (a similar NAD27 to NAD83 datum shift method used in > the USA). > > http://geotools.org/javadocs/org/geotools/referencing/operation/transform/NADCONTransform.html > > I looked into adding NTV2 many years ago (there may even be an email on > the devel list about it somewhere), but while the people at Natural > Resources Canada were very helpful, they were not at that time setup to > license to an open source project. I think there is a fee to license the > NTV2 files (which you are then allowed to distribute), and various > agreements need to be signed to guarantee to them that your > implementation is correct. Now that Geotools is under the OSGeo > Foundation, getting this licensing sorted out should be much easier.
I actually successfully made a NTV2 transform some time ago, when checking how hard it would have been to integrate, by using the http://jgridshift.sourceforge.net/ library and a grid that was kindly provided to me by a national cartographic representative (a grid that I cannot share, as you say it's something that is being sold). Long story short, it's definitely doable, it would just take some time to make to integrate in GeoTools and to make grid lookups flexible enough to be usable in a variety of situations: think custom apps putting them in the classpath, GeoServer probably putting them somewhere in the data directory, uDig somewhere else, and so on. We'd probably also need some way to declare that a grid is available besides the cases already contemplated by the EPSG database itself (and override factory, but for datum transformations as opposed to CRS definitions). Sounds like one-two weeks of work, but it's definitely doable. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
