59 if (Map_info == NULL) {
78 ¢er.
x, ¢er.
y);
96 map.
som.
ctr.
x = (som_max.
x + som_min.
x) / 2.0;
97 map.
som.
ctr.
y = (som_max.
y + som_min.
y) / 2.0;
#define MTKT_MAPINFO_INIT
#define MTK_ERR_CODE_JUMP(code)
MTKt_status MtkSomXYToLatLon(int path, double som_x, double som_y, double *lat_dd, double *lon_dd)
Convert SOM X, SOM Y to decimal degrees latitude and longitude.
MTKt_status MtkPathToProjParam(int path, int resolution_meters, MTKt_MisrProjParam *pp)
Get projection parameters.
MTKt_status MtkSnapToGrid(int Path, int Resolution, MTKt_Region Region, MTKt_MapInfo *Map_info)
Snap a region to a MISR grid based on path number and resolution.
MTKt_status MtkBlsToSomXY(int path, int resolution_meters, int block, float line, float sample, double *som_x, double *som_y)
Convert from Block, Line, Sample, to SOM Coordinates.
#define MTK_ERR_COND_JUMP(code)
MTKt_status MtkLatLonToSomXY(int path, double lat_dd, double lon_dd, double *som_x, double *som_y)
Convert decimal degrees latitude and longitude to SOM X, SOM Y.