Jody Garnett a écrit :
Thanks Mark! For some reasons I thought an epsg-wkt or epsh-hsql would
be needed. Ah, that is only for AUTHORY support.
Right. If you don't need to parse strings like "EPSG:4326", you don't
need any "gt2-epsg-foo.jar" file.
For a quick test creating a CRS from a WKT the only libraries required
were geoapi.jar, gt2-referencing-2.2-RC0.jar and JAI. The test just
converted a point from WGS84 to UTM-10N (The example used on
http://www.geotools.org/display/GEOTOOLS/Coordinate+Transformation+Services+for+Geotools+2.1).
Definitely fails without JAI. I'll do some more tests later in the week.
Thats strange; the referencing module is not supposed to requires JAI
anymore. I would be interrested to known the stack trace that you get,
in order to fix this bug.
A number of other jars are referenced in the CLASSPATH entry in the
metadata of gt2-referencing but weren't necessary for this test.
The Class-Path entry in META-INF/MANIFEST.MF (for the JAR built by Maven
2) is:
Class-Path: jsr108-0.01.jar jts-1.6.jar vecmath-1.3.1.jar geoapi-2.0.jar
- jsr108 should be required; I would be surprised if anything work
without that one.
- The jts dependency will disaspear in Geotools 2.3. They were only two
methods using JTS, and I deprecated them in release 2.2 (actually
moved them in an other package in the main module) so we can delete
them from the referencing module in 2.3.
- vecmath is going to be necessary as soon as coordinate transformations
will be involved. It is used for matrix operations.
- geoapi is of course 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel