Cursor Location Value for classification off by 1

Issue #815 resolved
Fabian Thiel created an issue

See gif below, class value and pixel value seem to be off by 1

Comments (6)

  1. Fabian Thiel reporter

    qml

    <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
    <qgis hasScaleBasedVisibilityFlag="0" minScale="1e+08" styleCategories="AllStyleCategories" version="3.20.3-Odense" maxScale="0">
      <flags>
        <Identifiable>1</Identifiable>
        <Removable>1</Removable>
        <Searchable>1</Searchable>
        <Private>0</Private>
      </flags>
      <temporal enabled="0" mode="0" fetchMode="0">
        <fixedRange>
          <start></start>
          <end></end>
        </fixedRange>
      </temporal>
      <customproperties>
        <Option type="Map">
          <Option value="Value" name="identify/format" type="QString"/>
        </Option>
      </customproperties>
      <pipe>
        <provider>
          <resampling enabled="false" maxOversampling="2" zoomedInResamplingMethod="nearestNeighbour" zoomedOutResamplingMethod="nearestNeighbour"/>
        </provider>
        <rasterrenderer alphaBand="-1" band="1" nodataColor="" type="paletted" opacity="1">
          <minMaxOrigin>
            <limits>None</limits>
            <extent>WholeRaster</extent>
            <statAccuracy>Estimated</statAccuracy>
            <cumulativeCutLower>0.02</cumulativeCutLower>
            <cumulativeCutUpper>0.98</cumulativeCutUpper>
            <stdDevFactor>2</stdDevFactor>
          </minMaxOrigin>
          <colorPalette>
            <paletteEntry value="1" label="impervious" alpha="255" color="#e60000"/>
            <paletteEntry value="2" label="low vegetation" alpha="255" color="#98e600"/>
            <paletteEntry value="3" label="tree" alpha="255" color="#267300"/>
            <paletteEntry value="4" label="soil" alpha="255" color="#a87000"/>
            <paletteEntry value="5" label="water" alpha="255" color="#0064ff"/>
          </colorPalette>
        </rasterrenderer>
        <brightnesscontrast brightness="0" gamma="1" contrast="0"/>
        <huesaturation colorizeBlue="128" colorizeStrength="100" colorizeOn="0" saturation="0" colorizeRed="255" grayscaleMode="0" colorizeGreen="128"/>
        <rasterresampler maxOversampling="2"/>
        <resamplingStage>resamplingFilter</resamplingStage>
      </pipe>
      <blendMode>0</blendMode>
    </qgis>
    

  2. Log in to comment