Hello Siddesh
Le 03/04/2017 à 18:49, Siddhesh Rane a écrit :
> I have submitted revision 2 of my proposal as final submission. There
> wasn't much time to revise it any further.
>
Thanks!
> From sis-console examples page I downloaded wkt, netcdf and csv files.
> Can you recommend me any more datasets which I can play around with to
> understand SIS better?
>
There is also LANDSAT metadata. They can be read by the
sis-earth-observation module. An artificial example is available in the
SIS source code at [1] (documentation at [2]). Real data are available
for free at various place, for example [3].
Another format is GPX, which is an exchange format for GPS data. The
amount of metadata however is lower (basically the author and the
bounding box). An artificial example is in the source code at [4].
> The top level interface can always be used as long as it has methods
> to get relevant data. Abstract classes are useful because they provide
> constructors and setters for creating new data. Sometimes the top
> level interfaces are empty and then it is not any useful without
> reflection, which requires prior knowledge of what you want to
> extract. I'll need to research this further
Just for information, this work using reflection is also available in
SIS like below:
Map<String,Object> map =
MetadataStandard.ISO_19115.asValueMap(theMetadataObject, Metadata.class,
KeyNamePolicy.UML_IDENTIFIER, ValueExistencePolicy.NON_NULL);
The returned map is live: all Map.get("...") operations invoke the
corresponding getter method, and Map.put("...", ...) operations invoke
the corresponding setter method if it exists. There is also an other
similar method returning a TreeTable instead than a Map, so you can
choose what is most convenient.
Martin
[1]
http://svn.apache.org/repos/asf/sis/branches/JDK8/storage/sis-earth-observation/src/test/resources/org/apache/sis/storage/earthobservation/LandsatTest.txt
[2]
http://svn.apache.org/repos/asf/sis/branches/JDK8/storage/sis-earth-observation/src/main/java/org/apache/sis/storage/earthobservation/doc-files/LandsatMetadata.html
[3]
ftp://ftp.glcf.umd.edu/glcf/Landsat/WRS2/p233/r095/L5233095_09519860909.TM-USGS.L1T/L5233095_09519860909_MTL.txt
[4]
http://svn.apache.org/repos/asf/sis/branches/JDK8/storage/sis-xmlstore/src/test/resources/org/apache/sis/internal/storage/gpx/1.1/metadata.xml