Opened 11 years ago

Closed 8 years ago

#1984 closed enhancement (worksforme)

i.pca should accept also group names as input (like r.out.gdal)

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 7.0.5
Component: Imagery Version: svn-trunk
Keywords: i.pca, r.out.gdal Cc:
CPU: All Platform: All

Description

When analysing multispectral data, it is common and convenient to use an imagery group as input instead of a list of raster map names.

The r.out.gdal module supports both raster map and group names input, the same approach is desired for i.pca.

Change History (6)

comment:1 by neteler, 11 years ago

Type: defectenhancement

in reply to:  description comment:2 by mmetz, 11 years ago

Replying to neteler:

When analysing multispectral data, it is common and convenient to use an imagery group as input instead of a list of raster map names.

An imagery group as input is accepted as of r56494.

comment:3 by hamish, 11 years ago

Keywords: i.pca r.out.gdal → i.pca, r.out.gdal

in the case of i.pca, do the order of map inputs matter? order within the group may be predictable, but is it guaranteed long-term?

Hamish

ps- AFAIK it's undocumented, but trac parses keywords on commas internally.

in reply to:  3 comment:4 by mmetz, 11 years ago

Replying to hamish:

in the case of i.pca, do the order of map inputs matter? order within the group may be predictable, but is it guaranteed long-term?

The order does not matter for the output maps (PC scores), but does matter for the vectors (loadings), since each loading refers to a specific input band.

comment:5 by martinl, 9 years ago

Milestone: 7.0.07.0.5

comment:6 by martinl, 8 years ago

Resolution: worksforme
Status: newclosed

Seems to be already done

    input   Name of two or more input raster maps or imagery group

Closing, feel free reopen if needed.

Note: See TracTickets for help on using tickets.