Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5114 closed defect (fixed)

netcdf driver incorrectly calculates geotransform

Reported by: etourigny Owned by: etourigny
Priority: normal Milestone: 1.10.1
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: netcdf, geotransform


In some specific cases the geotransform detection routine in SetProjectionFromVar() fails to detect geotransform because the spacing calculation (begin,middle,last) fails due to a rounding error. Fix is to increase the resolution of the difference checking (from diff*100 to diff*1000).

Change History (4)

comment:1 by etourigny, 11 years ago

actually, fix is to increase resolution from diff*10000 to diff*100000

fixed in trunk (r 26075) and added test (r26074)

comment:2 by etourigny, 11 years ago

Resolution: fixed
Status: newclosed

fixed in 1.10 (r26077)

comment:3 by etourigny, 11 years ago

see related bug #5118

comment:4 by etourigny, 11 years ago

fixed regression in trunk (r26108) and 1.10 (r26110)

Note: See TracTickets for help on using tickets.