[geotk] ISO 19115-2 support

David Neufeld David.Neufeld at noaa.gov
Mon Dec 14 14:57:46 EST 2009


Hi Martin,

The SpatialMedataTest class has been very helpful in working more with 
SpatialMetadata and instantiating 19115-2 implementations, thanks!

In terms of content, it looks like there may still be some changes 
needed to support the use of the gmi namespace when marshalling these 
classes to XML.  For example, we would expect to see MI_instrument use 
the gmi namespace <gmi:MI_Instrument ...

In looking to add the gmi namespace when constructing the 
MarshallerPool, there is not yet a constant for 'GMI' in Namespaces.

cheers,
Dave




Martin Desruisseaux wrote:
> Hello David
>
> David Neufeld a écrit :
>> SpatialMetadataFormat stream = SpatialMetadataFormat.STREAM;
>> SpatialMetadata spatialMeta = new SpatialMetadata(stream);    
>> Instrument instrument = 
>> spatialMeta.getInstanceForType(Instrument.class);
>> defInstrument = new DefaultInstrument(instrument); 
>> //IllegalArgumentException: No such element: Citations
>
> It should be fixed now, both on the Mercurial repository or from the 
> Maven snapshots repository, at your convenience.
>
>     Best regards,
>
>         Martin
>
> _______________________________________________
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geotoolkit


More information about the Geotoolkit mailing list