Hello,

I am currently using Geotools in a project that is to be deployed into Apache 
Servicemix as an OSGI bundle.  As part of the program, it creates a 
ReferencingFactoryFinder to get a MathTransformFactory.  This Factory uses the 
Lambert_Azimuth_Equal_Area Projection to perform transform operations.

When running from the command line (using commands like "mvn jetty:run" or "mvn 
camel:run"), the program executes correctly.  It is able to discover about 25 
different Projections, one of which is the Lambert_Azimuth_Equal_Area 
Projection that I am using.  I believe it is able to find these by looking in 
the gt-referencing package, under the META-INF/services directory, where it 
specifies an implementation of MathTransformFactory and providers for 
MathTransformProvider.

However, when I turn the project into an OSGI bundle, and place it in 
servicemix, it finds no projections, and fails on FactoryException: 
org.opengis.referencing.NoSuchIdentifierException: No transform for 
classification "Lambert_Azimuthal_Equal_Area".  My belief is that is not seeing 
the META-INF/services directory that is included within a geotools osgi bundle 
I created as a combination of gt-referencing and gt-metadata.  I was wondering 
if anyone has been able to successfully use this referencing technique within 
servicemix, and if so, how do I set up the geotools in servicemix for it to be 
seen correctly?  For reference, I am using version 2.5.3 of geotools.

Thanks in advance,

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