Hello Martin, Thanks so much, but today, Why I can't load geotoolkit library to do work . Each the run is very slow . Hao
On Sat, Jul 2, 2016 at 10:59 PM, Martin Desruisseaux < [email protected]> wrote: > Hello Hao and Chinh > > I took the SummaryRecord class that you committed in the VNSCweb > repository and copied it in Hao's clone of SIS (through a pull request), > package org.apache.sis.services.csw. In this process I did the following > changes: > > * I added a package-info.java class with some JAXB annotations, for > example telling that the XML prefix of "http://www.opengis.net/ows" > will be "ows". > * Avoid repetition of JAXB namespace attribute when we can specify it > at the class level. > * Renamed "Element" as "BoundingBox" and fixed a typo in the bounding > box: northBoundLongitude should be northBoundLatitude, and same for > south. > * Started a refactoring of SummaryRecord and BoundingBox as wrappers > around the corresponding ISO 19115 element. > > The idea about the last point is that ISO 19115 is the "universal" > metadata model in Apache SIS, and other models like Dublin Core are > "views" over ISO 19115. So we would like SummaryRecord to take its > information from ISO 19115 metadata, and store its information in ISO > 19115 metadata. > > It is the same process than what you did when you created a mapping > between Landsat and ISO 19115. Now this is a mapping between Dublin Core > and ISO 19115. So ISO 19115 is used as the "pivot" which will allow us > to go, for example, from Landsat to Dublin Core. > > I refactored only the "title" property for now. Other properties will be > refactored later. One difficulty however is that the SummaryRecord has > only one "title" value while ISO 19115 can have (indirectly) many titles > for many resources. In the current version the getTitle() method returns > a concatenation of all title, with one title per line and without > duplicated values. We may revisit this policy later if we need something > better. However I think that in most case, we will have only one title > and consequently no ambiguity. > > Note that CSW can also return directly a ISO 19115 metadata instead than > Dublin Core. We will do that later. > > This is still work in progress and probably not yet usable. This is not > yet targeted as a replacement for SummaryRecord on VNSCweb repository. > > Martin > > >
