Class NGAExtensions

    • Constructor Detail

      • NGAExtensions

        public NGAExtensions​(GeoPackageCore geoPackage)
        Constructor
        Parameters:
        geoPackage - GeoPackage
    • Method Detail

      • copyTableExtensions

        public void copyTableExtensions​(String table,
                                        String newTable)
        Copy all table extensions for the table
        Specified by:
        copyTableExtensions in class ExtensionManagement
        Parameters:
        table - table name
        newTable - 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 name
        newTable - 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 name
        newTable - 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 name
        newTable - 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
      • 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
      • copyContentsId

        public void copyContentsId​(String table,
                                   String newTable)
        Copy the Contents Id extensions for the table
        Parameters:
        table - table name
        newTable - new table name