Class DGIWGMetadata


  • public class DGIWGMetadata
    extends Object
    DGIWG (Defence Geospatial Information Working Group) Metadata utilities
    Since:
    6.6.0
    Author:
    osbornb
    • Constructor Detail

      • DGIWGMetadata

        public DGIWGMetadata()
    • Method Detail

      • createSeriesMetadata

        public static Metadata createSeriesMetadata​(String uri,
                                                    String metadata)
        Create a new metadata object with a series scope
        Parameters:
        uri - URI
        metadata - metadata
        Returns:
        metadata
      • createDatasetMetadata

        public static Metadata createDatasetMetadata​(String uri,
                                                     String metadata)
        Create a new metadata object with a dataset scope
        Parameters:
        uri - URI
        metadata - metadata
        Returns:
        metadata
      • createMetadata

        public static Metadata createMetadata​(MetadataScopeType scope,
                                              String uri,
                                              String metadata)
        Create a new metadata object
        Parameters:
        scope - metadata scope type
        uri - URI
        metadata - metadata
        Returns:
        metadata
      • createGeoPackageMetadataReference

        public static MetadataReference createGeoPackageMetadataReference()
        Create a new metadata reference object with a GeoPackage scope
        Returns:
        metadata reference
      • createMetadataReference

        public static MetadataReference createMetadataReference​(ReferenceScopeType scope)
        Create a new metadata reference object
        Parameters:
        scope - metadata reference scope type
        Returns:
        metadata reference
      • queryGeoPackageDMFMetadata

        public static List<MetadataReference> queryGeoPackageDMFMetadata​(GeoPackageCore geoPackage)
        Query for GeoPackage DGIWG Metadata Foundation (DMF) metadata
        Parameters:
        geoPackage - GeoPackage
        Returns:
        metadata references
      • queryGeoPackageNASMetadata

        public static List<MetadataReference> queryGeoPackageNASMetadata​(GeoPackageCore geoPackage)
        Query for GeoPackage NSG Metadata Foundation (NMF) NSG Application Schema (NAS) metadata
        Parameters:
        geoPackage - GeoPackage
        Returns:
        metadata references
      • queryGeoPackageMetadata

        public static List<MetadataReference> queryGeoPackageMetadata​(GeoPackageCore geoPackage,
                                                                      String baseURI)
        Query for GeoPackage metadata
        Parameters:
        geoPackage - GeoPackage
        baseURI - base URI
        Returns:
        metadata references