[geotk] ISO 19115-2 Support

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Wed Mar 23 13:21:25 EDT 2011

Hello Joshua

Le 23/03/11 18:03, Joshua Williams a écrit :
> Does the API support using ISO 19115-2 and 19139-2 ?

Yes it does :)

ISO 19115-2 classes and attributes are integrated with ISO 19115 when 
applicable. For example if you browse the methods defined in the Band interface, 
you will notice that some method have the "specification=ISO_19115" annotation 
while some other methods have the "specification=ISO_19115_2" annotation:


(ISO 19115-2 used a different interface only for historical reason, because they 
were not allowed to modify MD_Band directly).

When marshalling to XML (you can use the 
http://www.geotoolkit.org/apidocs/org/geotoolkit/xml/XML.html convenience 
methods for that), Geotk will determine automatically if he should use the 
"gmd:MD_Band" or "gmi:MI_Band" name based on whatever ISO 19115-2 attributes 
have non-null values or not.



More information about the Geotoolkit mailing list