Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_SW_INQIDXMAPS

# EOS_SW_INQIDXMAPS

This function retrieves information about all of the indexed geolocation/data mappings defined in swath. The dimension mapping list is returned as a string with each mapping separated by commas. The two dimensions in each mapping are separated by a slash (/).

Note: See STRSPLIT to separate the mapping list.

## Examples

nidxmaps = EOS_SW_INQIDXMAPS(swathID, idxmap, idxsizes)

## Syntax

Result = EOS_SW_INQIDXMAPS(swathID, idxmap, idxsizes)

## Return Value

Number of indexed mapping relations found. If –1, could signify an improper swath id.

## Arguments

### swathID

Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.

### idxmap

A named variable that will contain the indexed Dimension mapping list (string) with entries separated by commas.

### idxsizes

A named variable that will contain an array (long) of the sizes of the corresponding index arrays.

## Keywords

None

## Version History

5.2 | Introduced