From: alvaro z. <alv...@ju...> - 2008-05-28 11:23:26
|
Hi, Im trying to build gsoc-transformations without maven. To do that, Ive added these dependencies to the class-path: gt2-referencing-2.5-shapshot gt2-main-2.5-snapshot gt2-metadata-2.5-snapshot gt2-coverage-2.5-snapshot gt2-image-2.5-snapshot and JAI jars (vecmath, jai-core) and units.jar. I use gt2-referencing-2.5-snapshot jar version because project pom.xml file references it. Im finding problems with geoapi version. If I use geoapi-2.0.jar I have compilation problems in WarpGridTransform2D class (It is looking for org.opengis.geometry.DirectPosition, but this class in geoapi2.0 is in org.opengis.spatialschema package). org.geotools.referencing.operation.builder.algorithm.Circle doesnt compile for the same reason. The line "*this(new DirectPosition2D(0, 0), 0);*" use DirectPosition2D, which extends org.opengis.geometry.DirectPosition, but geoapi-2.0 doesnt have this class. If I use geoapi-2.2-snapshot instead geoapi2.0, DirectPosition class is in the package org.opengis.geometry, but then I have more mutch compilation problems. A lot of project's classes have imports to org.opengis.spatialschema.geometry.DirectPosition: MapTriangulationFactory. TINTriangle, etc. *So, the problem is that gsoc-transformation projects has references to org.opengis.spatialschema.geometry.DirectPosition and to org.opengis.geometry.DirectPosition. One class is from geoapi-2.0 and the other is from geoapi-2.2.* How can I solve this problem? Am I doing any mistake? Is there any version of gsoc-transformation project which I could compile? Thanks in advance and best regards! -- Alvaro Zabala Ordóñez Servicio de Informática de la Dirección General para la Función Pública Tlf externo: 955009336 Tlf interno: 309336 correo: alv...@ju... |