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 String
EXTENSION_AUTHOR
Extension 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 void
copyContentsId(String table, String newTable)
Copy the Contents Id extensions for the tablevoid
copyFeatureStyle(String table, String newTable)
Copy the Feature Style extensions for the table.void
copyFeatureTileLink(String table, String newTable)
Copy the Feature Tile Link extensions for the tablevoid
copyGeometryIndex(String table, String newTable)
Copy the Geometry Index extension for the tablevoid
copyTableExtensions(String table, String newTable)
Copy all table extensions for the tablevoid
copyTileScaling(String table, String newTable)
Copy the Tile Scaling extensions for the tablevoid
deleteContentsId(String table)
Delete the Contents Id extensions for the tablevoid
deleteContentsIdExtension()
Delete the Contents Id extension including the extension entries and custom tablesvoid
deleteExtensions()
Delete all extensions including custom extension tablesvoid
deleteFeatureStyle(String table)
Delete the Feature Style extensions for the tablevoid
deleteFeatureStyleExtension()
Delete the Feature Style extension including the extension entries and custom tablesvoid
deleteFeatureTileLink(String table)
Delete the Feature Tile Link extensions for the tablevoid
deleteFeatureTileLinkExtension()
Delete the Feature Tile Link extension including the extension entries and custom tablesvoid
deleteGeometryIndex(String table)
Delete the Geometry Index extension for the tablevoid
deleteGeometryIndexExtension()
Delete the Geometry Index extension including the extension entries and custom tablesvoid
deleteProperties(String table)
Delete the Properties extension if the deleted table is the properties tablevoid
deletePropertiesExtension()
Delete the properties extension from the GeoPackagevoid
deleteTableExtensions(String table)
Delete all table extensions for the tablevoid
deleteTileScaling(String table)
Delete the Tile Scaling extensions for the tablevoid
deleteTileScalingExtension()
Delete the Tile Scaling extension including the extension entries and custom tablesString
getAuthor()
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:
getAuthor
in classExtensionManagement
- Returns:
- author
-
deleteTableExtensions
public void deleteTableExtensions(String table)
Delete all table extensions for the table- Specified by:
deleteTableExtensions
in classExtensionManagement
- Parameters:
table
- table name
-
deleteExtensions
public void deleteExtensions()
Delete all extensions including custom extension tables- Specified by:
deleteExtensions
in classExtensionManagement
-
copyTableExtensions
public void copyTableExtensions(String table, String newTable)
Copy all table extensions for the table- Specified by:
copyTableExtensions
in 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
-
-