Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-496

GridCoverage.forConvertedValues(true) sometime creates an image that can not store NaN values

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • Features
    • None

    Description

      A call to GridCoverage.forConvertedValues(true) is supposed to create a GridCoverage where all sample values have been converted to "geophysics" values (i.e. values in the units of measurement given by SampleDimension.getUnits()). If the values before conversion had some sentinel values used for missing data (e.g. "999 = no data"), then those values shall be converted to NaN values. However in Apache SIS 1.0, the forConvertedValues(true) method sometime fails to recognize that it needs to change the image data type from an integer type to a floating point type in order to be able to store NaN values.

      Attachments

        Activity

          People

            desruisseaux Martin Desruisseaux
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: