Package mapping Change Requests | OGC

OGC 09-083r3 for ResponsibleParty rp : citation.getCitedResponsibleParties { if rp.getRole == Role.AUTHOR { String author = rp.getIndividualName; System.out.printlnauthor; } } The remainder of the metadata packages work in similar ways, where client code must disaggregate an instance to obtain the elements needed.

9.3 Departures from standard

The major departure in the GeoAPI metadata packages from the published ISO 191115 standard come from GeoAPI following the ISO 19111 standard and replacing the MD_CRS type from ISO 19115 with the types in ISO 19111. The types from ISO 19111 duplicate the classes present in the metadata specification but with richer, more complete semantics. GeoAPI does not implement the following classes but substitutes a suitable replacement from the referencing packages. Table 8: Mapping of types from the reference system information package ISO 19115 type GeoAPI replacement MD_ReferenceSystem org.opengis.referencing.ReferenceSystem MD_CRS org.opengis.referencing.crs.CoordinateReferenceSystem MD_EllipsoidParameters org.opengis.referencing.datum.Ellipsoid MD_ProjectionParameters org.opengis.parameter.ParameterValueGroup MD_ObliqueLineAzimuth org.opengis.parameter.ParameterValue MD_ObliqueLinePoint org.opengis.parameter.ParameterValue Note however, that the parameter package of GeoAPI and ISO 19111 is more generic than the explicit types defined in ISO 19115, handling referencing constructs in a map like structure rather than as individual, named data types. Another departure is in the way GeoAPI metadata package added the types and methods defined in the specification ISO 19115-2 Geographic Information – Metadata – Part 2: Extensions for imagery and gridded data. The latter was forced to create a number of types to hold elements which naturally could occur directly in the types defined by ISO 19115. We integrated such types directly into the existing types rather than adding complexity to the API which exists by historical accident. Copyright © 2009-2011 Open Geospatial Consortium. 17 OGC 09-083r3 18 Copyright © 2009-2011 Open Geospatial Consortium.

9.4 Future work

Future revisions of these packages may add factory interfaces through which these types could be instantiated. However, the actual design for such a factory system has not yet been agreed upon by the contributors to GeoAPI.