Hello,

>        I am not using Maven. i am running the project on Netbeans without
> Maven.. i tried running ImageLab example and included all the dependencies
> required. Gdal is also installed.
> I am using a Geotiff image file and a shape file.The CRS  for the image file
> is WGS-84.. please check and tell me is this the reason for the error. I
> tried it running with the bluemarble.tif and countries.shp also.. getting
> same error.
>

In that case it is almost certainly a problem with your project setup
rather than anything to do with the tutorial code or geotiffs. To
check, I just built the ImageLab tutorial with GeoTools 8.3 and
displayed the bluemarble image plus countries shapefile (WGS 84) with
no problems.

It is quite hard to build GeoTools apps without Maven due to the large
number of dependencies involved. The list archive is full of posts
from people who have tried and failed.

Maven integration in NetBeans is excellent, so unless you have a
really good reason for not using Maven I would strongly suggest you
just go with the flow. If you are determined not to use it, then the
listing below (generated with Maven's dependency:tree command) shows
the jars required for the ImageLab application.

Michael

[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.cafeanimal:singleapp:jar:1.0-SNAPSHOT
[INFO] +- org.geotools:gt-shapefile:jar:8.3:compile
[INFO] |  +- org.geotools:gt-data:jar:8.3:compile
[INFO] |  +- org.geotools:gt-referencing:jar:8.3:compile
[INFO] |  |  +- java3d:vecmath:jar:1.3.2:compile
[INFO] |  |  +- commons-pool:commons-pool:jar:1.5.4:compile
[INFO] |  |  +- org.geotools:gt-metadata:jar:8.3:compile
[INFO] |  |  |  \- org.geotools:gt-opengis:jar:8.3:compile
[INFO] |  |  |     \- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:compile
[INFO] |  |  \- jgridshift:jgridshift:jar:1.0:compile
[INFO] |  +- jdom:jdom:jar:1.0:compile
[INFO] |  \- javax.media:jai_core:jar:1.1.3:compile
[INFO] +- org.geotools:gt-swing:jar:8.3:compile
[INFO] |  +- org.geotools:gt-render:jar:8.3:compile
[INFO] |  |  \- org.geotools:gt-cql:jar:8.3:compile
[INFO] |  \- com.miglayout:miglayout:jar:swing:3.7:compile
[INFO] +- org.geotools:gt-epsg-hsql:jar:8.3:compile
[INFO] |  \- hsqldb:hsqldb:jar:1.8.0.7:compile
[INFO] +- org.geotools:gt-geotiff:jar:8.3:compile
[INFO] |  +- org.geotools:gt-main:jar:8.3:compile
[INFO] |  |  +- org.geotools:gt-api:jar:8.3:compile
[INFO] |  |  \- com.vividsolutions:jts:jar:1.12:compile
[INFO] |  +- org.geotools:gt-coverage:jar:8.3:compile
[INFO] |  |  +- org.jaitools:jt-zonalstats:jar:1.3.0:compile
[INFO] |  |  \- org.jaitools:jt-utils:jar:1.3.0:compile
[INFO] |  +- javax.media:jai_imageio:jar:1.1:compile
[INFO] |  \- it.geosolutions.imageio-ext:imageio-ext-tiff:jar:1.1.5:compile
[INFO] |     +-
it.geosolutions.imageio-ext:imageio-ext-utilities:jar:1.1.5:compile
[INFO] |     \- javax.media:jai_codec:jar:1.1.3:compile
[INFO] +- org.geotools:gt-image:jar:8.3:compile
[INFO] \- org.geotools:gt-wms:jar:8.3:compile
[INFO]    +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO]    |  +- commons-logging:commons-logging:jar:1.0.4:compile
[INFO]    |  \- commons-codec:commons-codec:jar:1.2:compile
[INFO]    \- org.geotools:gt-xml:jar:8.3:compile

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to