MISR Toolkit  1.5.1
Functions
MtkBlsToLatLon.c File Reference
#include "MisrCoordQuery.h"
#include "MisrError.h"
#include "misrproj.h"

Go to the source code of this file.

Functions

MTKt_status MtkBlsToLatLon (int path, int resolution_meters, int block, float line, float sample, double *lat_dd, double *lon_dd)
 Convert from Block, Line, Sample, to Latitude and Longitude in decimal degrees. More...
 

Function Documentation

◆ MtkBlsToLatLon()

MTKt_status MtkBlsToLatLon ( int  path,
int  resolution_meters,
int  block,
float  line,
float  sample,
double *  lat_dd,
double *  lon_dd 
)

Convert from Block, Line, Sample, to Latitude and Longitude in decimal degrees.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert block 22, line 101, sample 22 for path 1 at 1100 meter resolution to latitude and longitude in decimal degrees.
status = MtkBlsToLatLon(1, 1100, 22, 101, 22, &lat_dd, &lon_dd);
Parameters
[in]pathPath
[in]resolution_metersResolution
[in]blockBlock Number
[in]lineLine
[in]sampleSample
[out]lat_ddLatitude Decimal Degrees
[out]lon_ddLongitude Decimal Degrees

Definition at line 33 of file MtkBlsToLatLon.c.


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