So I have boiled this down to a test case that fails in geotools...
>     public void testSamplePixel() throws Exception {
>         Map map = new HashMap();
>         map.put( Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, true );
>         map.put( Hints.FORCE_STANDARD_AXIS_DIRECTIONS, true );
>         map.put( Hints.FORCE_STANDARD_AXIS_UNITS, true );
>  
>         Hints global = new Hints(map);
>         GeoTools.init( global );
>
>        // ReferencedEnvelope[-0.24291497975705742 : 
> 0.24291497975711265, -0.5056179775280899 : -0.0]
>         CoordinateReferenceSystem EPSG4326 = CRS.decode("EPSG:4326");
>         ReferencedEnvelope pixelBounds = new ReferencedEnvelope( 
> -0.24291497975705742, 0.24291497975711265, -0.5056179775280899, 0.0, 
> EPSG4326 );
>         CoordinateReferenceSystem WGS84 = DefaultGeographicCRS.WGS84;
>         
>         ReferencedEnvelope latLong = pixelBounds.transform( WGS84, 
> true );  
>         assertNotNull( latLong );
>     }
Looks like some of the wrappers thrown into the mix by the above hints 
cause trouble when they try to find something to delegate to; end up 
looking for a CRSAuthorityFactory and then being unhappy when it does 
not implement every interface they could possibly want.

Please note that *any* of the above hints are fatal.
Jody


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to