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

Go to the source code of this file.

Functions

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

Function Documentation

◆ MtkLatLonToLS()

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

Convert decimal degrees latitude and longitude to line, sample.

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

Definition at line 33 of file MtkLatLonToLS.c.


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