Skip to end of metadata
Go to start of metadata

The specification name and description will be used to figure out your java package and package-info.java.

Example "Introduction"

ISO 19115:2003(E)

This International Standard defines the schema required for describing geographic information and services. It provides ... blah blah blah.

This international standard is applicable to:

  • several reasons

This International Standards defines:

  • the things it defines will be represented as interfaces so don't worry about this list

NOTE Certain mandatory metadata elements may not apply to these other forms of data

Based on the "common name" for this specification you will need to set up your package, and provide a package-info.java file.

package-info.java

Notes:

  • choose a package based on the "common name" for your specification
  • Use @XmlSchmea annotations to refer to any published XSD file and specification
  • You need to assign (c) to the OGC

How to Choose a Package Name

How can you know the "common name" for a specification? Usually this is the domain the specification covers (the subject matter) or the use people put the information to. If you have a choice name your package according to use (not always a straight match with specification name)

org.opengis.metadata

  • for metadata specifications
  • both 19115 (spatial data) and 19119 (services) and so on

org.opengis.filter

  • for the filter specification
  • CQL from the catalog specification
  • Query from the wfs specification

org.opengis.filter.expression

  • captures expressions as defined by the filter specification

org.opengis.geometry

  • for the Spatial Schema specifications

org.opengis.style

  • covers "style" as defined by the SLD (Style Layer Descriptor specification)

You may find it easier to name the package after the most significant object defined by the specification.

Labels
  • None