> > 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'm not using eclipse in the sense of the framework as udig does, just as ide.
> 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.
Thanks, that was the point. It didn't use on shapes that had no .prj file,
whereas it does when a .prj file is present.
Thanks for help and time,
Cheers
Andrea
--
____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
www.hydrologis.com
Andrea Antonello
Environmental Engineer
mobile: +393288497722
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
____________________________________________________________________________
-------------------------------------------------------
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_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users