MISR Toolkit  1.5.1
Functions
MtkLSToLatLon.c File Reference
#include "MisrMapQuery.h"
#include "MisrCoordQuery.h"
#include "MisrError.h"

Go to the source code of this file.

Functions

MTKt_status MtkLSToLatLon (MTKt_MapInfo mapinfo, float line, float sample, double *lat_dd, double *lon_dd)
 Convert line, sample to decimal degrees latitude and longitude. More...
 

Function Documentation

◆ MtkLSToLatLon()

MTKt_status MtkLSToLatLon ( MTKt_MapInfo  mapinfo,
float  line,
float  sample,
double *  lat_dd,
double *  lon_dd 
)

Convert line, sample to decimal degrees latitude and longitude.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert line 1.0 and sample 1.0 to latitude and longitude in decimal degrees.
status = MtkLSToLatLon(mapinfo, 1.0, 1.0, &lat_dd, &lon_dd);
Parameters
[in]mapinfoMap Info
[in]lineLine
[in]sampleSample
[out]lat_ddLatitude
[out]lon_ddLongitude

Definition at line 33 of file MtkLSToLatLon.c.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53