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

# EOS_SW_MAPINFO

This function retrieves the offset and increment of the specified geolocation mapping.

## Examples

In this example, we retrieve information about the mapping between the GeoTrack and DataTrack dimensions:

status = EOS_SW_MAPINFO(swathID, "GeoTrack", "DataTrack", $

offset, increment)

## Syntax

Result = EOS_SW_MAPINFO(swathID, geodim, datadim, offset, increment)

## Return Value

Returns SUCCEED (0) if successful and FAIL (–1) if the specified mapping does not exist.

## Arguments

### swathID

Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.

### geodim

Geolocation dimension name (string).

### datadim

Data dimension name (string).

### offset

A named variable that will contain the mapping offset (long).

### increment

A named variable that will contain the mapping increment (long).

## Keywords

None

## Version History

5.2 | Introduced