GPKGDgiwgValidate
Objective-C
@interface GPKGDgiwgValidate : NSObject
Swift
class GPKGDgiwgValidate : NSObject
Performs DGIWG (Defence Geospatial Information Working Group) GeoPackage validations
-
Is the GeoPackage valid according to the DGIWG GeoPackage Profile
Declaration
Objective-C
+ (BOOL)isValid:(GPKGGeoPackage *)geoPackage;
Swift
class func isValid(_ geoPackage: GPKGGeoPackage!) -> Bool
Parameters
geoPackage
GeoPackage
Return Value
true if valid
-
Validate the GeoPackage against the DGIWG GeoPackage Profile
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *)validate:(GPKGGeoPackage *)geoPackage;
Swift
class func validate(_ geoPackage: GPKGGeoPackage!) -> GPKGDgiwgValidationErrors!
Parameters
geoPackage
GeoPackage
Return Value
validation errors
-
Validate the base GeoPackage against the DGIWG GeoPackage Profile
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *)validateBase:(GPKGGeoPackage *)geoPackage;
Swift
class func validateBase(_ geoPackage: GPKGGeoPackage!) -> GPKGDgiwgValidationErrors!
Parameters
geoPackage
GeoPackage
Return Value
validation errors
-
Validate the GeoPackage table against the DGIWG GeoPackage Profile
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *)validateTable:(NSString *)table inGeoPackage:(GPKGGeoPackage *)geoPackage;
Swift
class func validateTable(_ table: String!, in geoPackage: GPKGGeoPackage!) -> GPKGDgiwgValidationErrors!
Parameters
table
table
geoPackage
GeoPackage
Return Value
validation errors
-
Validate the GeoPackage tables against the DGIWG GeoPackage Profile
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *)validateTables:(NSArray<NSString *> *)tables inGeoPackage:(GPKGGeoPackage *)geoPackage;
Swift
class func validateTables(_ tables: [String]!, in geoPackage: GPKGGeoPackage!) -> GPKGDgiwgValidationErrors!
Parameters
tables
tables
geoPackage
GeoPackage
Return Value
validation errors
-
Validate the GeoPackage metadata
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *)validateMetadata:(GPKGGeoPackage *)geoPackage;
Swift
class func validateMetadata(_ geoPackage: GPKGGeoPackage!) -> GPKGDgiwgValidationErrors!
Parameters
geoPackage
GeoPackage
Return Value
validation errors
-
Validate tile table
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *)validateTileTable:(NSString *)tileTable inGeoPackage:(GPKGGeoPackage *)geoPackage;
Swift
class func validateTileTable(_ tileTable: String!, in geoPackage: GPKGGeoPackage!) -> GPKGDgiwgValidationErrors!
Parameters
tileTable
tile table
geoPackage
GeoPackage
Return Value
validation errors
-
Validate the tile coordinate reference system
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *) validateCRSWithTileTable:(NSString *)tileTable andSRS:(GPKGSpatialReferenceSystem *)srs;
Swift
class func validateCRS(withTileTable tileTable: String!, andSRS srs: GPKGSpatialReferenceSystem!) -> GPKGDgiwgValidationErrors!
Parameters
tileTable
tile table
srs
spatial reference system
Return Value
validation errors
-
Validate feature table
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *)validateFeatureTable:(NSString *)featureTable inGeoPackage: (GPKGGeoPackage *)geoPackage;
Swift
class func validateFeatureTable(_ featureTable: String!, in geoPackage: GPKGGeoPackage!) -> GPKGDgiwgValidationErrors!
Parameters
featureTable
feature table
geoPackage
GeoPackage
Return Value
validation errors
-
Validate the feature coordinate reference system
Declaration
Objective-C
+ (GPKGDgiwgValidationErrors *) validateCRSWithFeatureTable:(NSString *)featureTable andSRS:(GPKGSpatialReferenceSystem *)srs;
Swift
class func validateCRS(withFeatureTable featureTable: String!, andSRS srs: GPKGSpatialReferenceSystem!) -> GPKGDgiwgValidationErrors!
Parameters
featureTable
feature table
srs
spatial reference system
Return Value
validation errors