Opened 13 years ago

Last modified 13 years ago

#36 closed defect

PrintTag (geo_print.c) could produce unreadable results — at Initial Version

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

Description

In some cases listgeo could produce unreadeble ModelPixelScaleTag values.

Format code for sprint (FMT_DOUBLE - "%-17.15g") could use all 17 characters and PrintTag (geo_print.c) procedure don't care about spaces between fields. In result you can get following listgeo output:

ModelPixelScaleTag (1,3):

0.5002263635690950.5002263635690950

instead of

ModelPixelScaleTag (1,3):

0.500226363569095 0.500226363569095 0

Unfortunatelly bad formatting is not detected by geotifcp.

--

Best regards

RNicz

Change History (0)

Note: See TracTickets for help on using tickets.