GeoTools
  1. GeoTools
  2. GEOT-4640

Add delete support to StructuredGridCoverage2DReader

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11-beta
    • Component/s: coverage
    • Labels:
      None

      Description

      Some readers/stores like the imageMosaic one, deal with a set of ancillary files and create a set of new files as well when configured.
      Right now there is no way to fully purge a store/reader. The user have to manually delete all the granules, the auxiliary files as well as to remove the records from the database/feature store if any (as in the imageMosaic case).
      A delete method will allow to do all these cleanup through a simple method invokation.

      Proposal is here:
      http://docs.codehaus.org/display/GEOTOOLS/Add+delete+support+on+StructuredGridCoverage2DReader

        Issue Links

          Activity

          Hide
          Ian Turton added a comment -
          please can we have a way that cleans up the ancillary files/DB tables but doesn't delete the granules by default - I don't have space to store a backup copy of the imagery but I often want to drop the mosaic in GeoServer
          Show
          Ian Turton added a comment - please can we have a way that cleans up the ancillary files/DB tables but doesn't delete the granules by default - I don't have space to store a backup copy of the imagery but I often want to drop the mosaic in GeoServer
          Hide
          Daniele Romagnoli added a comment - - edited
          Sure... I was thinking about a boolean deleteData parameter to specify whether to delete data too or not... The removeCoverage method indeed will support a new "delete" parameter to specify if the files related to that coverage should be deleted too (this may be possibile in case no other coverages refer to those files).

          Show
          Daniele Romagnoli added a comment - - edited Sure... I was thinking about a boolean deleteData parameter to specify whether to delete data too or not... The removeCoverage method indeed will support a new "delete" parameter to specify if the files related to that coverage should be deleted too (this may be possibile in case no other coverages refer to those files).

            People

            • Assignee:
              Daniele Romagnoli
              Reporter:
              Daniele Romagnoli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: