Package mil.nga.geopackage.dgiwg
Class DGIWGMetadata
- java.lang.Object
-
- mil.nga.geopackage.dgiwg.DGIWGMetadata
-
public class DGIWGMetadata extends Object
DGIWG (Defence Geospatial Information Working Group) Metadata utilities- Since:
- 6.6.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description DGIWGMetadata()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Metadata
createDatasetMetadata(String uri, String metadata)
Create a new metadata object with a dataset scopestatic MetadataReference
createGeoPackageMetadataReference()
Create a new metadata reference object with a GeoPackage scopestatic Metadata
createMetadata(MetadataScopeType scope, String uri, String metadata)
Create a new metadata objectstatic MetadataReference
createMetadataReference(ReferenceScopeType scope)
Create a new metadata reference objectstatic Metadata
createSeriesMetadata(String uri, String metadata)
Create a new metadata object with a series scopestatic List<MetadataReference>
queryGeoPackageDMFMetadata(GeoPackageCore geoPackage)
Query for GeoPackage DGIWG Metadata Foundation (DMF) metadatastatic List<MetadataReference>
queryGeoPackageMetadata(GeoPackageCore geoPackage, String baseURI)
Query for GeoPackage metadatastatic List<MetadataReference>
queryGeoPackageNASMetadata(GeoPackageCore geoPackage)
Query for GeoPackage NSG Metadata Foundation (NMF) NSG Application Schema (NAS) metadata
-
-
-
Method Detail
-
createSeriesMetadata
public static Metadata createSeriesMetadata(String uri, String metadata)
Create a new metadata object with a series scope- Parameters:
uri
- URImetadata
- metadata- Returns:
- metadata
-
createDatasetMetadata
public static Metadata createDatasetMetadata(String uri, String metadata)
Create a new metadata object with a dataset scope- Parameters:
uri
- URImetadata
- metadata- Returns:
- metadata
-
createMetadata
public static Metadata createMetadata(MetadataScopeType scope, String uri, String metadata)
Create a new metadata object- Parameters:
scope
- metadata scope typeuri
- URImetadata
- 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
- GeoPackagebaseURI
- base URI- Returns:
- metadata references
-
-