All,

I am aware that GeoTools blog announced the end of GeoAPI development in
01/2011 [0]. However, my question relates on having different GeoAPI
versions as project dependency. As GeoTools was highly involved in
GeoAPI development I hope that s/o can give help anyway.

I use an own framework which has implemented its own feature model with
regard to GeoAPI 2.0.0. I have to make coordinate transformation stuff
in another project (using the framework) and want to use GeoTools
(version 2.7.3) for that.

The problem I run into now is the following. Each time I run the
transformation, GeoTools complaints about an incorrect interface:

,------------------

java.lang.AbstractMethodError:
org.geotools.metadata.iso.citation.CitationImpl.getIdentifierTypes()Ljava/util/Collection;

`------------------

Obviously, it depends from which GeoAPI version the classes are loaded
from first. A different dependency ordering results into a similar error
thrown from the other framework I use.

I would like to discuss some possible solutions here (if this is the
right place) how to handle such a situation. Currently I see the
following possibilities:

 a) Checkout GeoAPI 2.0.0, modify package structure and recompile the
own framework with modified GeoAPI (this implies to create a new
artifact and providing it in our own repository)
 b) Downgrade GeoTools to(I believe) version 2.2.0 which is quite old
 c) Update own framework's feature model to comply to GeoAPI version
GeoTools depends on (which implies to stick with a freezed library)
 d) Completley remove the GeoAPI dependency of the own framework to get
rid of GeoAPI which is (in my eyes) not backward compatible.

Although not a nice solution, I tempt to go for version a) but I am
curious to hear other meanings (maybe I am completely wrong here!?). For
now, I see d) as my current long time favorite, but this means a lot of
work for now.

Best

  Henning


[0] http://geotoolsnews.blogspot.com/2011/01/end-of-geoapi-involvement.html

-- 
Henning Bredel
52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
48155 Münster
Fon: +49-(0)-251–396371-34
Fax: +49-(0)-251–396371-11
email: [email protected]
52North-site: http://www.52north.org
General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to