Package mil.nga.geopackage.dgiwg
Class DGIWGGeoPackageManager
- java.lang.Object
-
- mil.nga.geopackage.dgiwg.DGIWGGeoPackageManager
-
public class DGIWGGeoPackageManager extends Object
DGIWG (Defence Geospatial Information Working Group) GeoPackage Manager used to create and open GeoPackages- Since:
- 6.6.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description DGIWGGeoPackageManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoPackageFile
create(File file, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(File file, String metadata, boolean validate)
Create a GeoPackagestatic GeoPackageFile
create(File file, String uri, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(File file, String uri, String metadata, boolean validate)
Create a GeoPackagestatic GeoPackageFile
create(File directory, GeoPackageFileName fileName, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(File directory, GeoPackageFileName fileName, String metadata, boolean validate)
Create a GeoPackagestatic GeoPackageFile
create(File directory, GeoPackageFileName fileName, String uri, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(File directory, GeoPackageFileName fileName, String uri, String metadata, boolean validate)
Create a GeoPackagestatic GeoPackageFile
create(String name, File directory, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(String name, File directory, String metadata, boolean validate)
Create a GeoPackagestatic GeoPackageFile
create(String name, File directory, String uri, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(String name, File directory, String uri, String metadata, boolean validate)
Create a GeoPackagestatic GeoPackageFile
create(GeoPackageFileName fileName, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(GeoPackageFileName fileName, String metadata, boolean validate)
Create a GeoPackagestatic GeoPackageFile
create(GeoPackageFileName fileName, String uri, String metadata)
Create a GeoPackagestatic GeoPackageFile
create(GeoPackageFileName fileName, String uri, String metadata, boolean validate)
Create a GeoPackagestatic boolean
isValid(DGIWGGeoPackage geoPackage)
Is the GeoPackage valid according to the DGIWG GeoPackage Profilestatic DGIWGGeoPackage
open(File file)
Open a GeoPackagestatic DGIWGGeoPackage
open(File file, boolean validate)
Open a GeoPackagestatic DGIWGGeoPackage
open(String name, File file)
Open a GeoPackagestatic DGIWGGeoPackage
open(String name, File file, boolean validate)
Open a GeoPackagestatic DGIWGGeoPackage
open(String name, GeoPackageFile file)
Open a GeoPackagestatic DGIWGGeoPackage
open(String name, GeoPackageFile file, boolean validate)
Open a GeoPackagestatic DGIWGGeoPackage
open(GeoPackageFile file)
Open a GeoPackagestatic DGIWGGeoPackage
open(GeoPackageFile file, boolean validate)
Open a GeoPackagestatic DGIWGValidationErrors
validate(DGIWGGeoPackage geoPackage)
Validate the GeoPackage against the DGIWG GeoPackage Profile
-
-
-
Method Detail
-
create
public static GeoPackageFile create(File file, String metadata)
Create a GeoPackage- Parameters:
file
- filemetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(File file, String uri, String metadata)
Create a GeoPackage- Parameters:
file
- fileuri
- URImetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(File file, String metadata, boolean validate)
Create a GeoPackage- Parameters:
file
- filemetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
create
public static GeoPackageFile create(File file, String uri, String metadata, boolean validate)
Create a GeoPackage- Parameters:
file
- fileuri
- URImetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
create
public static GeoPackageFile create(String name, File directory, String metadata)
Create a GeoPackage- Parameters:
name
- GeoPackage file namedirectory
- base directorymetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(String name, File directory, String uri, String metadata)
Create a GeoPackage- Parameters:
name
- GeoPackage file namedirectory
- base directoryuri
- URImetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(String name, File directory, String metadata, boolean validate)
Create a GeoPackage- Parameters:
name
- GeoPackage file namedirectory
- base directorymetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
create
public static GeoPackageFile create(String name, File directory, String uri, String metadata, boolean validate)
Create a GeoPackage- Parameters:
name
- GeoPackage file namedirectory
- base directoryuri
- URImetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
create
public static GeoPackageFile create(File directory, GeoPackageFileName fileName, String metadata)
Create a GeoPackage- Parameters:
directory
- base directoryfileName
- DGIWG file namemetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(File directory, GeoPackageFileName fileName, String uri, String metadata)
Create a GeoPackage- Parameters:
directory
- base directoryfileName
- DGIWG file nameuri
- URImetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(File directory, GeoPackageFileName fileName, String metadata, boolean validate)
Create a GeoPackage- Parameters:
directory
- base directoryfileName
- DGIWG file namemetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
create
public static GeoPackageFile create(File directory, GeoPackageFileName fileName, String uri, String metadata, boolean validate)
Create a GeoPackage- Parameters:
directory
- base directoryfileName
- DGIWG file nameuri
- URImetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
create
public static GeoPackageFile create(GeoPackageFileName fileName, String metadata)
Create a GeoPackage- Parameters:
fileName
- DGIWG file namemetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(GeoPackageFileName fileName, String uri, String metadata)
Create a GeoPackage- Parameters:
fileName
- DGIWG file nameuri
- URImetadata
- metadata- Returns:
- created file
-
create
public static GeoPackageFile create(GeoPackageFileName fileName, String metadata, boolean validate)
Create a GeoPackage- Parameters:
fileName
- DGIWG file namemetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
create
public static GeoPackageFile create(GeoPackageFileName fileName, String uri, String metadata, boolean validate)
Create a GeoPackage- Parameters:
fileName
- DGIWG file nameuri
- URImetadata
- metadatavalidate
- validate the file extension and name- Returns:
- created file
-
open
public static DGIWGGeoPackage open(GeoPackageFile file)
Open a GeoPackage- Parameters:
file
- DGIWG file- Returns:
- GeoPackage
-
open
public static DGIWGGeoPackage open(GeoPackageFile file, boolean validate)
Open a GeoPackage- Parameters:
file
- DGIWG filevalidate
- validate the GeoPackage- Returns:
- GeoPackage
-
open
public static DGIWGGeoPackage open(String name, GeoPackageFile file)
Open a GeoPackage- Parameters:
name
- GeoPackage namefile
- DGIWG file- Returns:
- GeoPackage
-
open
public static DGIWGGeoPackage open(String name, GeoPackageFile file, boolean validate)
Open a GeoPackage- Parameters:
name
- GeoPackage namefile
- DGIWG filevalidate
- validate the GeoPackage- Returns:
- GeoPackage
-
open
public static DGIWGGeoPackage open(File file)
Open a GeoPackage- Parameters:
file
- file- Returns:
- GeoPackage
-
open
public static DGIWGGeoPackage open(File file, boolean validate)
Open a GeoPackage- Parameters:
file
- filevalidate
- validate the GeoPackage- Returns:
- GeoPackage
-
open
public static DGIWGGeoPackage open(String name, File file)
Open a GeoPackage- Parameters:
name
- GeoPackage namefile
- GeoPackage file- Returns:
- GeoPackage
-
open
public static DGIWGGeoPackage open(String name, File file, boolean validate)
Open a GeoPackage- Parameters:
name
- GeoPackage namefile
- GeoPackage filevalidate
- validate the GeoPackage, storing any errors- Returns:
- GeoPackage
-
isValid
public static boolean isValid(DGIWGGeoPackage geoPackage)
Is the GeoPackage valid according to the DGIWG GeoPackage Profile- Parameters:
geoPackage
- GeoPackage- Returns:
- true if valid
-
validate
public static DGIWGValidationErrors validate(DGIWGGeoPackage geoPackage)
Validate the GeoPackage against the DGIWG GeoPackage Profile- Parameters:
geoPackage
- GeoPackage- Returns:
- validation errors
-
-