Main Content

matlab.io.hdfeos.sw.geoMapInfo

Namespace: matlab.io.hdfeos.sw

Type of dimension mapping for named dimension

Syntax

mappingType = geoMapInfo(swathID,dimname)

Description

mappingType = geoMapInfo(swathID,dimname) returns the type of dimension mapping for the named dimension. mappingType is one of these values: 'indexed', 'regular', or 'unmapped'.

This routine corresponds to the SWgeomapinfo function in the HDF-EOS library C API.

Examples

import matlab.io.hdfeos.*
swfid = sw.open('swath.hdf');
swathID = sw.attach(swfid,'Example Swath');
maptype = sw.geoMapInfo(swathID,'GeoTrack');
sw.detach(swathID);
sw.close(swfid);

See Also