|
From: Martin D. <mar...@te...> - 2004-07-14 18:55:41
|
Hello all
I just updated geoapi-SNAPSHOT on iblio. The new GeoAPI JAR file
contains ISO 19115 interfaces, which can be browsed online here:
http://geoapi.sourceforge.net/snapshot/javadoc/index.html
Note that in order to compile Geotools with this new JAR, developper
will also need to do a SVN update.
This API is a realization of ISO 19115
(http://www.opengis.org/docs/01-111.pdf) as straightforward as I can.
There is no interfaces or methods addition compared to ISO 19115.
However, the API will probably change according GeoAPI mailing list
feedback. For example we plan to replace arrays by java.util.Set.
org.opengis.metadata.MetaData and Identification contains all methods
found in org.geotools.metadata.iso19115. Concequently, the later could
be removed. Key differences are:
- org.opengis.metadata has no MetaDataElement interface, because I
didn't found it in ISO 19115. However, we could add it if a
request is send to the GeoAPI mailing list.
- Methods in MetaData and Identification returns the more accurate
type instead of the generic MetaData[Element]. However, most
method names are the same.
This also bring an other issue. There is already an
org.geotools.metadata.MetaData class, which is a different beast than
org.opengis.metadata.MetaData. In the approach I took up to now, all
org.geotools.XXX classes are implementations of org.opengis.XXX
interfaces (i.e. I just replace "opengis" by "geotools" in the fully
qualified name). If we choose to continue that way,
org.geotools.metadata.MetaData should be an implementation of
org.opengis.metadata.MetaData. This means that current
org.geotools.metadata.MetaData should be moved in an other package.
Maybe some org.geotools.metadata subpackage? What do you think?
Martin.
|