Error in OGRFastAtof
The coordinates were not being read correctly in the gml headers of a jpeg2000 file from PLEIADES-DIMAPV2 data sets. 4.83808e+06 was being read as 4. Problem was traced to OGRFastAtof.
*p == '-'
(*p >= '0' && *p <= '9')
(*p == '.')
| Added by Larry Biehl 12/16/2011
(*p == 'e'
| *p == 'E' || *p == 'd' || *p == 'D'))
Looks to me like that a check needs to be include for '.' so that it will be included in the string that goes to atof. I am using 1.7.3 code but also did not find it in the 1.8.1 version of the file.
new → closed