From: Thiago T. <tur...@ho...> - 2011-09-10 13:19:15
|
I can run this class in web project ? From: tur...@ho... To: geo...@li... Date: Fri, 9 Sep 2011 12:57:25 +0000 Subject: Re: [Geotools-gt2-users] how to calculate area of a polygon by coordinates Yes, very cool. In this sample, works only for South America, right ? This link http://svn.geotools.org/trunk/modules/plugin/epsg-extension/src/main/resources/org/geotools/referencing/factory/epsg/esri.properties contains many ESRI. Each line belongs to a location on the globe? > Date: Fri, 9 Sep 2011 22:36:02 +1000 > Subject: Re: [Geotools-gt2-users] how to calculate area of a polygon by coordinates > From: mic...@gm... > To: tur...@ho...; geo...@li... > > 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 Geo...@li... https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users |