Ticket #3207 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Wrong type casting in GDALGrid data metrics functions

Reported by: dron Owned by: dron
Priority: normal Milestone: 1.6.3
Component: GDAL_Raster Version: 1.6.2
Severity: normal Keywords:
Cc:

Description

There is a wrong type casting of poOptions parameter in data metrics computation functions because of blind copy-paste from other gridding functions. Instead of casting to GDALGridDataMetricsOptions there were GDALGridNearestNeighborOptions and GDALGridMovingAverageOptions used.

Change History

Changed 4 years ago by dron

  • status changed from new to closed
  • resolution set to fixed

Fixed in trunk with r17955 and in 1.6 branch with r17956.

Note: See TracTickets for help on using tickets.