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

# EOS_SW_INQMAPS

This function retrieves information about all of the (non-indexed) geolocation relations 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

nmaps = EOS_SW_INQMAPS(swathID, dimmap, offset, increment)

## Syntax

Result = EOS_SW_INQMAPS(swathID, dimmap, offset, increment)

## Return Value

Number of geolocation relation entries found. If –1, could signify an improper swath id.

## Arguments

### swathID

Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.

### dimmap

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

### offset

A named variable that will contain an array (long) of the offset of each geolocation relation.

### increment

A named variable that contain an array (long) of the increment of each geolocation relation.

## Keywords

None

## Version History

5.2 | Introduced