Opened 14 years ago
Last modified 14 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
Note:
See TracTickets
for help on using tickets.