Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 1.1.0
    • Component/s: gdal-framework
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      5

      Description

      When calling gdal.open(filename, accesstype), a similar error message may appear
      in case GDAL can't return a dataset for the provided input object:

      "ERROR 4: `c:\mydataformat.frmt' not recognised as a supported file format"

      This actually occurs when calling ImageReaderSpi.canDecodeInput(input) with a
      file which can't be opened with GDAL.

      We would hide all error messages coming from the GDAL library unless some
      environment variable is set.
      We may leverage on the CPL_DEBUG environment variable setting.

        Activity

        Hide
        dany111 added a comment -

        Fixed.
        Now, all GDAL errors are hidden unless the CPL_DEBUG environment variable is set
        to ON

        Show
        dany111 added a comment - Fixed. Now, all GDAL errors are hidden unless the CPL_DEBUG environment variable is set to ON

          People

          • Assignee:
            dany111
            Reporter:
            dany111
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: