We have a page in the user guide for OSGi use.
http://docs.geotools.org/stable/userguide/welcome/integration.html
Jody Garnett
On Wed, Jun 18, 2014 at 11:04 PM, Anuruddha Premalal <
anuruddhaprema...@gmail.com> wrote:
> Hi,
>
> I'm trying to transform coordinates using JTS transform. And I'm using
> geotools version 12-SNAPSHOT dependencies. Following are the dependencies
> used in the pom file.
>
> * gt-shapefile
> * gt-epsg-hsql
>
> The transformation function works well when it runs as an eclipse
> project. But when i bundled it as a jar and use in a OSGI enviornment, it
> throws the following error.
>
> *org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is
> unknown or doesn't match the supplied hints. Maybe it is defined in an
> unreachable JAR file?*
>
> I've exported all the needed packages when building the jar, also checked
> inside the jar to verify.
>
> I found a thread, which says there might be issues in using
> transformation function in OSGI environment.
>
> Is this a known issuecr?.
>
>
> Regards,
> --
> *Anuruddha Premalala(STMIEEE,STMACM) Mobile : +94710461070
> <%2B94710461070>E-mail : anuruddhaprema...@gmail.com
> <anuruddhaprema...@gmail.com>Sri Lanka.*
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users