42 int resolution_meters,
56 if (lat_dd == NULL || lon_dd == NULL || block == NULL ||
57 line == NULL || sample == NULL)
63 for (i = 0; i < nelement; i++) {
68 &block[i], &line[i], &sample[i]);
MTKt_status MtkSomXYToBls(int path, int resolution_meters, double som_x, double som_y, int *block, float *line, float *sample)
Convert SOM X, SOM Y to block, line, sample.
#define MTK_ERR_CODE_JUMP(code)
MTKt_status MtkLatLonToBlsAry(int path, int resolution_meters, int nelement, const double *lat_dd, const double *lon_dd, int *block, float *line, float *sample)
Convert array of decimal degrees latitude and longitude to array of block, line, sample.
#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.