Hello Thiago,

> I execute class and the result was similar to this site,
> http://www.daftlogic.com/projects-google-maps-area-calculator-tool.htm
>
> I think it must be correct.

Cool !

> I got some exceptions:
>
>  org.opengis.referencing.FactoryException: Failed to connect to the EPSG
> database.

My first guess is that you don't have the gt-epsg-hsql jar on your
classpath.  The complete set of jars required (according to Maven) is
this...

   com.vividsolutions:jts:jar:1.12
   commons-pool:commons-pool:jar:1.5.4
   hsqldb:hsqldb:jar:1.8.0.7
   java3d:vecmath:jar:1.3.2
   javax.media:jai_core:jar:1.1.3
   jdom:jdom:jar:1.0
   net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2
   org.geotools:gt-api:jar:8-SNAPSHOT
   org.geotools:gt-epsg-hsql:jar:8-SNAPSHOT
   org.geotools:gt-main:jar:8-SNAPSHOT
   org.geotools:gt-metadata:jar:8-SNAPSHOT
   org.geotools:gt-opengis:jar:8-SNAPSHOT
   org.geotools:gt-referencing:jar:8-SNAPSHOT
   xerces:xercesImpl:jar:2.4.0

Michael

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to