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

Go to the source code of this file.

Functions

MTKt_status MtkLSToLatLonAry (MTKt_MapInfo mapinfo, int nelement, const float *line, const float *sample, double *lat_dd, double *lon_dd)
 Convert array of line, sample to array of decimal degrees latitude and longitude. More...
 

Function Documentation

◆ MtkLSToLatLonAry()

MTKt_status MtkLSToLatLonAry ( MTKt_MapInfo  mapinfo,
int  nelement,
const float *  line,
const float *  sample,
double *  lat_dd,
double *  lon_dd 
)

Convert array of line, sample to array of decimal degrees latitude and longitude.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert an array of line and sample values to latitude and longitude in decimal degrees.
float line[2] = {1.0, 2.0};
float sample[2] = {1.0, 2.0};
double lat_dd[2];
double lon_dd[2];
status = MtkLSToLatLonAry(mapinfo, 2, line, sample, lat_dd, lon_dd);
Parameters
[in]mapinfoMap info
[in]nelementNumber of elements
[in]lineLine
[in]sampleSample
[out]lat_ddLatitude
[out]lon_ddLongitude

Definition at line 38 of file MtkLSToLatLonAry.c.


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