[Qgis-developer] Band order in "Identify Features"

Lucena, Ivan ivan.lucena at pmldnet.com
Thu Mar 5 09:03:10 EST 2009


Hi there,

It looks like a bug to me but I could be wrong since I am not too familiar with QGIS, but the things is that if I load a 
raster dataset with more than 9 bands the "Identify Results" windows shows the pair {Band,Value} in the wrong 
order. I mean, it is in alphabetical order but it doesn't make sense for an usability point of view.

So, for example, a Geotiff with 320 bands will show:

Band1
Band10
Band100
Band101
Band102
Band103
Band104
Band105
Band106
Band107
Band108
Band109
Band11
Band111
Band112
Band113
Band114
Band115
Band116
Band117
Band118
Band119

Instead of Band numeric order:

Band1
Band2
Band3
Band4
Band5
Band6
Band7
Band8
Band9
Band10
Band11
Band12
Band13
Band14
Band15
Band16
Band17
Band18
Band19

it would be even better to present something else other then "BandN" since some datasets could have raster 
attribute table or GDAL band metadata. In that case we could be presenting something like:

{Band, Date, Average Temperature}
Band1  1982-01 22
Band1  1982-02 21
Band1  1982-03 32
Band1  1982-04 32
Band1  1982-05 32
Band1  1982-06 22
Band1  1982-07 22
Band1  1982-08 22
Band1  1982-09 22
Band1  1982-10 22
Band1  1982-11 22
Band1  1982-12 22
Band1  1983-01 22
Band1  1983-02 21
Band1  1983-03 32
Band1  1983-04 32
Band1  1983-05 32
Band1  1983-06 22
Band1  1983-07 22
Band1  1983-08 22
Band1  1983-09 22
Band1  1983-10 22
Band1  1983-11 22
Band1  1983-12 22

Another suggestion: It would be interesting to present this number in graph too.

My best regards,

Ivan





More information about the Qgis-developer mailing list