Package mil.nga.geopackage.extension.nga
Class NGAExtensions
- java.lang.Object
-
- mil.nga.geopackage.extension.ExtensionManagement
-
- mil.nga.geopackage.extension.nga.NGAExtensions
-
public class NGAExtensions extends ExtensionManagement
NGA Extensions- Since:
- 4.0.0
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXTENSION_AUTHORExtension author-
Fields inherited from class mil.nga.geopackage.extension.ExtensionManagement
geoPackage
-
-
Constructor Summary
Constructors Constructor Description NGAExtensions(GeoPackageCore geoPackage)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyContentsId(String table, String newTable)Copy the Contents Id extensions for the tablevoidcopyFeatureStyle(String table, String newTable)Copy the Feature Style extensions for the table.voidcopyFeatureTileLink(String table, String newTable)Copy the Feature Tile Link extensions for the tablevoidcopyGeometryIndex(String table, String newTable)Copy the Geometry Index extension for the tablevoidcopyTableExtensions(String table, String newTable)Copy all table extensions for the tablevoidcopyTileScaling(String table, String newTable)Copy the Tile Scaling extensions for the tablevoiddeleteContentsId(String table)Delete the Contents Id extensions for the tablevoiddeleteContentsIdExtension()Delete the Contents Id extension including the extension entries and custom tablesvoiddeleteExtensions()Delete all extensions including custom extension tablesvoiddeleteFeatureStyle(String table)Delete the Feature Style extensions for the tablevoiddeleteFeatureStyleExtension()Delete the Feature Style extension including the extension entries and custom tablesvoiddeleteFeatureTileLink(String table)Delete the Feature Tile Link extensions for the tablevoiddeleteFeatureTileLinkExtension()Delete the Feature Tile Link extension including the extension entries and custom tablesvoiddeleteGeometryIndex(String table)Delete the Geometry Index extension for the tablevoiddeleteGeometryIndexExtension()Delete the Geometry Index extension including the extension entries and custom tablesvoiddeleteProperties(String table)Delete the Properties extension if the deleted table is the properties tablevoiddeletePropertiesExtension()Delete the properties extension from the GeoPackagevoiddeleteTableExtensions(String table)Delete all table extensions for the tablevoiddeleteTileScaling(String table)Delete the Tile Scaling extensions for the tablevoiddeleteTileScalingExtension()Delete the Tile Scaling extension including the extension entries and custom tablesStringgetAuthor()Get the extension author-
Methods inherited from class mil.nga.geopackage.extension.ExtensionManagement
getGeoPackage
-
-
-
-
Field Detail
-
EXTENSION_AUTHOR
public static final String EXTENSION_AUTHOR
Extension author- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NGAExtensions
public NGAExtensions(GeoPackageCore geoPackage)
Constructor- Parameters:
geoPackage- GeoPackage
-
-
Method Detail
-
getAuthor
public String getAuthor()
Get the extension author- Specified by:
getAuthorin classExtensionManagement- Returns:
- author
-
deleteTableExtensions
public void deleteTableExtensions(String table)
Delete all table extensions for the table- Specified by:
deleteTableExtensionsin classExtensionManagement- Parameters:
table- table name
-
deleteExtensions
public void deleteExtensions()
Delete all extensions including custom extension tables- Specified by:
deleteExtensionsin classExtensionManagement
-
copyTableExtensions
public void copyTableExtensions(String table, String newTable)
Copy all table extensions for the table- Specified by:
copyTableExtensionsin classExtensionManagement- Parameters:
table- table namenewTable- new table name
-
deleteGeometryIndex
public void deleteGeometryIndex(String table)
Delete the Geometry Index extension for the table- Parameters:
table- table name
-
deleteGeometryIndexExtension
public void deleteGeometryIndexExtension()
Delete the Geometry Index extension including the extension entries and custom tables
-
copyGeometryIndex
public void copyGeometryIndex(String table, String newTable)
Copy the Geometry Index extension for the table- Parameters:
table- table namenewTable- new table name
-
deleteFeatureTileLink
public void deleteFeatureTileLink(String table)
Delete the Feature Tile Link extensions for the table- Parameters:
table- table name
-
deleteFeatureTileLinkExtension
public void deleteFeatureTileLinkExtension()
Delete the Feature Tile Link extension including the extension entries and custom tables
-
copyFeatureTileLink
public void copyFeatureTileLink(String table, String newTable)
Copy the Feature Tile Link extensions for the table- Parameters:
table- table namenewTable- new table name
-
deleteTileScaling
public void deleteTileScaling(String table)
Delete the Tile Scaling extensions for the table- Parameters:
table- table name
-
deleteTileScalingExtension
public void deleteTileScalingExtension()
Delete the Tile Scaling extension including the extension entries and custom tables
-
copyTileScaling
public void copyTileScaling(String table, String newTable)
Copy the Tile Scaling extensions for the table- Parameters:
table- table namenewTable- new table name
-
deleteProperties
public void deleteProperties(String table)
Delete the Properties extension if the deleted table is the properties table- Parameters:
table- table name
-
deletePropertiesExtension
public void deletePropertiesExtension()
Delete the properties extension from the GeoPackage
-
deleteFeatureStyle
public void deleteFeatureStyle(String table)
Delete the Feature Style extensions for the table- Parameters:
table- table name
-
deleteFeatureStyleExtension
public void deleteFeatureStyleExtension()
Delete the Feature Style extension including the extension entries and custom tables
-
copyFeatureStyle
public void copyFeatureStyle(String table, String newTable)
Copy the Feature Style extensions for the table. Relies onExtensionManager.copyRelatedTables(String, String)to be called first.- Parameters:
table- table namenewTable- new table name
-
deleteContentsId
public void deleteContentsId(String table)
Delete the Contents Id extensions for the table- Parameters:
table- table name
-
deleteContentsIdExtension
public void deleteContentsIdExtension()
Delete the Contents Id extension including the extension entries and custom tables
-
-