|
@@ -1076,7 +1076,7 @@ static void get_null_value_row_gdal(int fd, char *flags, int row)
|
|
|
|
|
|
for (i = 0; i < G__.window.cols; i++)
|
|
for (i = 0; i < G__.window.cols; i++)
|
|
/* note: using == won't work if the null value is NaN */
|
|
/* note: using == won't work if the null value is NaN */
|
|
- flags[i] =
|
|
|
|
|
|
+ flags[i] = !fcb->col_map[i] ||
|
|
memcmp(&tmp_buf[i], &fcb->gdal->null_val, sizeof(DCELL)) == 0;
|
|
memcmp(&tmp_buf[i], &fcb->gdal->null_val, sizeof(DCELL)) == 0;
|
|
|
|
|
|
G_free(tmp_buf);
|
|
G_free(tmp_buf);
|