Can someone tell me how to use this part of the code? I am trying to 
convert NAD27 to NAD83 using this package but I send in a lat/lng pair 
and just get back an array with just 0.0 and 0.0. It seems I must be 
missing something but the documentation is lacking and there is no good 
example code to be found. Here is the code listing of how I am using this:

    double [] sendAry = new double [2];
    double [] retValAry = new double [2];
   
    sendAry[0] = lat;
    sendAry[1] = lon;
   try{
    NADCONTransform tran = new NADCONTransform(
                                 "C:\\Program Files\\digloader\\conus.las",
                                 "C:\\Program Files\\digloader\\conus.los"
                               );
   
    tran.transform(sendAry, 0, retValAry, 0, 1);
   }


Thanks for any insight.

Milton S.

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

Reply via email to