Merci Martin!

I saw that there was that method on CoordinateOperationAuthorityFactory but 
didn't see any way to get an object that implemented that interface.   So I can 
now write something like:

                CoordinateReferenceSystem wgs84 = CommonCRS.WGS84.geographic();
                CoordinateReferenceSystem nad27 = CommonCRS.NAD27.geographic();
                ProjectedCRS projCrs = (ProjectedCRS) 
CRS.forCode("EPSG:32040");   // NAD27 / Texas South Central
                GeographicCRS geoCrs =   projCrs.getBaseCRS();  
                CoordinateOperation conversion = CRS.findOperation(projCrs, 
geoCrs, null);              
                CoordinateOperationAuthorityFactory opFactory = 
(CoordinateOperationAuthorityFactory) CRS.getAuthorityFactory("EPSG");
                CoordinateOperation transform = 
opFactory.createCoordinateOperation("15851"); //NADCON grid based transform     
                
                DirectPosition ptSrc = new DirectPosition2D(300000, 5200000);   
       
                DirectPosition ptNad27 = 
conversion.getMathTransform().transform(ptSrc, null);                  
                DirectPosition ptWgs84 = 
transform.getMathTransform().transform(ptNad27, null);

This works just fine but I wonder whether there is more efficient way to do 
this ?  May I chain the conversion and transform operations together into one 
operation in order to convert my NAD27 based projection CRS to WGS84 in one 
step?

Clay

Reply via email to