Excellent job, Martin! I like the idea of adding the warning message to the java docs to let developers know pieces are missing or in process.
Cheers, Adam > On Jul 15, 2014, at 6:23 PM, Martin Desruisseaux <[email protected]> > wrote: > > Hello all > > I finished to integrate all patches for upgrading ISO 19115-1:2003 to > 2014. The remaining work is: > > * *Short term:* > o Make a last review on all org.apache.sis.metadata.iso classes > (we missed some updates). > o Add some more tests. > o Update package documentation. > o Merge to trunk (see below). > * *Medium term:* > o Update GeoAPI specification. > o Submit updated GeoAPI interfaces and specification to OGC. > * *Long term:* > o When ISO 19115-3 will be out, update JAXB annotations for the > new XML schema. > > > Since ISO standards are updated once every 10 years (approximatively), > we will hopefully be okay with org.apache.sis.metadata.iso until 2025. > > The merge with the trunk will be a bit tricky, because Apache SIS trunk > implements GeoAPI 3.0.0 interfaces rather than the development branch, > and GeoAPI 3.0.0 does not include the new ISO 19115-1:2014 interfaces. > What I'm considering to do is to reference the Apache SIS class directly > when there is no GeoAPI 3.0.0 interface, and put a warning in the > javadoc. For example in implementation of CoverageDescription: > > /** > * Information on attribute groups of the resource. > * > * WARNING: This methods returns instances of Apache SIS implementation > class DefaultAttributeGroup > * because there is no AttributeGroup interface in GeoAPI 3.0. The return > type may be changed to > * Collection<AttributeGroup> in a future Apache SIS release after next > OGC release of GeoAPI. > */ > Collection<DefaultAttributeGroup> getAttributeGroups() { > return ...; > } > > > Any though? > > Martin >
