Andrea Antonello a écrit :
Therefore by adding to the startscript the classpath to the geotools jars did the trick. That's also the reason why the eclipse worked properly. This is probably not the right mailinglist for these kind of problems, however if someone knows what is going on, ideas are welcome.

If you are using geotools in an Eclipse application, I believe that the JAR handling in Eclipse is somewhat tricky. The uDig guys could probably share their experience on that matter.


I also noticed the the units and vectmath packages are needed when reading shapefiles, but not in every case. Any place where I can read why? Any hint?

units.jar and vecmath.jar are needed for Coordinate Reference System (CRS) handling. Each coordinate system axis has units. The vecmath.jar file ("vector mathematic") contains a matrix package, which is required for coordinate transformations.

I guess that shapefiles doesn't need units.jar and vecmath.jar when no Coordinate Reference System is used with the shapefile. But as soon as a CRS is attached to a shapefile, units and matrix operations are likely to be required.

        Martin.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to