Opened 14 years ago

Closed 14 years ago

#28 closed defect (duplicate)

Insufficient precision in listgeo output

Reported by: bledoux Owned by: warmerdam
Priority: normal Milestone:
Component: libgeotiff Version: 1.2.5
Keywords: Cc:

Description

The number of decimals generated by listgeo is limited to 9. In some situations where high precision is needed this can be problematic.

Considering that a double can store up to 16 significant digits, we suggest that the formating of doubles be changed in file geo_print.c :

#define FMT_DOUBLE " %-25.17g "

Change History (1)

comment:1 by warmerdam, 14 years ago

Resolution: duplicate
Status: newclosed

Bruno,

It looks like this was addressed in r1636 on behalf of ticket #13 already about ten months ago. Let me know if that fix does not work adequately. I imagine it is present in the libgeotiff 1.3.0 release.

Note: See TracTickets for help on using tickets.